1999-12-13 02:45:06 +08:00
|
|
|
# master slapd config -- for testing
|
2004-04-22 06:14:01 +08:00
|
|
|
# $OpenLDAP: pkg/ldap/tests/data/slapd-pw.conf,v 1.19.2.4 2003/12/15 22:05:29
|
|
|
|
kurt Exp $
|
2003-11-29 04:00:23 +08:00
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
##
|
2005-01-02 04:49:32 +08:00
|
|
|
## Copyright 1998-2005 The OpenLDAP Foundation.
|
2003-11-29 04:00:23 +08:00
|
|
|
## All rights reserved.
|
|
|
|
##
|
|
|
|
## Redistribution and use in source and binary forms, with or without
|
|
|
|
## modification, are permitted only as authorized by the OpenLDAP
|
|
|
|
## Public License.
|
|
|
|
##
|
|
|
|
## A copy of this license is available in the file LICENSE in the
|
|
|
|
## top-level directory of the distribution or, alternatively, at
|
|
|
|
## <http://www.OpenLDAP.org/license.html>.
|
|
|
|
|
2000-05-30 00:39:16 +08:00
|
|
|
include ./schema/core.schema
|
|
|
|
include ./schema/cosine.schema
|
|
|
|
include ./schema/inetorgperson.schema
|
2001-12-20 07:41:31 +08:00
|
|
|
include ./schema/openldap.schema
|
2003-08-08 00:42:40 +08:00
|
|
|
include ./schema/nis.schema
|
2003-10-22 13:14:08 +08:00
|
|
|
pidfile ./testrun/slapd.1.pid
|
|
|
|
argsfile ./testrun/slapd.1.args
|
1999-12-13 02:45:06 +08:00
|
|
|
|
|
|
|
# password-hash {md5}
|
|
|
|
|
2003-12-04 19:15:07 +08:00
|
|
|
#mod#modulepath ../servers/slapd/back-@BACKEND@/
|
|
|
|
#mod#moduleload back_@BACKEND@.la
|
2004-07-27 04:26:52 +08:00
|
|
|
#monitormod#modulepath ../servers/slapd/back-monitor/
|
|
|
|
#monitormod#moduleload back_monitor.la
|
2003-04-30 11:04:18 +08:00
|
|
|
|
1999-12-13 02:45:06 +08:00
|
|
|
#######################################################################
|
2004-10-05 06:02:31 +08:00
|
|
|
# database definitions
|
1999-12-13 02:45:06 +08:00
|
|
|
#######################################################################
|
|
|
|
|
2000-10-02 06:46:52 +08:00
|
|
|
database @BACKEND@
|
2002-01-14 11:42:24 +08:00
|
|
|
#ldbm#cachesize 0
|
2004-04-22 06:14:01 +08:00
|
|
|
suffix "dc=example,dc=com"
|
2003-10-22 13:14:08 +08:00
|
|
|
directory ./testrun/db.1.a
|
2004-04-22 06:14:01 +08:00
|
|
|
rootdn "cn=Manager,dc=example,dc=com"
|
1999-12-13 02:45:06 +08:00
|
|
|
rootpw secret
|
2000-07-26 09:06:27 +08:00
|
|
|
index objectClass eq
|
2000-07-19 09:08:42 +08:00
|
|
|
index cn,sn,uid pres,eq,sub
|
1999-12-13 02:45:06 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# normal installations should protect root dse,
|
|
|
|
# cn=monitor, cn=schema, and cn=config
|
|
|
|
#
|
|
|
|
|
|
|
|
access to attr=userpassword
|
|
|
|
by anonymous auth
|
|
|
|
by self write
|
|
|
|
|
|
|
|
access to *
|
|
|
|
by self write
|
|
|
|
by * read
|
2004-07-27 04:26:52 +08:00
|
|
|
|
|
|
|
#monitor#database monitor
|