rm -f $DBDIR/[!C]*
-echo "Running ldif2ldbm to build slapd database..."
-$LDIF2LDBM -f $CONF -l $LDIF
+echo "Running slapadd to build slapd database..."
+$slapadd -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "ldif2ldbm failed!"
+ echo "slapadd failed!"
exit $RC
fi
rm -f $DBDIR/[!C]*
-echo "Running ldif2ldbm to build slapd database..."
+echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $NIS_CONF -l $NIS_LDIF
RC=$?
if [ $RC != 0 ]; then
- echo "ldif2ldbm failed!"
+ echo "slapadd failed!"
exit $RC
fi
rm -f $DBDIR/[!C]*
-echo "Running ldif2ldbm to build slapd database..."
+echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "ldif2ldbm failed!"
+ echo "slapadd failed!"
exit $RC
fi
rm -f $DBDIR/[!C]*
-echo "Running ldif2ldbm to build slapd database..."
+echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "ldif2ldbm failed!"
+ echo "slapadd failed!"
exit $RC
fi
rm -f $DBDIR/[!C]*
-echo "Running ldif2ldbm to build slapd database..."
+echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "ldif2ldbm failed!"
+ echo "slapadd failed!"
exit $RC
fi
rm -f $DBDIR/[!C]*
-echo "Running ldif2ldbm to build slapd database..."
+echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "ldif2ldbm failed!"
+ echo "slapadd failed!"
exit $RC
fi
rm -f $DBDIR/[!C]*
-echo "Running ldif2ldbm to build slapd database..."
+echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "ldif2ldbm failed!"
+ echo "slapadd failed!"
exit $RC
fi
rm -f $DBDIR/[!C]*
-echo "Running ldif2ldbm to build slapd database..."
+echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "ldif2ldbm failed!"
+ echo "slapadd failed!"
exit $RC
fi
-echo "Waiting 5 seconds for ldif2ldbm to build slapd database..."
+echo "Waiting 5 seconds for slapadd to build slapd database..."
sleep 5
echo "Starting slapd on TCP/IP port $PORT..."
rm -f $DBDIR/[!C]*
rm -f $REPLDIR/[!C]*
-echo "Running ldif2ldbm to build slapd database..."
+echo "Running slapadd to build slapd database..."
$LDIF2LDBM -f $CONF -l $LDIF
RC=$?
if test $RC != 0 ; then
- echo "ldif2ldbm failed!"
+ echo "slapadd failed!"
exit $RC
fi