slapd.conf 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. include /etc/openldap/schema/core.schema
  2. include /etc/openldap/schema/cosine.schema
  3. include /etc/openldap/schema/inetorgperson.schema
  4. include /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. #allow bind_anon
  14. allow bind_v2 bind_anon_dn
  15. #require authc
  16. access to dn.base=""
  17. by * read
  18. database bdb
  19. suffix "dc=springsource,dc=com"
  20. checkpoint 1024 5
  21. cachesize 10000
  22. rootdn "cn=admin,dc=springsource,dc=com"
  23. rootpw password
  24. directory ./build/openldap
  25. index uid eq
  26. index cn eq
  27. index objectClass eq
  28. access to attrs=userpassword
  29. by self =wx
  30. by anonymous =x
  31. by * none
  32. access to dn.subtree="ou=users,dc=springsource,dc=com"
  33. by self write
  34. by * read
  35. #overlay ppolicy
  36. #ppolicy_default "cn=default,ou=policies,dc=springsource,dc=com"
  37. #ppolicy_use_lockout
  38. #ppolicy_hash_cleartext