ansible/roles/ldap-client/templates/nslcd.conf.j2

36 lines
786 B
Django/Jinja

# /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 {{ nslcd_uri }}
# The search base that will be used for all queries.
base {{ nslcd_base }}
# The LDAP protocol version to use.
#ldap_version 3
# The DN to bind with for normal lookups.
binddn {{ nslcd_binddn }}
bindpw {{ nslcd_bindpw }}
# The DN used for password modifications by root.
#rootpwmoddn cn=admin,dc=example,dc=com
# The search scope.
scope one
# Customize certain database lookups.
base group {{ nslcd_base_group }}
base passwd {{ nslcd_base_passwd }}
base shadow {{ nslcd_base_shadow }}
# SSL options
tls_reqcert demand
tls_cacertfile /etc/ssl/ldap.crt