Commit e43fe624 authored by Howard Chu's avatar Howard Chu
Browse files

Renamed subdirectories to hide rm warnings

parent 92481f70
...@@ -19,7 +19,7 @@ argsfile ./test-db/slapd.args ...@@ -19,7 +19,7 @@ argsfile ./test-db/slapd.args
database @BACKEND@ database @BACKEND@
suffix "ou=Information Technology Division,ou=People,o=University of Michigan, c=US" suffix "ou=Information Technology Division,ou=People,o=University of Michigan, c=US"
subordinate subordinate
directory ./test-db/1 directory ./test-db/C_db1
rootdn "cn=Manager, o=University of Michigan, c=US" rootdn "cn=Manager, o=University of Michigan, c=US"
rootpw secret rootpw secret
#ldbm#index objectclass eq #ldbm#index objectclass eq
...@@ -34,7 +34,7 @@ rootpw secret ...@@ -34,7 +34,7 @@ rootpw secret
database @BACKEND@ database @BACKEND@
suffix "ou=Groups,o=University of Michigan, c=US" suffix "ou=Groups,o=University of Michigan, c=US"
subordinate subordinate
directory ./test-db/2 directory ./test-db/C_db2
rootdn "cn=Manager, o=University of Michigan, c=US" rootdn "cn=Manager, o=University of Michigan, c=US"
rootpw secret rootpw secret
#ldbm#index objectclass eq #ldbm#index objectclass eq
...@@ -48,7 +48,7 @@ rootpw secret ...@@ -48,7 +48,7 @@ rootpw secret
database @BACKEND@ database @BACKEND@
suffix "o=University of Michigan, c=US" suffix "o=University of Michigan, c=US"
directory ./test-db/3 directory ./test-db/C_db3
rootdn "cn=Manager, o=University of Michigan, c=US" rootdn "cn=Manager, o=University of Michigan, c=US"
rootpw secret rootpw secret
#ldbm#index objectclass eq #ldbm#index objectclass eq
......
...@@ -19,9 +19,9 @@ echo "running defines.sh" ...@@ -19,9 +19,9 @@ echo "running defines.sh"
echo "Cleaning up in $DBDIR..." echo "Cleaning up in $DBDIR..."
mkdir $DBDIR/1 $DBDIR/2 $DBDIR/3 mkdir $DBDIR/C_db1 $DBDIR/C_db2 $DBDIR/C_db3
rm -f $DBDIR/[!C]* $DBDIR/?/* rm -f $DBDIR/[!C]* $DBDIR/C_db?/*
echo "Running slapadd to build glued slapd databases..." echo "Running slapadd to build glued slapd databases..."
. $CONFFILTER $BACKEND < $GLUECONF > $DBCONF . $CONFFILTER $BACKEND < $GLUECONF > $DBCONF
...@@ -75,7 +75,7 @@ fi ...@@ -75,7 +75,7 @@ fi
echo "OK... Cleaning up in $DBDIR..." echo "OK... Cleaning up in $DBDIR..."
rm -f $DBDIR/?/* rm -f $DBDIR/C_db?/*
echo "Starting slapd on TCP/IP port $PORT..." echo "Starting slapd on TCP/IP port $PORT..."
$SLAPD -f $DBCONF -h $MASTERURI -d $LVL $TIMING > $MASTERLOG 2>&1 & $SLAPD -f $DBCONF -h $MASTERURI -d $LVL $TIMING > $MASTERLOG 2>&1 &
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment