diff options
Diffstat (limited to 'scripts/ds-ldapi-enable.sh')
| -rwxr-xr-x | scripts/ds-ldapi-enable.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/ds-ldapi-enable.sh b/scripts/ds-ldapi-enable.sh new file mode 100755 index 0000000..9e033b9 --- /dev/null +++ b/scripts/ds-ldapi-enable.sh @@ -0,0 +1,10 @@ +#!/bin/sh -x + +ldapmodify -h `hostname` -p 389 -D "cn=Directory Manager" -w Secret123 -x <<EOF +dn: cn=config +changetype: modify +replace: nsslapd-ldapilisten +nsslapd-ldapilisten: on +EOF + +systemctl restart dirsrv@pki-tomcat.service |
