Skip to content

Commit 56311f1

Browse files
committed
Merge branch 'asacamano-patch-1' into release-1.1.10
2 parents 071a5b8 + 9cd74a6 commit 56311f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

image/service/slapd/startup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ if [ ! -e "$FIRST_START_DONE" ]; then
6969
if grep -iq changetype $LDIF_FILE ; then
7070
ldapmodify -Y EXTERNAL -Q -H ldapi:/// -f $LDIF_FILE 2>&1 | log-helper debug || ldapmodify -h localhost -p 389 -D cn=admin,$LDAP_BASE_DN -w $LDAP_ADMIN_PASSWORD -f $LDIF_FILE 2>&1 | log-helper debug
7171
else
72-
ldapadd -Y EXTERNAL -Q -H ldapi:/// -f $LDIF_FILE |& log-helper debug
72+
ldapadd -Y EXTERNAL -Q -H ldapi:/// -f $LDIF_FILE |& log-helper debug || ldapadd -h localhost -p 389 -D cn=admin,$LDAP_BASE_DN -w $LDAP_ADMIN_PASSWORD -f $LDIF_FILE 2>&1 | log-helper debug
7373
fi
7474
}
7575

0 commit comments

Comments
 (0)