Date: Sun, 28 Nov 2004 13:37:39 -0600 (CST) From: klr@6s-gaming.com To: freebsd-questions@freebsd.org Subject: RE: Cyrus-SASL2-2.1.20 & MySQL crypt'ed passwords Message-ID: <56723.81.84.175.77.1101670659.squirrel@81.84.175.77> In-Reply-To: <NFBBLGFLILLAIOCNOBICKEBNENAA.marcel@de.reuver.org> References: <56240.81.84.175.77.1101652480.squirrel@81.84.175.77> <NFBBLGFLILLAIOCNOBICKEBNENAA.marcel@de.reuver.org>
next in thread | previous in thread | raw e-mail | index | archive | help
It is accessing the database properly. SASL isn't even trying to check vs an encrypted password, if I feed it (at the SMTP auth) with the encrypted password I find at the database, it will accept it (like if it was a plaintext-password) >> >> That is exactly my smtpd.conf , I don't understand why it doesn't work >> :/ >> >> The password_format directive was incorporated on 2.1.20 ? >> >> >> >> > ---- smtpd.conf -------------------- >> > pwcheck_method: auxprop >> > mech_list: PLAIN LOGIN >> > auxprop_plugin: sql >> > srp_mda: md5 >> > password_format: crypt >> > sql_engine: mysql >> > sql_hostnames: localhost >> > sql_database: postfix >> > sql_user: XXXXXXXXX >> > sql_passwd: XXXXXXXXX >> > sql_verbose: yes >> > sql_select: SELECT password FROM mailbox WHERE username = '%u@%r' >> > ------------------------------------- >> > > In this setup Sasl expects the passwords MD5 encrypted, not standaard UNIX > crypt. Restart MySQL with the parameter --log and see what activity is > logged. > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56723.81.84.175.77.1101670659.squirrel>