1 # stand-alone slapd config -- for testing (with indexing) 2 # $OpenLDAP$ 3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4 ## 5 ## Copyright 2005-2024 The OpenLDAP Foundation. 6 ## All rights reserved. 7 ## 8 ## Redistribution and use in source and binary forms, with or without 9 ## modification, are permitted only as authorized by the OpenLDAP 10 ## Public License. 11 ## 12 ## A copy of this license is available in the file LICENSE in the 13 ## top-level directory of the distribution or, alternatively, at 14 ## <http://www.OpenLDAP.org/license.html>. 15 16 include @SCHEMADIR@/core.schema 17 include @SCHEMADIR@/cosine.schema 18 include @SCHEMADIR@/inetorgperson.schema 19 include @SCHEMADIR@/openldap.schema 20 include @SCHEMADIR@/nis.schema 21 include @DATADIR@/test.schema 22 23 # 24 pidfile @TESTDIR@/slapd.1.pid 25 argsfile @TESTDIR@/slapd.1.args 26 27 #mod#modulepath ../servers/slapd/back-@BACKEND@/ 28 #mod#moduleload back_@BACKEND@.la 29 #ddsmod#modulepath ../servers/slapd/overlays/ 30 #ddsmod#moduleload dds.la 31 32 ####################################################################### 33 # database definitions 34 ####################################################################### 35 36 database @BACKEND@ 37 suffix "dc=example,dc=com" 38 rootdn "cn=Manager,dc=example,dc=com" 39 rootpw secret 40 #~null~#directory @TESTDIR@/db.1.a 41 #indexdb#index objectClass eq 42 #indexdb#index cn,sn,uid pres,eq,sub 43 #indexdb#index entryExpireTimestamp eq 44 add_content_acl on 45 46 overlay dds 47 dds-max-ttl 1d 48 dds-min-ttl 10s 49 dds-default-ttl 1h 50 dds-interval 5s 51 dds-tolerance 1s 52 53 # This is to test the meeting feature 54 access to attrs=userPassword 55 by self write 56 by * read 57 58 access to dn.base="ou=Groups,dc=example,dc=com" 59 attrs=children 60 by users write 61 62 access to dn.onelevel="ou=Groups,dc=example,dc=com" 63 attrs=entryTtl 64 by dnattr=member manage 65 by * read 66 67 access to dn.onelevel="ou=Groups,dc=example,dc=com" 68 by dnattr=creatorsName write 69 by * break 70 71 access to dn.onelevel="ou=Groups,dc=example,dc=com" 72 attrs=entry 73 by * read 74 75 access to dn.onelevel="ou=Groups,dc=example,dc=com" 76 attrs=member 77 by users selfwrite 78 by * read 79 80 access to * 81 by * read 82 83 database monitor 84