CLIENTDIR=../clients/tools
#CLIENTDIR=/usr/local/bin
-LDIF2LDBM="../servers/slapd/tools/slapadd $LDAP_VERBOSE"
+SLAPADD="../servers/slapd/tools/slapadd $LDAP_VERBOSE"
+SLAPCAT="../servers/slapd/tools/slapcat $LDAP_VERBOSE"
+SLAPINDEX="../servers/slapd/tools/slapindex $LDAP_VERBOSE"
CMP="diff -i"
CMPOUT=/dev/null
rm -f $DBDIR/[!C]*
echo "Running slapadd to build slapd database..."
-$LDIF2LDBM -f $NIS_CONF -l $NIS_LDIF
+$SLAPADD -f $NIS_CONF -l $NIS_LDIF
RC=$?
if [ $RC != 0 ]; then
echo "slapadd failed!"
rm -f $DBDIR/[!C]*
echo "Running slapadd to build slapd database..."
-$LDIF2LDBM -f $CONF -l $LDIF
+$SLAPADD -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "slapadd failed ($RC)!"
rm -f $DBDIR/[!C]*
echo "Running slapadd to build slapd database..."
-$LDIF2LDBM -f $CONF -l $LDIF
+$SLAPADD -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "slapadd failed ($RC)!"
rm -f $DBDIR/[!C]*
echo "Running slapadd to build slapd database..."
-$LDIF2LDBM -f $CONF -l $LDIF
+$SLAPADD -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "slapadd failed ($RC)!"
rm -f $DBDIR/[!C]*
echo "Running slapadd to build slapd database..."
-$LDIF2LDBM -f $CONF -l $LDIF
+$SLAPADD -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "slapadd failed ($RC)!"
rm -f $DBDIR/[!C]*
echo "Running slapadd to build slapd database..."
-$LDIF2LDBM -f $CONF -l $LDIF
+$SLAPADD -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "slapadd failed ($RC)!"
rm -f $DBDIR/[!C]*
echo "Running slapadd to build slapd database..."
-$LDIF2LDBM -f $CONF -l $LDIF
+$SLAPADD -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "slapadd failed ($RC)!"
rm -f $REPLDIR/[!C]*
echo "Running slapadd to build slapd database..."
-$LDIF2LDBM -f $CONF -l $LDIF
+$SLAPADD -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
echo "slapadd failed ($RC)!"