summaryrefslogtreecommitdiffstats
path: root/scripts/ds-debug-enable.sh
diff options
context:
space:
mode:
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