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 #ldapmod#modulepath ../servers/slapd/back-ldap/ 25 #ldapmod#moduleload back_ldap.la 26 #asyncmetamod#modulepath ../servers/slapd/back-asyncmeta/ 27 #asyncmetamod#moduleload back_asyncmeta.la 28 29 # seems to improve behavior under very heavy load 30 # (i.e. it alleviates load on target systems) 31 threads 8 32 33 ####################################################################### 34 # database definitions 35 ####################################################################### 36 37 database asyncmeta 38 suffix "o=Example,c=US" 39 rootdn "cn=Manager,o=Example,c=US" 40 rootpw secret 41 chase-referrals no 42 #nretries forever 43 nretries 100 44 #norefs true 45 network-timeout 500 46 #max-timeout-ops 50 47 #max-pending-ops 128 48 #max-target-conns 16 49 50 # local 51 uri "@URI2@ou=Meta,o=Example,c=US" 52 subtree-exclude "ou=Excluded,ou=Meta,o=Example,c=US" 53 suffixmassage "ou=Meta,o=Example,c=US" "ou=Meta,dc=example,dc=com" 54 ###pseudorootdn "cn=manager,ou=meta,dc=example,dc=com" 55 ###pseudorootpw secret 56 idassert-bind bindmethod=simple 57 binddn="cn=manager,ou=meta,dc=example,dc=com" 58 credentials="secret" 59 mode=self 60 flags=non-prescriptive 61 idassert-authzFrom "dn.exact:cn=Manager,o=Local" 62 63 # remote 64 uri "@URI1@o=Example,c=US" 65 subtree-include "dn.subtree:o=Example,c=US" 66 suffixmassage "o=Example,c=US" "dc=example,dc=com" 67 ###pseudorootdn "cn=manager,dc=example,dc=com" 68 ###pseudorootpw secret 69 idassert-bind bindmethod=simple 70 binddn="cn=manager,dc=example,dc=com" 71 credentials="secret" 72 mode=self 73 flags=non-prescriptive 74 idassert-authzFrom "dn.exact:cn=Manager,o=Local" 75 76 limits dn.exact="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=Example,c=US" time=1 size=8 77 78 # This is only for binding as the rootdn 79 database asyncmeta 80 suffix "o=Local" 81 rootdn "cn=Manager,o=Local" 82 rootpw secret 83 uri "@URI6@o=Local" 84 85 database monitor 86