--- tests/data/slapd-dds.conf 2006/01/06 17:25:22 1.2 +++ tests/data/slapd-dds.conf 2010/04/19 19:14:27 1.2.2.9 @@ -1,8 +1,8 @@ # stand-alone slapd config -- for testing (with indexing) -# $OpenLDAP: pkg/ldap/tests/data/slapd-dds.conf,v 1.1 2006/01/06 16:46:53 ando Exp $ +# $OpenLDAP$ ## This work is part of OpenLDAP Software . ## -## Copyright 2005-2006 The OpenLDAP Foundation. +## Copyright 2005-2010 The OpenLDAP Foundation. ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without @@ -37,18 +37,18 @@ argsfile @TESTDIR@/slapd.1.args database @BACKEND@ suffix "dc=example,dc=com" -directory @TESTDIR@/db.1.a rootdn "cn=Manager,dc=example,dc=com" rootpw secret +#~null~#directory @TESTDIR@/db.1.a #bdb#index objectClass eq #bdb#index cn,sn,uid pres,eq,sub #bdb#index entryExpireTimestamp eq #hdb#index objectClass eq #hdb#index cn,sn,uid pres,eq,sub #hdb#index entryExpireTimestamp eq -#ldbm#index objectClass eq -#ldbm#index cn,sn,uid pres,eq,sub -#ldbm#index entryExpireTimestamp eq +#ndb#dbname db_1 +#ndb#include @DATADIR@/ndb.conf +add_content_acl on overlay dds dds-max-ttl 1d @@ -67,19 +67,21 @@ access to dn.base="ou=Groups,dc=example, by users write access to dn.onelevel="ou=Groups,dc=example,dc=com" - attrs=entry - by dnattr=creatorsName write + attrs=entryTtl + by dnattr=member manage by * read access to dn.onelevel="ou=Groups,dc=example,dc=com" - attrs=member by dnattr=creatorsName write - by users selfwrite + by * break + +access to dn.onelevel="ou=Groups,dc=example,dc=com" + attrs=entry by * read access to dn.onelevel="ou=Groups,dc=example,dc=com" - attrs=entryTtl - by dnattr=member manage + attrs=member + by users selfwrite by * read access to *