X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tests%2Fdata%2Fslapd-unique.conf;h=43c0e360b7d42d58e171e6e7c56ba270db34dcce;hb=893aa3eddbbfbf1dbfa02c68331454f41ee59d08;hp=8d16feb035a951cafe4bbe970d95e0a8ed790187;hpb=9e29048fd1caa1382fa08d1ac7e41ba7ae597b60;p=openldap diff --git a/tests/data/slapd-unique.conf b/tests/data/slapd-unique.conf index 8d16feb035..43c0e360b7 100644 --- a/tests/data/slapd-unique.conf +++ b/tests/data/slapd-unique.conf @@ -2,7 +2,7 @@ # $OpenLDAP$ ## This work is part of OpenLDAP Software . ## -## Copyright 2004-2005 The OpenLDAP Foundation. +## Copyright 2004-2011 The OpenLDAP Foundation. ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without @@ -13,15 +13,15 @@ ## top-level directory of the distribution or, alternatively, at ## . -include ./schema/core.schema -include ./schema/cosine.schema -include ./schema/inetorgperson.schema -include ./schema/openldap.schema -include ./schema/nis.schema +include @SCHEMADIR@/core.schema +include @SCHEMADIR@/cosine.schema +include @SCHEMADIR@/inetorgperson.schema +include @SCHEMADIR@/openldap.schema +include @SCHEMADIR@/nis.schema # -pidfile ./testrun/slapd.1.pid -argsfile ./testrun/slapd.1.args +pidfile @TESTDIR@/slapd.1.pid +argsfile @TESTDIR@/slapd.1.args #mod#modulepath ../servers/slapd/back-@BACKEND@/ #mod#moduleload back_@BACKEND@.la @@ -36,18 +36,23 @@ argsfile ./testrun/slapd.1.args database @BACKEND@ suffix "o=unique" -directory ./testrun/db.1.a rootdn "cn=Manager,o=unique" rootpw secret -#bdb#index objectClass eq -#bdb#index cn,sn,uid pres,eq,sub -#hdb#index objectClass eq -#hdb#index cn,sn,uid pres,eq,sub -#ldbm#index objectClass eq -#ldbm#index cn,sn,uid pres,eq,sub +#~null~#directory @TESTDIR@/db.1.a +#indexdb#index objectClass eq +#indexdb#index cn,sn,uid pres,eq,sub +#ndb#dbname db_1 +#ndb#include @DATADIR@/ndb.conf overlay unique -unique_ignore o cn sn ou objectClass -unique_attributes employeeNumber -#monitor#database monitor +unique_attributes employeeNumber displayName +unique_base o=unique + +#unique_uri ldap:///?description?one +#unique_uri ldap:///?employeeNumber,displayName?sub + +#monitor#database monitor + +database config +include @TESTDIR@/configpw.conf