2020-06-15 16:06:35 -04:00
|
|
|
# provider slapd config -- for testing
|
2004-03-16 05:16:21 -05:00
|
|
|
# $OpenLDAP$
|
|
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
|
##
|
2024-03-26 15:45:07 -04:00
|
|
|
## Copyright 1998-2024 The OpenLDAP Foundation.
|
2004-03-16 05:16:21 -05: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>.
|
|
|
|
|
|
2005-09-28 19:38:15 -04:00
|
|
|
include @SCHEMADIR@/core.schema
|
|
|
|
|
include @SCHEMADIR@/cosine.schema
|
|
|
|
|
include @SCHEMADIR@/inetorgperson.schema
|
|
|
|
|
include @SCHEMADIR@/openldap.schema
|
|
|
|
|
include @SCHEMADIR@/nis.schema
|
2004-03-16 05:16:21 -05:00
|
|
|
|
|
|
|
|
#mod#modulepath ../servers/slapd/back-@BACKEND@/
|
|
|
|
|
#mod#moduleload back_@BACKEND@.la
|
2004-07-26 16:26:52 -04:00
|
|
|
#ppolicymod#modulepath ../servers/slapd/overlays/
|
|
|
|
|
#ppolicymod#moduleload ppolicy.la
|
2004-03-16 05:16:21 -05:00
|
|
|
|
|
|
|
|
#######################################################################
|
2004-10-04 18:02:31 -04:00
|
|
|
# database definitions
|
2004-03-16 05:16:21 -05:00
|
|
|
#######################################################################
|
|
|
|
|
|
|
|
|
|
database @BACKEND@
|
2004-04-21 18:42:34 -04:00
|
|
|
suffix "dc=example,dc=com"
|
|
|
|
|
rootdn "cn=Manager,dc=example,dc=com"
|
2004-03-16 05:16:21 -05:00
|
|
|
rootpw secret
|
2009-11-29 13:38:04 -05:00
|
|
|
#~null~#directory @TESTDIR@/db.1.a
|
2011-09-01 07:43:55 -04:00
|
|
|
#indexdb#index objectClass eq
|
2007-06-14 18:29:29 -04:00
|
|
|
|
2019-10-24 09:14:05 -04:00
|
|
|
lastbind on
|
|
|
|
|
|
2004-03-16 05:16:21 -05:00
|
|
|
overlay ppolicy
|
2023-02-21 11:44:34 -05:00
|
|
|
ppolicy_rules dn.regex="uid=([^,]*),ou=people,(dc=example,dc=com)"
|
|
|
|
|
group/groupOfNames/member.expand="cn=Test Group,ou=Groups,$2"
|
|
|
|
|
policy_dn.expand="cn=$1 policy,ou=Policies,dc=example,dc=com"
|
|
|
|
|
ppolicy_rules dn.baseObject="uid=ndadmin,ou=People,dc=example,dc=com" no_policy
|
|
|
|
|
ppolicy_rules filter="(description=idle)"
|
|
|
|
|
policy_dn="cn=Idle Expiration Policy, ou=Policies, dc=example, dc=com"
|
2004-04-21 18:42:34 -04:00
|
|
|
ppolicy_default "cn=Standard Policy,ou=Policies,dc=example,dc=com"
|
2004-03-20 04:26:15 -05:00
|
|
|
ppolicy_use_lockout
|
2004-03-16 05:16:21 -05:00
|
|
|
|
2006-04-24 18:53:22 -04:00
|
|
|
access to attrs=userpassword
|
2004-03-16 05:16:21 -05:00
|
|
|
by self write
|
2020-06-24 07:54:27 -04:00
|
|
|
by dn="uid=ndadmin, ou=People, dc=example, dc=com" manage
|
2004-03-16 05:16:21 -05:00
|
|
|
by * auth
|
|
|
|
|
|
|
|
|
|
access to *
|
|
|
|
|
by self write
|
|
|
|
|
by * read
|
2004-07-26 16:26:52 -04:00
|
|
|
|
2020-09-17 11:45:23 -04:00
|
|
|
database monitor
|
2009-07-01 03:46:06 -04:00
|
|
|
|
|
|
|
|
database config
|
|
|
|
|
include @TESTDIR@/configpw.conf
|