patch-servers_slapd_slapd_conf 1.0 KB

1234567891011121314151617181920212223242526272829
  1. $OpenBSD: patch-servers_slapd_slapd_conf,v 1.2 2016/09/01 16:50:35 landry Exp $
  2. --- servers/slapd/slapd.conf.orig Sat Feb 6 00:57:45 2016
  3. +++ servers/slapd/slapd.conf Thu Sep 1 18:40:16 2016
  4. @@ -10,8 +10,8 @@ include %SYSCONFDIR%/schema/core.schema
  5. # service AND an understanding of referrals.
  6. #referral ldap://root.openldap.org
  7. -pidfile %LOCALSTATEDIR%/run/slapd.pid
  8. -argsfile %LOCALSTATEDIR%/run/slapd.args
  9. +pidfile %LOCALSTATEDIR%/run/openldap/slapd.pid
  10. +argsfile %LOCALSTATEDIR%/run/openldap/slapd.args
  11. # Load dynamic backend modules:
  12. # modulepath %MODULEDIR%
  13. @@ -46,11 +46,10 @@ argsfile %LOCALSTATEDIR%/run/slapd.args
  14. # rootdn can always read and write EVERYTHING!
  15. #######################################################################
  16. -# MDB database definitions
  17. +# BDB database definitions
  18. #######################################################################
  19. -database mdb
  20. -maxsize 1073741824
  21. +database bdb
  22. suffix "dc=my-domain,dc=com"
  23. rootdn "cn=Manager,dc=my-domain,dc=com"
  24. # Cleartext passwords, especially for the rootdn, should