nixos/ldap: remove tls_checkpeer no when using TLS

This commit is contained in:
Graham Christensen
2017-07-19 19:23:40 -04:00
parent 92366530d8
commit 2b2a6f2070

View File

@@ -19,7 +19,6 @@ let
bind_policy ${config.users.ldap.bind.policy}
${optionalString config.users.ldap.useTLS ''
ssl start_tls
tls_checkpeer no
''}
${optionalString (config.users.ldap.bind.distinguishedName != "") ''
binddn ${config.users.ldap.bind.distinguishedName}