aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-05-25 22:59:21 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2020-05-25 22:59:28 -0700
commitf45e23a3c5b1526cc774545980d53fb081431af0 (patch)
tree7c8960381e3235b04dc2f4918f23bfca87744c9e /keyrings.inc.bash
parentLink bugs by 2019 (diff)
downloadqa-scripts-f45e23a3c5b1526cc774545980d53fb081431af0.tar.gz
qa-scripts-f45e23a3c5b1526cc774545980d53fb081431af0.tar.bz2
qa-scripts-f45e23a3c5b1526cc774545980d53fb081431af0.zip
keyrings: ensure ldap simple binding is used
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'keyrings.inc.bash')
-rw-r--r--keyrings.inc.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyrings.inc.bash b/keyrings.inc.bash
index 39a0aec..d19f0ad 100644
--- a/keyrings.inc.bash
+++ b/keyrings.inc.bash
@@ -18,7 +18,7 @@ export SYSTEM_KEYS=( )
# grab_ldap_fingerprints <ldap-rule>
grab_ldap_fingerprints() {
- ldapsearch "${@}" -Z gpgfingerprint -LLL |
+ ldapsearch "${@}" -x -Z gpgfingerprint -LLL |
sed -n -e '/: undefined/d' -e '/^gpgfingerprint: /{s/^.*://;s/ //g;p}' |
sort -u
}