diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-25 23:23:44 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-01-25 23:41:01 +0100 |
commit | bad8f8d3cfaf48e6693f9718857a4648a86b0d37 (patch) | |
tree | 07592e653d96aa9e693ef609aadc64e5adccabe4 /nixops/ldap_authorized_keys.sh | |
parent | 01f21083a897b86bf148f1d2bb9c8edca4d3786a (diff) | |
download | Nix-bad8f8d3cfaf48e6693f9718857a4648a86b0d37.tar.gz Nix-bad8f8d3cfaf48e6693f9718857a4648a86b0d37.tar.zst Nix-bad8f8d3cfaf48e6693f9718857a4648a86b0d37.zip |
Add startTLS when using ldapsearch
Fixes https://git.immae.eu/mantisbt/view.php?id=98
Diffstat (limited to 'nixops/ldap_authorized_keys.sh')
-rwxr-xr-x | nixops/ldap_authorized_keys.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixops/ldap_authorized_keys.sh b/nixops/ldap_authorized_keys.sh index e8d7a64..ceaddbe 100755 --- a/nixops/ldap_authorized_keys.sh +++ b/nixops/ldap_authorized_keys.sh | |||
@@ -45,7 +45,7 @@ clean_key_line() { | |||
45 | } | 45 | } |
46 | 46 | ||
47 | ldap_search() { | 47 | ldap_search() { |
48 | $LDAPSEARCH -h $LDAP_HOST -b $LDAP_BASE -D $LDAP_BIND -w "$LDAP_PASS" -x -o ldif-wrap=no -LLL "$@" | 48 | $LDAPSEARCH -h $LDAP_HOST -ZZ -b $LDAP_BASE -D $LDAP_BIND -w "$LDAP_PASS" -x -o ldif-wrap=no -LLL "$@" |
49 | } | 49 | } |
50 | 50 | ||
51 | ldap_keys() { | 51 | ldap_keys() { |