X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fscripts%2Fstartup_nis_ldap_server.sh;h=421b4d5e35b3cc8cb8eb5ba76e4ee7afa6d482bb;hb=31b5ff36610506942dc4662d2d914f0618cbbf85;hp=442c62fa1cac5dbf2b3eba287108ae05cdb673bc;hpb=41e57c041f56bdc5687eb92ce2cae3caa7333d33;p=openldap
diff --git a/tests/scripts/startup_nis_ldap_server.sh b/tests/scripts/startup_nis_ldap_server.sh
index 442c62fa1c..421b4d5e35 100755
--- a/tests/scripts/startup_nis_ldap_server.sh
+++ b/tests/scripts/startup_nis_ldap_server.sh
@@ -1,5 +1,17 @@
#! /bin/sh
# $OpenLDAP$
+## This work is part of OpenLDAP Software .
+##
+## Copyright 1998-2005 The OpenLDAP Foundation.
+## All rights reserved.
+##
+## Redistribution and use in source and binary forms, with or without
+## modification, are permitted only as authorized by the OpenLDAP
+## Public License.
+##
+## A copy of this license is available in the file LICENSE in the
+## top-level directory of the distribution or, alternatively, at
+## .
if [ $# -eq 0 ]; then
SRCDIR="."
@@ -27,7 +39,7 @@ echo "Cleaning up in $DBDIR..."
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!"