hi ,
i run Mysql 3.23.38
Apache 1.3.19
php 4.0.5
When :
$cfgServers[1]['adv_auth'] = false;
$cfgServers[1]['user'] = 'root';
$cfgServers[1]['password'] = 'pass';
everything works very well
When :
$cfgServers[1]['adv_auth'] = true;
$cfgServers[1]['stduser'] = 'root';
$cfgServers[1]['stdpass'] = 'pass';
i have a prompt for username / password
i enter :
login: root
pass : pass
and it doesn't work
i can connect with command line to the sql server with
the same login/pass
the Officiel release work well
Best regards
Zappy
Logged In: YES
user_id=210714
Advanced authentication works here, in version 2.2.0pre3.
However I run older versions of:
Apache 1.3.17
PHP 4.0.4
MySQL 3.23.32
I have to upgrade things here anyway, and will come back
with the results.
Are you using Basic authentication somewhere else on the
same Apache server?
Logged In: YES
user_id=210714
There is a case where adv. authentication fail: if in
php.ini, register_globals = Off.
Is this your case?
Logged In: NO
yes it is my case
Zappy
Logged In: YES
user_id=144058
Hi All!
OK, the problem is easy to fix: some more variables to grab
from $HTTP_*_VARS arrays if register_globals is set to off.
I'll do it tonight or tomorrow if Marc is OK (affect me the
bug in this case).
Loc
Logged In: YES
user_id=210714
Ok Loic1, I affected you the bug :)
The variables are in $HTTP_SERVER_VARS['PHP_AUTH_USER']
and PHP_AUTH_PW.
I wonder in which cases $REMOTE_USER and $REMOTE_PASSWORD
are set...
Logged In: YES
user_id=144058
This bug should be fixed in both the CVS trees.
Reopen it if it's not the case.
Loc
Logged In: NO
ok i will give it a try and let you know
ZapZap
Logged In: YES
user_id=210714
Still a problem: the Logout function does not work (at least
here in my tests) when register_globals=On
Logged In: NO
hi,
logout not working with register_globals=Off too
continue my test
zappy
Logged In: YES
user_id=144058
Fixed in in both the CVS trees... Hope that's the end of
this bug ;)
Regards,
Loc