Should work now when using custom SLAPD_BASEPORT setting (ITS#6213)

This commit is contained in:
Ralf Haferkamp 2009-07-14 13:35:56 +00:00
parent d45c01c008
commit 22083ce459
2 changed files with 3 additions and 3 deletions

View file

@ -9,8 +9,8 @@ monitorConnectionGet: 2
monitorConnectionRead: 2
monitorConnectionWrite: 0
monitorConnectionMask: rx
monitorConnectionListener: ldap://localhost:9011/
monitorConnectionLocalAddress: IP=127.0.0.1:9011
monitorConnectionListener: ldap://localhost:@PORT1@/
monitorConnectionLocalAddress: IP=127.0.0.1:@PORT1@
entryDN: cn=Connection 1,cn=Connections,cn=Monitor
dn: cn=Connections,cn=Monitor

View file

@ -66,7 +66,7 @@ localrewrite='s/=127\.0\.0\.1:/=LOCAL:/; s/=\[::1\]:/=LOCAL:/'
echo "Filtering ldapsearch results..."
sed -e "$localrewrite" < $SEARCHOUT | . $LDIFFILTER > $SEARCHFLT
echo "Filtering expected data..."
sed -e "$localrewrite" < $MONITOROUT1 | . $LDIFFILTER > $LDIFFLT
. $CONFFILTER < $MONITOROUT1 | sed -e "$localrewrite" | . $LDIFFILTER > $LDIFFLT
echo "Comparing filter output..."
$CMP $SEARCHFLT $LDIFFLT > $CMPOUT