Previous Next Table of Contents

6. Troubleshooting and Frequently Asked Questions

I configured my slapd.conf and started slapd, but I get 'partial results and referral' errors when using ldapsearch. Whats wrong?

A: When using the ldap client tools (or any ldap tool) you need to specify your 'suffix' or basedn. This is done with the UofM clients with the '-b' flag. Make sure the suffix you use is the same one you configured in your /etc/slapd.conf file.

6.1 How can I get LDAP status information from an OpenLDAP/UofM server?

A: You can do a base search with a DN of 'cn=monitor' to get status information from a UofM derived server. 'cn=config' will provide you with the backend type and the base DN of the server.

ldapsearch -s base -b'cn=monitor' 'objectclass=*'

6.2 When using pam_ldap with /usr/bin/passwd it just segfaults!

A: There is a 'bug' (or feature, depending on who you ask) whereas passwd depends on pwdb to resolve some common unix system calls such as getpwuid and getpwnam. When using a naming service the pwdb is not aware of the result is less than desireable. There is a fixed RPM available at ftp://ftp.rage.net/pub/LDAP/passwd-0.50-12.i386.rpm


Previous Next Table of Contents