]> git.sur5r.net Git - openldap/blob - tests/data/slapd-ldapglue.conf
Happy new year (belated)
[openldap] / tests / data / slapd-ldapglue.conf
1 # master slapd config -- for testing
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2014 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
17 include         @SCHEMADIR@/core.schema
18 include         @SCHEMADIR@/cosine.schema
19 include         @SCHEMADIR@/inetorgperson.schema
20 include         @SCHEMADIR@/openldap.schema
21 include         @SCHEMADIR@/nis.schema
22 pidfile         @TESTDIR@/slapd.1.pid
23 argsfile        @TESTDIR@/slapd.1.args
24
25 #mod#modulepath ../servers/slapd/back-@BACKEND@/
26 #mod#moduleload back_@BACKEND@.la
27 #ldapmod#modulepath ../servers/slapd/back-ldap/
28 #ldapmod#moduleload back_ldap.la
29 #monitormod#modulepath ../servers/slapd/back-monitor/
30 #monitormod#moduleload back_monitor.la
31
32 #######################################################################
33 # database definitions
34 #######################################################################
35
36 authz-regexp    "^uid=([^,]+),.*" "uid=$1,ou=People,dc=example,dc=com"
37
38 #
39 # normal installations should protect root dse,
40 # cn=monitor, cn=schema, and cn=config
41 #
42
43 access to attrs=userpassword
44         by self =wx
45         by anonymous =x
46
47 access to *
48         by * read
49
50 # groups branch
51 database        ldap
52 suffix          "ou=Groups,dc=example,dc=com"
53 subordinate
54 uri             "@URI3@"
55 # FIXME: doesn't work with authz=native
56 #sasl#idassert-bind     bindmethod=sasl authcid=proxy credentials=proxy @SASL_MECH@ mode=self
57 #nosasl#idassert-bind   bindmethod=simple binddn="uid=proxy,ou=Groups,dc=example,dc=com" credentials=proxy mode=self
58
59 # people branch
60 database        ldap
61 suffix          "ou=People,dc=example,dc=com"
62 subordinate
63 uri             "@URI2@"
64 # FIXME: doesn't work with authz=native
65 #sasl#idassert-bind     bindmethod=sasl authcid=proxy credentials=proxy @SASL_MECH@ mode=self
66 #nosasl#idassert-bind   bindmethod=simple binddn="uid=proxy,ou=People,dc=example,dc=com" credentials=proxy mode=self
67
68 # root
69 database        @BACKEND@
70 suffix          "dc=example,dc=com"
71 rootdn          "cn=Manager,dc=example,dc=com"
72 rootpw          secret
73 #~null~#directory       @TESTDIR@/db.1.a
74 #indexdb#index          objectClass     eq
75 #indexdb#index          cn,sn,uid       pres,eq,sub
76 #ndb#dbname db_1
77 #ndb#include @DATADIR@/ndb.conf
78
79 #monitor#database       monitor