ansible-role-ldap-client-co.../templates/nslcd.conf.j2

37 lines
817 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 {{ ldap_uri }}
# The search base that will be used for all queries.
base {{ ldap_base_dn }}
# The LDAP protocol version to use.
ldap_version 3
tls_cacertdir {{ ldap_tls_deb_cacert_dir }}
tls_cacertfile {{ ldap_tls_deb_cacert }}
{% if nslcd_authenticated_bind %}
# The DN to bind with for normal lookups.
binddn {{ nslcd_binddn }}
bindpw {{ nslcd_bindpw }}
{% endif %}
# The DN used for password modifications by root.
#rootpwmoddn cn=admin,dc=example,dc=com
# SSL options
ssl {{ nslcd_ssl }}
tls_reqcert {{ nslcd_tls_reqcert }}
# The search scope.
#scope {{ nslcd_search_scope }}
bind_timelimit 120