(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Configuration : (Category) SLAPD Configuration : (Category) Backends : (Answer) The passwd backend (How do I setup/configure back-passwd?)
It's not obvious from the slapd.conf man pages, but if you are trying the passwd backend to OpenLDAP, and assuming that you have a valid /etc/passwd file, this syntax should work in slapd.conf:
 database        passwd
 suffix          "dc=example,dc=com"
this returns all the entries in the passwd file using the following search:
 ldapsearch -b 'dc=example,dc=com' '(objectclass=*)'

[Append to This Answer]
Previous: (Answer) The LDAP backend (How do I setup/configure back-ldap?)
Next: (Category) The SQL backend (How do I setup/configure back-sql?)
This document is: http://www.openldap.org/faq/index.cgi?file=150
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org