I'm trying to get authentication to work without PAM and just use the standard shadow and passwd files. auth default { userdb passwd { } passdb shadow { } } This seems to be valid code to use /etc/passwd and /etc/shadow. My linux distro is using Salted MD5. Though Dovecot keeps telling me that authentication failed. It doesn't give me any error messages regarding the config. Any ideas? -- Steve King Senior Linux Engineer - Advance Internet, Inc. Cisco Certified Network Associate CompTIA Linux+ Certified Professional CompTIA A+ Certified Professional
Turning on auth debugging May 10 18:09:22 auth(default): Info: shadow(mjb,69.2.98.5): lookup May 10 18:09:22 auth(default): Info: shadow(mjb,69.2.98.5): unknown user These messages suggest that the auth mechanisms can't find the user. Though the user clearly exists in both /etc/passwd and /etc/shadow. On 5/10/11 6:07 PM, Steven King wrote:> I'm trying to get authentication to work without PAM and just use the > standard shadow and passwd files. > > auth default { > > userdb passwd { > } > > passdb shadow { > } > > } > > This seems to be valid code to use /etc/passwd and /etc/shadow. > > My linux distro is using Salted MD5. Though Dovecot keeps telling me > that authentication failed. It doesn't give me any error messages > regarding the config. > > Any ideas? >-- Steve King Senior Linux Engineer - Advance Internet, Inc. Cisco Certified Network Associate CompTIA Linux+ Certified Professional CompTIA A+ Certified Professional
On 11.5.2011, at 1.07, Steven King wrote:> I'm trying to get authentication to work without PAM and just use the standard shadow and passwd files. > > auth default { > > userdb passwd { > } > > passdb shadow { > } > > }That's not dovecot -n output.> This seems to be valid code to use /etc/passwd and /etc/shadow.Maybe..> My linux distro is using Salted MD5. Though Dovecot keeps telling me that authentication failed. It doesn't give me any error messages regarding the config.Set auth_debug_passwords=yes. And show the exact log messages. And exact dovecot -n output.