We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 853ea43 commit 0dae9f4Copy full SHA for 0dae9f4
ldap/ldap/start-ldap.sh
@@ -39,19 +39,6 @@ fi
39
40
/usr/sbin/slapd -h ldapi:/// -g openldap -u openldap -F /etc/ldap/slapd.d
41
42
-echo "Creating root account"
43
-touch /tmp/modify_client
44
-chmod 600 /tmp/modify_client
45
-cat << _EOF_ | ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f /dev/stdin
46
-dn: olcDatabase={0}config,cn=config
47
-changetype: modify
48
-add: olcRootPW
49
-olcRootPW: $ROOTPW
50
-_EOF_
51
-
52
-# slapd might have crashed at this point (bug in ldap), so we restart
53
-# service slapd restart || true
54
55
# Copy schemas
56
echo "Copying schemas"
57
ldapsearch -y /tmp/ldap.secret -x -D "${ADMIN_BIND:?}" -b "cn=schema,cn=config" \
0 commit comments