Peter Eisentraut wrote:

Am Freitag, 30. September 2005 10:24 schrieb Repasi Tibor:
While loging in to egroupware from a client with IPv6 address login.php
is trying to insert the client address to phpgw_sessions table in the DB.
The field for client ip address is a character varying(32) which is too
small for an IPv6 address. Due to this, login.php is failing to create a
user session and eGroupWare will stop with a Database error.

Can you try to alter the type of the field to something larger and try again? I just want to make sure that there aren't any other problems preventing IPv6 support.

Yes. I've done it. Changing phpgw_sessions(session_ip) and phpgw_access_log(ip) both to varchar(40) will solve the problem so long. However, I don't know where else ip addresses are stored in the db and if there are any other too small ip fields similar problems can appear while using a affected module. We are on testing egroupware for our purposes, I'll report any other problems and changes according to IPv6 support.

Also the fields for storing client ip addresses in phpgw_access_log and phpgw_sessions are of different types!

--
Best Regards / Mit freundlichen Grüssen / Üdvözlettel

Tibor Repasi, M. Sc.
assistant lecturer

Department of Information Technology, University of Miskolc
H-3515 Miskolc-Egyetemvaros, Hungary

E-mail: <[EMAIL PROTECTED]> Internet: http://www.iit.uni-miskolc.hu
Voice: +36 46 565111 / 2108  Fax: +36 46 565136




Reply via email to