1999-09-09 06:52:19 +08:00
|
|
|
# $OpenLDAP$
|
1998-08-09 08:43:13 +08:00
|
|
|
#
|
|
|
|
# master slapd config -- for testing
|
|
|
|
#
|
2000-05-30 00:39:16 +08:00
|
|
|
#include ./data/slapd.at.conf
|
|
|
|
#include ./data/slapd.oc.conf
|
|
|
|
include ./schema/core.schema
|
|
|
|
include ./schema/cosine.schema
|
|
|
|
include ./schema/inetorgperson.schema
|
1998-08-09 08:43:13 +08:00
|
|
|
schemacheck off
|
1999-01-22 02:08:33 +08:00
|
|
|
pidfile ./test-db/slapd.pid
|
|
|
|
argsfile ./test-db/slapd.args
|
1998-08-09 08:43:13 +08:00
|
|
|
|
|
|
|
#######################################################################
|
|
|
|
# ldbm database definitions
|
|
|
|
#######################################################################
|
|
|
|
|
|
|
|
database ldbm
|
1999-04-10 09:40:33 +08:00
|
|
|
cachesize 0
|
1998-08-09 08:43:13 +08:00
|
|
|
suffix "o=University of Michigan, c=US"
|
|
|
|
directory ./test-db
|
|
|
|
rootdn "cn=Manager, o=University of Michigan, c=US"
|
|
|
|
rootpw secret
|
2000-06-05 06:59:38 +08:00
|
|
|
index cn,sn,uid pres,eq
|
1998-08-09 08:43:13 +08:00
|
|
|
lastmod on
|
|
|
|
defaultaccess none
|
1999-07-05 14:26:26 +08:00
|
|
|
|
1999-07-16 10:45:46 +08:00
|
|
|
#
|
|
|
|
# normal installations should protect root dse,
|
|
|
|
# cn=monitor, cn=schema, and cn=config
|
|
|
|
#
|
|
|
|
|
1998-08-09 08:43:13 +08:00
|
|
|
access to attr=objectclass
|
1999-10-22 05:23:43 +08:00
|
|
|
by * =rsc stop
|
1999-07-05 14:26:26 +08:00
|
|
|
|
|
|
|
access to filter="objectclass=person" attr=userpassword
|
|
|
|
by anonymous auth
|
1999-10-22 02:48:16 +08:00
|
|
|
by self write
|
1999-07-05 14:26:26 +08:00
|
|
|
|
1999-10-27 06:52:53 +08:00
|
|
|
access to dn=".*,ou=Alumni Association,ou=People,o=University of Michigan,c=US$"
|
|
|
|
by dn="^$" +x continue
|
2000-06-13 11:24:12 +08:00
|
|
|
by dn.regex=".+,o=University of Michigan,c=US" +c continue
|
|
|
|
by dn.subtree="o=University of Michigan, c=US" +rs continue
|
1999-10-22 05:23:43 +08:00
|
|
|
by * stop
|
1999-07-05 14:26:26 +08:00
|
|
|
|
1998-08-09 08:43:13 +08:00
|
|
|
access to attr=member
|
|
|
|
by dnattr=member selfwrite
|
|
|
|
by * read
|
1999-07-05 14:26:26 +08:00
|
|
|
|
2000-05-24 03:47:54 +08:00
|
|
|
access to filter="objectclass=groupofnames"
|
2000-06-13 11:24:12 +08:00
|
|
|
by dn.base="cn=Bjorn Jensen, ou=Information Technology Division, ou=People, o=University of Michigan,c=US" =sc continue
|
1999-10-22 07:17:17 +08:00
|
|
|
by dn="^cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=University of Michigan,c=US$" +rw stop
|
1999-10-22 05:23:43 +08:00
|
|
|
by * break
|
1999-07-05 14:26:26 +08:00
|
|
|
|
1998-08-09 08:43:13 +08:00
|
|
|
access to * by * read
|