Menu

pam_mysql + {CRYPT} doesn't work

Nomad
2007-07-02
2013-04-17
  • Nomad

    Nomad - 2007-07-02

    Hi.

    I am having trouble with pam_mysql on Debian Etch. Everything works until I change passwd via courierpassd - then there is something like {CRYPT}CRYPTED_PASSWD in crypt field in mysql db and pam_mysql stops working :/ Without {CRYPT} prefix works ok. What to do ?

    I have following in pam file:

    auth    required        pam_mysql.so user=vmail passwd=XXX db=vmail table=users usercolumn=id passwdcolumn=crypt crypt=1 verbose=0
    account required        pam_mysql.so user=vmail passwd=XXX db=vmail table=users usercolumn=id passwdcolumn=crypt crypt=1 verbose=0

    Thanks a lot,

    Michal

     
    • lee connell

      lee connell - 2007-10-24

      You might want to look into courierpasswd and any forums available for that.

       

Log in to post a comment.