From: <om...@es...> - 2006-12-29 11:40:01
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Oscar Manuel G=F3mez Senovilla escribi=F3: > Paco Orozco <pak...@gm...> escribi=F3:=20 >> Hiya, >> >> I've copied the three modified files from SVN to my 1.2.105 egw. >> Now I've got the same error than last Adi Kriegisch (see below). >> On my logs I'm seeing a session error, I think this session handler >> error is associate with SQL error, because soinfolog::search is unable >> to obtain info_owner value >=20 >=20 > I think there's a serious bug in keeping (at least) the domain. I saw t= his > and reported long time ago, but it seems that a multidomain installatio= n > triggers the error better than a one-domain installation (though I didn= 't > test this in a one-domain and 1.2 recently). In my current test, being > logged in not with the default domain, I enter the url > (http://..../icalsrv.php/default.ics), I'm prompted for user and passwo= rd > (which SHOULDN'T happen, since I'm logged in) and entering user (not > user@domain) and password, I get the sql error and when I go back to th= e > previous screen, I find I've been taken to another domain (I think beca= use > the default domain is searched instead), possibly even logging out, > depending on if the user exists on both domains. It's the second time I > reply because of this ;) I think I've found the solution for this, as a side effect of the work in news_admin. In icalsrv.php, about line 138, I've replaced $domain =3D $GLOBALS['egw_info']['server']['default_domain']; with $domain =3D $GLOBALS['egw_info']['user']['domain']; and I can relocate the user in the started session back and forth. Please review this. If you want me to commit this change, let me know. Regards. - -- |----------------------------------------------------------------------| | http://counter.li.org info: Linux user: 92390 - Linux machine: 39301 | | Oscar Manuel G=F3mez Senovilla - omgsATescomposlinux.org = | | GPG Key at http://pgp.escomposlinux.org | |----------------------------------------------------------------------| -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFlP59Qpr3kykd/aQRAvaoAJ0YP+tg5Loild6fVjA+SLRKtyu0dACfRTzU X3SQ7mXso/vkYRMZI2/juqI=3D =3DZDPg -----END PGP SIGNATURE----- |