mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Fix typos in schema replication check
This commit is contained in:
parent
f2740c79b3
commit
9621d0c3d5
@ -229,8 +229,7 @@ add: olcUpdateRef
|
|||||||
olcUpdateRef: $URI1
|
olcUpdateRef: $URI1
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "Waiting $SLEEP1 seconds for syncrepl to receive changes..."
|
sleep 1
|
||||||
sleep $SLEEP1
|
|
||||||
|
|
||||||
echo "Using ldapsearch to check that syncrepl received config changes..."
|
echo "Using ldapsearch to check that syncrepl received config changes..."
|
||||||
RC=32
|
RC=32
|
||||||
@ -275,8 +274,8 @@ echo "Using ldapsearch to check that syncrepl received the schema changes..."
|
|||||||
RC=32
|
RC=32
|
||||||
for i in 0 1 2 3 4 5; do
|
for i in 0 1 2 3 4 5; do
|
||||||
RESULT=`$LDAPSEARCH -H $URI2 -D cn=config -y $CONFIGPWF \
|
RESULT=`$LDAPSEARCH -H $URI2 -D cn=config -y $CONFIGPWF \
|
||||||
-s base -b "cn=schema,cn=config" \
|
-s sub -b "cn=schema,cn=config" \
|
||||||
'(cn=openldap)' 2>&1 | awk '/^dn:/ {print "OK"}'`
|
'(cn=*openldap)' 2>&1 | awk '/^dn:/ {print "OK"}'`
|
||||||
if test "x$RESULT" = "xOK" ; then
|
if test "x$RESULT" = "xOK" ; then
|
||||||
RC=0
|
RC=0
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user