I need to get ldap working. So, I’m attempting it again.
My first issue is that there was no ldap in /etc/group. I added one, since ldap in /etc/passwd was in group 55. Therefore, I created ldap group with gid 55.
Problem: When I try to start, I get this error in the log:
Mar 2 09:30:03 host slapd[23208]: sql_select option missing Mar 2 09:30:03 host slapd[23208]: auxpropfunc error no mechanism available Mar 2 09:30:03 host ldap: slapd startup succeeded
But it’s not really running.
Apparently, this problem is due to the Berkeley DB that is shipped from Redhat. To fix, I should compile and install my own BerkeleyDB. Or, I should use the db that Redhat recommends, which is ldbm. I don’t expect a very large load on this ldap server, so I’ll go with ldbm for now.
It is interesting that even after the change, I still get the error messages shown above. But, slapd is running.
Note: slapd -d -1 is good for debugging