So after reading an LDAP book by oreilly, and playing with several test computers, here's where I'm at.
I cannot get nss_ldap to work!
Running
only returns results from /etc/passwd, and nothing from my running LDAP server.
I have migrated all my user/group accounts into the running ldap server using the Migration tools from PADL.com.
The slapd process is running fine.
I can see everything with an
Code:
ldapsearch -x "(objectClass=posixAccount)"
My /etc/openldap/ldap.conf file is setup correctly (used by ldapsearch).
My /etc/ldap.conf file is also setup correctly (per the book, and about 20 online tutorials).
shows all of my directory's contents.
My /etc/nsswitch.conf file has the following entries:
passwd: ldap compat
group: ldap compat
I know it's not querying ldap because:
1. I added a new user into the ldap directory and it's not showing.
2. I modified an existing user's home directory in LDAP, and it's showing old value (from /etc/passwd).
3. When I remove the 'compat' entry from nsswitch.conf, I get absolutely no output from:
Any ideas??? I'm open to just about anything at this point. If you want to see the config files, just let me know.
Thanks in advance.
PS: I compiled all the software on this same computer (no errors), created the slackpacks, which I then installed, on the computer. This includes:
OpenLDAP
nss_ldap