#include <ac/string.h>
#include <ac/time.h>
#include <ac/unistd.h>
+#include <ac/param.h>
#include "ldap-int.h"
# )
#
attributetype ( 1.3.6.1.4.1.42.2.27.4.1.8
- NAME 'javaSerializedData
+ NAME 'javaSerializedData'
DESC 'Serialized form of a Java object'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
SINGLE-VALUE )
# SINGLE-VALUE
# )
#
-atttributetype ( 1.3.6.1.4.1.42.2.27.4.1.10
+attributetype ( 1.3.6.1.4.1.42.2.27.4.1.10
NAME 'javaFactory'
DESC 'Fully qualified Java class name of a JNDI object factory'
EQUALITY caseExactMatch
include ./schema/core.schema
include ./schema/cosine.schema
include ./schema/inetorgperson.schema
-#include ./schema/nis.schema
schemacheck on
pidfile ./test-db/slapd.pid
argsfile ./test-db/slapd.args
--- /dev/null
+# $OpenLDAP$
+#
+# stand-alone slapd config -- for testing
+# with indexing
+#
+#include ./data/slapd.at.conf
+#include ./data/slapd.oc.conf
+#
+include ./schema/core.schema
+include ./schema/cosine.schema
+#
+include ./schema/corba.schema
+include ./schema/java.schema
+include ./schema/inetorgperson.schema
+include ./schema/krb5-kdc.schema
+include ./schema/misc.schema
+include ./schema/nadf.schema
+include ./schema/nis.schema
+#include ./schema/openldap.schema
+#
+schemacheck on
+pidfile ./test-db/slapd.pid
+argsfile ./test-db/slapd.args
+
+#######################################################################
+# ldbm database definitions
+#######################################################################
+
+database ldbm
+suffix "o=OpenLDAP Project, l=Internet"
+directory ./test-db
+dbnosync
+dbnolocking
MASTERCONF=$DATADIR/slapd-bdb2-repl-master.conf
SLAVECONF=$DATADIR/slapd-bdb2-repl-slave.conf
REFSLAVECONF=$DATADIR/slapd-bdb2-ref-slave.conf
+ SCHEMACONF=$DATADIR/slapd-bdb2-schema.conf
TIMING="-t"
else
CONF=$DATADIR/slapd.conf
MASTERCONF=$DATADIR/slapd-repl-master.conf
SLAVECONF=$DATADIR/slapd-repl-slave.conf
REFSLAVECONF=$DATADIR/slapd-ref-slave.conf
+ SCHEMACONF=$DATADIR/slapd-schema.conf
fi
TOOLARGS="-x $LDAP_TOOLARGS"
rm -f $DBDIR/[!C]*
echo "Starting slapd on TCP/IP port $PORT..."
-$SLAPD -f $CONF -h $MASTERURI -d $LVL $TIMING > $MASTERLOG 2>&1 &
+$SLAPD -f $SCHEMACONF -h $MASTERURI -d $LVL $TIMING > $MASTERLOG 2>&1 &
PID=$!
echo "Using ldapsearch to retrieve all the entries..."