Authentication Problem

Discussion in 'Installation' started by top, Jan 8, 2004.

  1. top

    top Guest

    I can login as admin and everything works fine...
    I can add members & products and the .htgroup & .htpasswd are updated in the data dir.

    BUT when I try to login to the members dir I get tossed to the bad login page for my site and get the following message in the server log:

    [error] [client 209.179.232.253] user Top: authentication failure for "/members": password mismatch
    [Thu Jan 8 07:44:43 2004]

    I checked the .htpasswd file and the UN & PW are correct.

    I am trying to run AM Free 1.8

    Thanks for any help you can give...
  2. top

    top Guest

    PS...
    I can login to the member.php without a problem using the same UN & PW

    Thanks
    Top
  3. alex-adm

    alex-adm Guest

    I guess you are using plain-text .htpasswd file for Unix hosting? It won't work - passwords must be encrypted.

    It can be switched in config_plugins.inc.php
  4. top

    top Guest

    Hi alex,
    Yes it is plain text-Unix... :blink:
    DO I change the 1 to a 0 in the following section in config_plugins.inc.php....

    ############## protect/htpasswd ##############
    $pc = array();
    $pc['use_plain_text'] = 1;
    $plugin_config['protect']['htpasswd'] = $pc;
  5. top

    top Guest

    ps...
    the PWs are not encrypted in the MySql database????

    Top
  6. alex-adm

    alex-adm Guest

    yes.
    it is necessary to build different password hashes (.htpasswd requires crypt(), vBulletin integration requies md5() and so on)
  7. top

    top Guest

    Thanks Alex,
    changing the 1 to a 0 (zero) did the trick...

    Top :)

Share This Page