summaryrefslogtreecommitdiffstats
path: root/scripts/tps-auth-user-del.sh
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2017-07-20 07:31:46 +0200
committerEndi S. Dewata <edewata@redhat.com>2017-07-20 07:31:46 +0200
commit4ef1422a303c035735afd84d98ee7baba325c2fa (patch)
tree327638031e99a091d4cb3087862e74521db63b5c /scripts/tps-auth-user-del.sh
parentcc84991f7ebf911d3b5303738c84d6778accc537 (diff)
downloadpki-dev-4ef1422a303c035735afd84d98ee7baba325c2fa.tar.gz
pki-dev-4ef1422a303c035735afd84d98ee7baba325c2fa.tar.xz
pki-dev-4ef1422a303c035735afd84d98ee7baba325c2fa.zip
Updated TPS scripts.
Diffstat (limited to 'scripts/tps-auth-user-del.sh')
-rwxr-xr-xscripts/tps-auth-user-del.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/tps-auth-user-del.sh b/scripts/tps-auth-user-del.sh
new file mode 100755
index 0000000..9c94c63
--- /dev/null
+++ b/scripts/tps-auth-user-del.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+uid=$1
+
+ldapdelete -h $HOSTNAME -p 389 -D "cn=Directory Manager" -w Secret.123 << EOF
+uid=$uid,ou=people,dc=example,dc=com
+EOF