mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-17 14:00:30 +08:00
suffixes need to be stored in normalized uppercase format
This commit is contained in:
parent
f9b416ea7c
commit
19a17982c6
@ -129,7 +129,7 @@ read_config( char *fname, Backend **bep, FILE *pfp )
|
||||
fname, lineno, 0 );
|
||||
} else {
|
||||
char *dn = ch_strdup( cargv[1] );
|
||||
(void) dn_normalize( dn );
|
||||
(void) dn_normalize_case( dn );
|
||||
charray_add( &be->be_suffix, dn );
|
||||
}
|
||||
|
||||
|
@ -6,6 +6,7 @@ SLURPD=../servers/slurpd/slurpd
|
||||
LDAPSEARCH=../clients/tools/ldapsearch
|
||||
LDAPMODIFY=../clients/tools/ldapmodify
|
||||
LDAPADD=../clients/tools/ldapadd
|
||||
LVL=5
|
||||
PORT=9009
|
||||
SLAVEPORT=9010
|
||||
DBDIR=./test-db
|
||||
|
@ -25,7 +25,7 @@ if [ $RC != 0 ]; then
|
||||
fi
|
||||
|
||||
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=$!
|
||||
|
||||
echo "Using ldapsearch to retrieve all the entries..."
|
||||
|
@ -25,7 +25,7 @@ if [ $RC != 0 ]; then
|
||||
fi
|
||||
|
||||
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=$!
|
||||
|
||||
echo "Using ldapsearch to retrieve all the entries..."
|
||||
|
@ -13,7 +13,7 @@ echo "Cleaning up in $DBDIR..."
|
||||
rm -f $DBDIR/[!C]*
|
||||
|
||||
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=$!
|
||||
|
||||
echo "Using ldapsearch to check that slapd is running..."
|
||||
|
@ -21,7 +21,7 @@ if [ $RC != 0 ]; then
|
||||
fi
|
||||
|
||||
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=$!
|
||||
|
||||
echo "Testing slapd searching..."
|
||||
|
@ -21,7 +21,7 @@ if [ $RC != 0 ]; then
|
||||
fi
|
||||
|
||||
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=$!
|
||||
|
||||
echo "Testing slapd modify operations..."
|
||||
|
@ -21,7 +21,7 @@ if [ $RC != 0 ]; then
|
||||
fi
|
||||
|
||||
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=$!
|
||||
|
||||
echo "Testing slapd access control..."
|
||||
|
@ -30,11 +30,11 @@ echo "Cleaning up in $REPLDIR..."
|
||||
rm -f $REPLDIR/[!C]*
|
||||
|
||||
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=$!
|
||||
|
||||
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=$!
|
||||
|
||||
echo "Using ldapsearch to check that master slapd is running..."
|
||||
|
Loading…
Reference in New Issue
Block a user