slapd.conf 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. include /opt/local/etc/openldap/schema/core.schema
  2. include /opt/local/etc/openldap/schema/cosine.schema
  3. include /opt/local/etc/openldap/schema/inetorgperson.schema
  4. include /opt/local/etc/openldap/schema/ppolicy.schema
  5. pidfile ./build/slapd.pid
  6. argsfile ./build/slapd.args
  7. # Load dynamic backend modules:
  8. modulepath /usr/lib/openldap/modules
  9. # moduleload back_ldap.la
  10. # moduleload back_meta.la
  11. # moduleload back_monitor.la
  12. # moduleload back_perl.la
  13. #disallow bind_anon
  14. require authc
  15. access to dn.base=""
  16. by * read
  17. database bdb
  18. suffix "dc=springsource,dc=com"
  19. checkpoint 1024 5
  20. cachesize 10000
  21. rootdn "cn=admin,dc=springsource,dc=com"
  22. rootpw password
  23. directory ./build/openldap
  24. index uid eq
  25. index cn eq
  26. index objectClass eq
  27. access to attrs=userpassword
  28. by self =wx
  29. by anonymous =x
  30. by * none
  31. access to dn.subtree="ou=users,dc=qbe,dc=com"
  32. by self write
  33. by * read
  34. #overlay ppolicy
  35. #ppolicy_default "cn=default,ou=policies,dc=springsource,dc=com"
  36. #ppolicy_use_lockout
  37. #ppolicy_hash_cleartext