[Nottingham] samba/pam
Simon Amor
simon at leaky.org
Sat Jan 1 20:35:45 GMT 2005
On 1 Jan 2005, at 19:56, Mike Cardwell wrote:
>
> session required pam_mysql.so user=USERNAME passwd=PASSWORD
> host=LOCALHOST
> db=DATABASE usercolumn=user_id crypt=2 passwdcolumn=password table=user
>
> The password column in the database holds passwords that were
> encrypted using the MySQL PASSWORD() function.
Are you sure that the passwords in MySQL from PASSWORD() are the same
format as those generated by pam_mysql with crypt=2 set? It looks to me
like it's simply the passwords compared are different.
Simon
More information about the Nottingham
mailing list