Package: libpam-mysql Version: 0.6.2-1 Severity: important Tags: patch The module from this package doesn't support the 'crypt=3' parameter in configuration files, when I try to authenticate from saslauthd, the following errors appears in auth.log:
Jun 12 12:53:47 ubuntu saslauthd[6028]: pam_mysql - non-crypt()ish MD5 hash is not supported in this build. Jun 12 12:53:47 ubuntu saslauthd[6028]: DEBUG: auth_pam: pam_authenticate failed: Permission denied Jun 12 12:53:47 ubuntu saslauthd[6028]: do_auth : auth failure: [user=postmaster] [service=imap] [realm=] [mech=pam] [reason=PAM auth error] Here follows an example for /etc/pam.d/imap file: auth sufficient pam_mysql.so user=mail passwd=password host=localhost db=mail table=user usercolumn=mbox passwdcolumn=pass_md5 crypt=3 sqlLog=0 account required pam_mysql.so user=mail passwd=password host=localhost db=mail table=user usercolumn=mbox passwdcolumn=pass_md5 crypt=3 sqlLog=0 Tested patch: 1) modify line 51 in debian/rules to be like ./configure --prefix=/usr --with-openssl 2) modify line 109 in Makefile.in to be like DEFS = @DEFS@ -I. -I$(srcdir) -I. -DHAVE_OPENSSL 3) modify line 6 in debian/control to be like Build-Depends: libpam0g-dev, libmysqlclient15-dev, libssl-dev, debhelper (>= 4.0.0) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

