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

suffixes need to be stored in normalized uppercase format

parent f9b416ea
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ read_config( char *fname, Backend **bep, FILE *pfp ) ...@@ -129,7 +129,7 @@ read_config( char *fname, Backend **bep, FILE *pfp )
fname, lineno, 0 ); fname, lineno, 0 );
} else { } else {
char *dn = ch_strdup( cargv[1] ); char *dn = ch_strdup( cargv[1] );
(void) dn_normalize( dn ); (void) dn_normalize_case( dn );
charray_add( &be->be_suffix, dn ); charray_add( &be->be_suffix, dn );
} }
......
...@@ -6,6 +6,7 @@ SLURPD=../servers/slurpd/slurpd ...@@ -6,6 +6,7 @@ SLURPD=../servers/slurpd/slurpd
LDAPSEARCH=../clients/tools/ldapsearch LDAPSEARCH=../clients/tools/ldapsearch
LDAPMODIFY=../clients/tools/ldapmodify LDAPMODIFY=../clients/tools/ldapmodify
LDAPADD=../clients/tools/ldapadd LDAPADD=../clients/tools/ldapadd
LVL=5
PORT=9009 PORT=9009
SLAVEPORT=9010 SLAVEPORT=9010
DBDIR=./test-db DBDIR=./test-db
......
...@@ -25,7 +25,7 @@ if [ $RC != 0 ]; then ...@@ -25,7 +25,7 @@ if [ $RC != 0 ]; then
fi fi
echo "Starting slapd on TCP/IP port $PORT..." echo "Starting slapd on TCP/IP port $PORT..."
$SLAPD -f $CONF -p $PORT -d 1 > $MASTERLOG 2>&1 & $SLAPD -f $CONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
PID=$! PID=$!
echo "Using ldapsearch to retrieve all the entries..." echo "Using ldapsearch to retrieve all the entries..."
......
...@@ -25,7 +25,7 @@ if [ $RC != 0 ]; then ...@@ -25,7 +25,7 @@ if [ $RC != 0 ]; then
fi fi
echo "Starting slapd on TCP/IP port $PORT..." echo "Starting slapd on TCP/IP port $PORT..."
$SLAPD -f $CONF -p $PORT -d 1 > $MASTERLOG 2>&1 & $SLAPD -f $CONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
PID=$! PID=$!
echo "Using ldapsearch to retrieve all the entries..." echo "Using ldapsearch to retrieve all the entries..."
......
...@@ -13,7 +13,7 @@ echo "Cleaning up in $DBDIR..." ...@@ -13,7 +13,7 @@ echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]* rm -f $DBDIR/[!C]*
echo "Starting slapd on TCP/IP port $PORT..." echo "Starting slapd on TCP/IP port $PORT..."
$SLAPD -f $CONF -p $PORT -d 1 > $MASTERLOG 2>&1 & $SLAPD -f $CONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
PID=$! PID=$!
echo "Using ldapsearch to check that slapd is running..." echo "Using ldapsearch to check that slapd is running..."
......
...@@ -21,7 +21,7 @@ if [ $RC != 0 ]; then ...@@ -21,7 +21,7 @@ if [ $RC != 0 ]; then
fi fi
echo "Starting slapd on TCP/IP port $PORT..." echo "Starting slapd on TCP/IP port $PORT..."
$SLAPD -f $CONF -p $PORT -d 1 > $MASTERLOG 2>&1 & $SLAPD -f $CONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
PID=$! PID=$!
echo "Testing slapd searching..." echo "Testing slapd searching..."
......
...@@ -21,7 +21,7 @@ if [ $RC != 0 ]; then ...@@ -21,7 +21,7 @@ if [ $RC != 0 ]; then
fi fi
echo "Starting slapd on TCP/IP port $PORT..." echo "Starting slapd on TCP/IP port $PORT..."
$SLAPD -f $CONF -p $PORT -d 1 > $MASTERLOG 2>&1 & $SLAPD -f $CONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
PID=$! PID=$!
echo "Testing slapd modify operations..." echo "Testing slapd modify operations..."
......
...@@ -21,7 +21,7 @@ if [ $RC != 0 ]; then ...@@ -21,7 +21,7 @@ if [ $RC != 0 ]; then
fi fi
echo "Starting slapd on TCP/IP port $PORT..." echo "Starting slapd on TCP/IP port $PORT..."
$SLAPD -f $ACLCONF -p $PORT -d 1 > $MASTERLOG 2>&1 & $SLAPD -f $ACLCONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
PID=$! PID=$!
echo "Testing slapd access control..." echo "Testing slapd access control..."
......
...@@ -30,11 +30,11 @@ echo "Cleaning up in $REPLDIR..." ...@@ -30,11 +30,11 @@ echo "Cleaning up in $REPLDIR..."
rm -f $REPLDIR/[!C]* rm -f $REPLDIR/[!C]*
echo "Starting master slapd on TCP/IP port $PORT..." echo "Starting master slapd on TCP/IP port $PORT..."
$SLAPD -f $MASTERCONF -p $PORT -d 1 > $MASTERLOG 2>&1 & $SLAPD -f $MASTERCONF -p $PORT -d $LVL > $MASTERLOG 2>&1 &
PID=$! PID=$!
echo "Starting slave slapd on TCP/IP port $SLAVEPORT..." echo "Starting slave slapd on TCP/IP port $SLAVEPORT..."
$SLAPD -f $SLAVECONF -p $SLAVEPORT -d 1 > $SLAVELOG 2>&1 & $SLAPD -f $SLAVECONF -p $SLAVEPORT -d $LVL > $SLAVELOG 2>&1 &
SLAVEPID=$! SLAVEPID=$!
echo "Using ldapsearch to check that master slapd is running..." echo "Using ldapsearch to check that master slapd is running..."
......
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