dn: cn=backend,cn=first,cn=Backend Tiers,cn=Load Balancer,cn=Backends,cn=Monit
or
objectClass: olmBalancerServer
-olmServerURI: ldap://localhost:9012/
+olmServerURI: @URI2@
olmActiveConnections: 4
olmPendingConnections: 0
olmPendingOps: 0
dn: cn=backend,cn=first,cn=Backend Tiers,cn=Load Balancer,cn=Backends,cn=Monit
or
objectClass: olmBalancerServer
-olmServerURI: ldap://localhost:9012/
+olmServerURI: @URI2@
olmActiveConnections: 4
olmPendingConnections: 0
olmPendingOps: 0
dn: cn=server 2,cn=first,cn=Backend Tiers,cn=Load Balancer,cn=Backends,cn=Moni
tor
objectClass: olmBalancerServer
-olmServerURI: ldap://localhost:9013/
+olmServerURI: @URI3@
olmActiveConnections: 9
olmPendingConnections: 0
olmPendingOps: 0
dn: cn=backend,cn=first,cn=Backend Tiers,cn=Load Balancer,cn=Backends,cn=Monit
or
objectClass: olmBalancerServer
-olmServerURI: ldap://localhost:9012/
+olmServerURI: @URI2@
olmActiveConnections: 4
olmPendingConnections: 0
olmPendingOps: 0
dn: cn=backend,cn=first,cn=Backend Tiers,cn=Load Balancer,cn=Backends,cn=Monit
or
objectClass: olmBalancerServer
-olmServerURI: ldap://localhost:9012/
+olmServerURI: @URI2@
olmActiveConnections: 4
olmPendingConnections: 0
olmPendingOps: 0
dn: cn=server 2,cn=first,cn=Backend Tiers,cn=Load Balancer,cn=Backends,cn=Moni
tor
objectClass: olmBalancerServer
-olmServerURI: ldap://localhost:9013/
+olmServerURI: @URI3@
olmActiveConnections: 9
olmPendingConnections: 0
olmPendingOps: 0
dn: cn=backend,cn=first,cn=Backend Tiers,cn=Load Balancer,cn=Backends,cn=Monit
or
objectClass: olmBalancerServer
-olmServerURI: ldap://localhost:9012/
+olmServerURI: @URI2@
olmActiveConnections: 4
olmPendingConnections: 0
olmPendingOps: 0
dn: cn=server 2,cn=first,cn=Backend Tiers,cn=Load Balancer,cn=Backends,cn=Moni
tor
objectClass: olmBalancerServer
-olmServerURI: ldap://localhost:9013/
+olmServerURI: @URI3@
olmActiveConnections: 9
olmPendingConnections: 0
olmPendingOps: 0
echo "Filtering ldapsearch results..."
$LDIFFILTER -s e < $SEARCHOUT > $SEARCHFLT
echo "Filtering original ldif used to create database..."
-$LDIFFILTER -s e < $LDIF > $LDIFFLT
+$LDIFFILTER -s e < $LDIF | sed \
+ -e "s|@URI2@|$URI2|g" \
+ -e "s|@URI3@|$URI3|g" \
+ > $LDIFFLT
echo "Comparing filter output..."
$CMP $SEARCHFLT $LDIFFLT > $CMPOUT
echo "Filtering ldapsearch results..."
$LDIFFILTER < $SEARCHOUT > $SEARCHFLT
echo "Filtering original ldif used to create database..."
-$LDIFFILTER < $LDIF > $LDIFFLT
+$LDIFFILTER < $LDIF | sed \
+ -e "s|@URI2@|$URI2|g" \
+ -e "s|@URI3@|$URI3|g" \
+ > $LDIFFLT
echo "Comparing filter output..."
$CMP $SEARCHFLT $LDIFFLT > $CMPOUT