OpenLDAP Faq-O-Matic : OpenLDAP Software FAQ : Configuration : SLAPD Configuration : Backends : 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: | The LDAP backend (How do I setup/configure back-ldap?) |
Next: | The SQL backend (How do I setup/configure back-sql?) |
|