1 # provider slapd config -- for testing 2 # $OpenLDAP$ 3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4 ## 5 ## Copyright 1998-2024 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 include @SCHEMADIR@/core.schema 17 include @SCHEMADIR@/cosine.schema 18 include @SCHEMADIR@/inetorgperson.schema 19 include @SCHEMADIR@/openldap.schema 20 include @SCHEMADIR@/nis.schema 21 pidfile @TESTDIR@/slapd.m.pid 22 argsfile @TESTDIR@/slapd.m.args 23 24 #mod#modulepath ../servers/slapd/back-@BACKEND@/ 25 #mod#moduleload back_@BACKEND@.la 26 #relaymod#modulepath ../servers/slapd/back-relay/ 27 #relaymod#moduleload back_relay.la 28 #ldapmod#modulepath ../servers/slapd/back-ldap/ 29 #ldapmod#moduleload back_ldap.la 30 #metamod#modulepath ../servers/slapd/back-meta/ 31 #metamod#moduleload back_meta.la 32 #rwmmod#modulepath ../servers/slapd/overlays/ 33 #rwmmod#moduleload rwm.la 34 35 overlay rwm 36 rwm-suffixmassage "o=Example,c=US" "dc=example,dc=com" 37 38 ####################################################################### 39 # database definitions 40 ####################################################################### 41 42 # remote 43 database ldap 44 suffix "ou=Meta,dc=example,dc=com" 45 subordinate 46 uri "@URI2@" 47 rootdn "cn=Manager,dc=example,dc=com" 48 chase-referrals no 49 idassert-bind bindmethod=simple 50 binddn="cn=Manager,ou=Meta,dc=example,dc=com" 51 credentials="secret" 52 mode=self 53 flags=non-prescriptive 54 idassert-authzfrom "dn.exact:cn=Manager,o=Local" 55 56 # local 57 database ldap 58 suffix "dc=example,dc=com" 59 uri "@URI1@" 60 rootdn "cn=Manager,dc=example,dc=com" 61 rootpw secret 62 chase-referrals no 63 idassert-bind bindmethod=simple 64 binddn="cn=Manager,dc=example,dc=com" 65 credentials="secret" 66 mode=self 67 flags=non-prescriptive 68 idassert-authzfrom "dn.exact:cn=Manager,o=Local" 69 70 limits dn.exact="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com" time=1 size=8 71 72 # This is only for binding as the rootdn 73 database ldap 74 suffix "o=Local" 75 rootdn "cn=Manager,o=Local" 76 rootpw secret 77 uri "@URI6@" 78 79 database monitor 80