aboutsummaryrefslogtreecommitdiff
path: root/nixops/ldap_authorized_keys.sh
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-25 23:23:44 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-01-25 23:41:01 +0100
commitbad8f8d3cfaf48e6693f9718857a4648a86b0d37 (patch)
tree07592e653d96aa9e693ef609aadc64e5adccabe4 /nixops/ldap_authorized_keys.sh
parent01f21083a897b86bf148f1d2bb9c8edca4d3786a (diff)
downloadNix-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-xnixops/ldap_authorized_keys.sh2
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
47ldap_search() { 47ldap_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
51ldap_keys() { 51ldap_keys() {