labsync/packer/ansible/roles/auth/templates/nslcd.conf.j2

28 lines
686 B
Django/Jinja
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# The user and group nslcd should run as.
uid nslcd
gid nslcd
# The location at which the LDAP server(s) should be reachable.
uri {{ auth.ldap.protocol }}://{{ auth.ldap.server }}/
# The search base that will be used for all queries.
base {{ auth.ldap.base }}
# The LDAP protocol version to use.
#ldap_version 3
# 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 start_tls
#tls_reqcert never
# TODO: replace with system bundle for Lets encrypt usage
tls_cacertfile /etc/ssl/certs/ldapca.pem
# The search scope.
#scope sub