slapd.conf 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 ./target/slapd.pid
  6. argsfile ./target/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 ./target/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