summaryrefslogtreecommitdiffstats
path: root/scripts/ds-debug-enable.sh
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2017-07-20 07:28:26 +0200
committerEndi S. Dewata <edewata@redhat.com>2017-07-20 07:28:26 +0200
commitd2cc01d76e69f8d3602c5181263b95cbcd1c79a3 (patch)
tree7b136f1a76e2e808bc48332283054d9f05d4863d /scripts/ds-debug-enable.sh
parentc23e0e44df69e44cb21c0e564ff1a7e2a7b67fd5 (diff)
downloadpki-dev-d2cc01d76e69f8d3602c5181263b95cbcd1c79a3.tar.gz
pki-dev-d2cc01d76e69f8d3602c5181263b95cbcd1c79a3.tar.xz
pki-dev-d2cc01d76e69f8d3602c5181263b95cbcd1c79a3.zip
Added DS scripts.
Diffstat (limited to 'scripts/ds-debug-enable.sh')
-rwxr-xr-xscripts/ds-debug-enable.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/ds-debug-enable.sh b/scripts/ds-debug-enable.sh
new file mode 100755
index 0000000..ce3328c
--- /dev/null
+++ b/scripts/ds-debug-enable.sh
@@ -0,0 +1,10 @@
+#!/bin/sh -x
+
+ldapmodify -x -D "cn=Directory Manager" -w Secret.123 <<EOF
+dn: cn=config
+changetype: modify
+replace: nsslapd-errorlog-level
+nsslapd-errorlog-level: 16384
+EOF
+
+systemctl restart dirsrv@pki-tomcat.service