Add parameters to the r_connector nslcd template so that we can choose the tls connection type

This commit is contained in:
Andrea Dell'Amico 2018-03-03 20:24:03 +01:00
parent 11466ea877
commit 10bcd7ca65
2 changed files with 5 additions and 2 deletions

View File

@ -28,3 +28,6 @@ r_connector_ldap_map_common:
- common-password - common-password
- common-session - common-session
- common-session-noninteractive - common-session-noninteractive
r_connector_ssl: on
r_connector_tls_reqcert: demand

View File

@ -25,8 +25,8 @@ tls_cacertfile {{ r_connector_nslcd_cafile }}
#rootpwmoddn cn=admin,dc=example,dc=com #rootpwmoddn cn=admin,dc=example,dc=com
# SSL options # SSL options
#ssl off ssl {{ r_connector_ssl }}
tls_reqcert demand tls_reqcert {{ r_connector_tls_reqcert }}
# The search scope. # The search scope.
#scope sub #scope sub