mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 00:14:25 -05:00
test fix to ITS#4964
This commit is contained in:
parent
74ca4680db
commit
b0b098258f
1 changed files with 23 additions and 0 deletions
|
|
@ -240,6 +240,17 @@ if test $RC != 0 ; then
|
|||
exit $RC
|
||||
fi
|
||||
|
||||
echo "Using ldappasswd to change some passwords..."
|
||||
$LDAPPASSWD -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD \
|
||||
'cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com' \
|
||||
> $TESTOUT 2>&1
|
||||
RC=$?
|
||||
if test $RC != 0 ; then
|
||||
echo "ldapmodify failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
echo "Waiting 15 seconds for syncrepl to receive changes..."
|
||||
sleep 15
|
||||
|
||||
|
|
@ -299,6 +310,18 @@ EOMODS
|
|||
exit $RC
|
||||
fi
|
||||
|
||||
# ITS#4964
|
||||
echo "Trying to change some passwords on the consumer..."
|
||||
$LDAPPASSWD -D "$MANAGERDN" -h $LOCALHOST -p $PORT4 -w $PASSWD \
|
||||
'cn=Barbara Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com' \
|
||||
> $TESTOUT 2>&1
|
||||
RC=$?
|
||||
if test $RC != 0 ; then
|
||||
echo "ldapmodify failed ($RC)!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit $RC
|
||||
fi
|
||||
|
||||
echo "Waiting 15 seconds for syncrepl to receive changes..."
|
||||
sleep 15
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue