Skip to content
Snippets Groups Projects
Commit e43fe624 authored by Howard Chu's avatar Howard Chu
Browse files

Renamed subdirectories to hide rm warnings

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