# /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 {{ r_connector_nslcd_ldap_uri }}

# The search base that will be used for all queries.
base {{ r_connector_nslcd_ldap_base }}

# The LDAP protocol version to use.
ldap_version 3
tls_cacertdir /etc/ssl/certs
tls_cacertfile {{ r_connector_nslcd_cafile }}

# The DN to bind with for normal lookups.
#binddn cn=annonymous,dc=example,dc=net
#bindpw secret

# The DN used for password modifications by root.
#rootpwmoddn cn=admin,dc=example,dc=com

# SSL options
ssl {{ r_connector_ssl }}
tls_reqcert {{ r_connector_tls_reqcert }}

# The search scope.
#scope sub

bind_timelimit 120