# /etc/nslcd.conf
# nslcd configuration file. See nslcd.conf(5)
# for details.

# The user and group nslcd should run as.
uid nslcd
gid nslcd

# The location at which the LDAP server(s) should be reachable.
uri ldap://ldap.example.com

filter passwd (objectClass=testuser)
filter shadow (objectClass=testuser)

# The search base that will be used for all queries.
base ou=groups,dc=example,dc=com
base ou=groups,dc=example,dc=com


# The LDAP protocol version to use.
ldap_version 3

# The DN to bind with for normal lookups.
binddn cn=nslcd,ou=ldapclient1,ou=machines,dc=example,dc=com
bindpw 123
