mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-31 14:50:34 +08:00
Overlay creates log suffix entry automatically
This commit is contained in:
parent
a6adcedecc
commit
70c70a4e81
@ -73,19 +73,6 @@ if test $RC != 0 ; then
|
||||
fi
|
||||
|
||||
echo "Using ldapadd to create the context prefix entries in the master..."
|
||||
$LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD <<EOF \
|
||||
> /dev/null 2>&1
|
||||
dn: cn=log
|
||||
objectclass: applicationProcess
|
||||
cn: log
|
||||
|
||||
EOF
|
||||
RC=$?
|
||||
if test $RC != 0 ; then
|
||||
echo "ldapadd failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
fi
|
||||
$LDAPADD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD < \
|
||||
$LDIFORDEREDCP > /dev/null 2>&1
|
||||
RC=$?
|
||||
|
Loading…
x
Reference in New Issue
Block a user