On Fri, 5 Dec 2003, Thomas Smith wrote: > I've followed this guide to a tee and things aren't working like I > thought they would. To sum it up, I figured that using this guide would > allow me to replace /etc/passwd and associated files and authenticate > against the LDAP directory (via pam_ldap and nss_ldap). [snip] > When I create a user in the LDAP directory (one that's not listed in > /etc/passwd), I'm not able to authenticate this user.
Offhand, I'd guess it's because you have this line: > auth sufficient /lib/security/pam_ldap.so use_first_pass before this line: > auth sufficient /lib/security/pam_unix.so likeauth nullok nodelay You're trying to reuse a password that hasn't yet been entered. Don't try to take an easy way. Put everything in the correct order. And make sure your requireds and sufficients are all correct. -- CAUTION: Product will be hot after heating -- [EMAIL PROTECTED] mailing list
