1# master slapd config -- for testing 2# $OpenLDAP: pkg/ldap/tests/data/slapd-ldapgluegroups.conf,v 1.8.2.5 2008/02/12 01:10:27 quanah Exp $ 3## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4## 5## Copyright 1998-2008 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#ucdata-path ./ucdata 17include @SCHEMADIR@/core.schema 18include @SCHEMADIR@/cosine.schema 19include @SCHEMADIR@/inetorgperson.schema 20include @SCHEMADIR@/openldap.schema 21include @SCHEMADIR@/nis.schema 22pidfile @TESTDIR@/slapd.3.pid 23argsfile @TESTDIR@/slapd.3.args 24 25#mod#modulepath ../servers/slapd/back-@BACKEND@/ 26#mod#moduleload back_@BACKEND@.la 27#monitormod#modulepath ../servers/slapd/back-monitor/ 28#monitormod#moduleload back_monitor.la 29 30####################################################################### 31# database definitions 32####################################################################### 33 34authz-policy to 35authz-regexp "^uid=([^,]+),.*" "uid=$1,ou=Groups,dc=example,dc=com" 36 37# 38# normal installations should protect root dse, 39# cn=monitor, cn=schema, and cn=config 40# 41 42access to attrs=userpassword 43 by self =wx 44 by anonymous =x 45 46access to * 47 by users read 48 by * search 49 50# people branch 51database @BACKEND@ 52suffix "ou=Groups,dc=example,dc=com" 53directory @TESTDIR@/db.3.a 54rootdn "cn=Manager,ou=Groups,dc=example,dc=com" 55rootpw secret 56#bdb#index objectClass eq 57#bdb#index cn,sn,uid pres,eq,sub 58#hdb#index objectClass eq 59#hdb#index cn,sn,uid pres,eq,sub 60 61#monitor#database monitor 62