Wednesday, December 16, 2009

LDAP on CentOS 5.x - Sheesh!

I've been beating my head against LDAP for the better part of a week, just getting it going under CentOS has been, well, quite the trick.

So, everyone starts with follow this guide, or that guide, follow the openldap guide..

If you've done all that and you still can't get a user account to log in, then you might need to look at the following things, which are nuggets only gleaned from much back and forth on the CentOS mailing list:

1) /etc/ldap.conf

nss_base_passwd dc=my-domain,dc=com?one
nss_base_shadow dc=mydomain,dc=com?one
nss_base_group dc=mydomain,dc=com?one
ssl no

I'll post some more ldap twickuhwy later.

Peter