Skip to content
Snippets Groups Projects
Commit c9565e75 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Rewrite master/slave ports

parent f8f13217
Branches
Tags
No related merge requests found
......@@ -15,7 +15,7 @@ argsfile ./test-repl/slapd.args
# ldbm database definitions
#######################################################################
referral "ldap://localhost:9009/"
referral "ldap://localhost:@PORT@/"
database @BACKEND@
cachesize 0
......
......@@ -28,7 +28,7 @@ rootpw secret
replogfile ./test-db/slapd.replog
replica host=localhost:9010
replica host=localhost:@SLAVEPORT@
binddn="cn=Replica,o=University of Michigan,c=US"
bindmethod=simple
credentials=secret
......@@ -11,7 +11,7 @@ include ./schema/openldap.schema
pidfile ./test-repl/slapd.pid
argsfile ./test-repl/slapd.args
#referral "ldap://localhost:9009/"
#referral "ldap://localhost:@PORT@/"
#######################################################################
# ldbm database definitions
......@@ -24,7 +24,7 @@ directory ./test-repl
rootdn "cn=Replica,o=University of Michigan,c=US"
rootpw secret
updatedn "cn=Replica,o=University of Michigan,c=US"
updateref "ldap://localhost:9009"
updateref "ldap://localhost:@PORT@"
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
......
......@@ -28,7 +28,7 @@ rootpw secret
replogfile ./test-db/slapd.replog
replica host=localhost:9010
replica host=localhost:@SLAVEPORT@
suffix="ou=Groups,o=University of Michigan,c=US"
binddn="cn=Replica,ou=Groups,o=University of Michigan,c=US"
bindmethod=simple
......
......@@ -11,7 +11,7 @@ include ./schema/openldap.schema
pidfile ./test-repl/slapd.pid
argsfile ./test-repl/slapd.args
#referral "ldap://localhost:9009/"
#referral "ldap://localhost:@PORT@/"
#######################################################################
# ldbm database definitions
......@@ -24,7 +24,7 @@ directory ./test-repl
rootdn "cn=Replica,ou=Groups,o=University of Michigan,c=US"
rootpw secret
updatedn "cn=Replica,ou=Groups,o=University of Michigan,c=US"
updateref "ldap://localhost:9009"
updateref "ldap://localhost:@PORT@"
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#bdb#index objectClass eq
......
#! /bin/sh
# $OpenLDAP$
# . $SRCDIR/scripts/defines.sh
if [ x"$MONITORDB" = x"yes" ] ; then
MON=monitor
else
MON=nomonitor
fi
sed -e "s/@BACKEND@/$BACKEND/" -e "s/^#$BACKEND#//" -e "s/^#$MON#//"
sed -e "s/@BACKEND@/$BACKEND/" -e "s/^#$BACKEND#//" -e "s/^#$MON#//" \
-e "s/@PORT@/$PORT/" -e "s/@SLAVEPORT@/$SLAVEPORT/"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment