Menu

#14 Advanced Mode Failed

fixed
None
5
2013-06-11
2001-05-19
Anonymous
No

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

Discussion

  • Marc Delisle

    Marc Delisle - 2001-05-21

    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?

     
  • Marc Delisle

    Marc Delisle - 2001-05-21

    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?

     
  • Marc Delisle

    Marc Delisle - 2001-05-22
    • assigned_to: nobody --> lem9
     
  • Nobody/Anonymous

    Logged In: NO

    yes it is my case

    Zappy

     
  • Loïc Chapeaux

    Loïc Chapeaux - 2001-05-23

    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

     
  • Marc Delisle

    Marc Delisle - 2001-05-23
    • assigned_to: lem9 --> loic1
     
  • Marc Delisle

    Marc Delisle - 2001-05-23

    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...

     
  • Loïc Chapeaux

    Loïc Chapeaux - 2001-05-24

    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

     
  • Loïc Chapeaux

    Loïc Chapeaux - 2001-05-24
    • status: open --> closed-fixed
     
  • Nobody/Anonymous

    Logged In: NO

    ok i will give it a try and let you know

    ZapZap

     
  • Marc Delisle

    Marc Delisle - 2001-05-24
    • status: closed-fixed --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2001-05-24

    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

     
  • Nobody/Anonymous

    Logged In: NO

    hi,

    logout not working with register_globals=Off too

    continue my test

    zappy

     
  • Loïc Chapeaux

    Loïc Chapeaux - 2001-05-24

    Logged In: YES
    user_id=144058

    Fixed in in both the CVS trees... Hope that's the end of
    this bug ;)

    Regards,
    Loc

     
  • Loïc Chapeaux

    Loïc Chapeaux - 2001-05-24
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed