[plug] Strange LDAP issues
Timothy White
weirdit at gmail.com
Sun May 29 22:37:27 WST 2005
At the recent Workshop I managed to get LDAP partially working with
lots of help from kind people.
Unfortunately it's still doing something weird. As I'm not 100% sure
of what logging setting I should set slapd at to get useful
information I'm not going to try and debug slapd as I know it /should/
do recursive searches so I should have no problems.
I currently only have 1 user in LDAP (uid=dwhite,ou=People,dc=white,dc=lan)
$ldapsearch -x -D "uid=dwhite,ou=People,dc=white,dc=lan" -W
Enter LDAP Password:
....
Works fine.
But PAM/NSS and any other program using PAM auth fails to auth with
the ldap server. [1]
Any ideas would be welcomed.
Thanks
Tim
[1] /var/log/syslog extracts
May 29 22:09:47 camiroi sudo: pam_ldap: error trying to bind (Invalid
credentials)
May 29 22:11:06 camiroi dovecot-auth: pam_ldap: error trying to bind
(Invalid credentials)
May 29 22:11:08 camiroi imap-login: Aborted login [127.0.0.1]
May 29 22:17:01 camiroi CRON[17553]: pam_ldap: error trying to bind
(Invalid credentials)
May 29 22:19:01 camiroi cron[7162]: nss_ldap: reconnecting to LDAP server...
May 29 22:19:01 camiroi cron[7162]: nss_ldap: reconnected to LDAP
server after 1 attempt(s)
May 29 22:19:01 camiroi cron[7162]: Error: bad username; while reading
/etc/cron.d/amavis-stats
More information about the plug
mailing list