Quote ldap password
Otherwise special characters like # do not work
This commit is contained in:
parent
9f6635a035
commit
ef4756bcfc
2 changed files with 5 additions and 3 deletions
|
@ -90,7 +90,8 @@ let
|
|||
setPwdInLdapConfFile = appendLdapBindPwd {
|
||||
name = "ldap-conf-file";
|
||||
file = ldapConfig;
|
||||
prefix = "dnpass = ";
|
||||
prefix = ''dnpass = "'';
|
||||
suffix = ''"'';
|
||||
passwordFile = cfg.ldap.bind.passwordFile;
|
||||
destination = ldapConfFile;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue