--- tests/data/slapd-dds.conf 2006/01/06 17:25:22 1.2 +++ tests/data/slapd-dds.conf 2009/01/22 00:01:16 1.2.2.7 @@ -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: pkg/ldap/tests/data/slapd-dds.conf,v 1.2.2.6 2008/11/10 22:57:29 quanah Exp $ ## This work is part of OpenLDAP Software . ## -## Copyright 2005-2006 The OpenLDAP Foundation. +## Copyright 2005-2009 The OpenLDAP Foundation. ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without @@ -46,9 +46,9 @@ rootpw secret #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 *