mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
nixos/ldap: remove tls_checkpeer no when using TLS
This commit is contained in:
parent
92366530d8
commit
2b2a6f2070
@ -19,7 +19,6 @@ let
|
|||||||
bind_policy ${config.users.ldap.bind.policy}
|
bind_policy ${config.users.ldap.bind.policy}
|
||||||
${optionalString config.users.ldap.useTLS ''
|
${optionalString config.users.ldap.useTLS ''
|
||||||
ssl start_tls
|
ssl start_tls
|
||||||
tls_checkpeer no
|
|
||||||
''}
|
''}
|
||||||
${optionalString (config.users.ldap.bind.distinguishedName != "") ''
|
${optionalString (config.users.ldap.bind.distinguishedName != "") ''
|
||||||
binddn ${config.users.ldap.bind.distinguishedName}
|
binddn ${config.users.ldap.bind.distinguishedName}
|
||||||
|
Loading…
Reference in New Issue
Block a user