slapd.conf 993 B

123456789101112131415161718192021222324252627282930
  1. # See slapd.conf(5) for details on configuration options.
  2. # This file should NOT be world readable.
  3. #
  4. include /etc/openldap/schema/core.schema
  5. pidfile /var/run/slapd.pid
  6. argsfile /var/run/slapd.args
  7. # Load dynamic backend modules:
  8. # modulepath /usr/sbin/openldap
  9. # moduleload back_bdb.la
  10. # moduleload back_hdb.la
  11. # moduleload back_ldap.la
  12. #######################################################################
  13. # BDB database definitions
  14. #######################################################################
  15. database bdb
  16. suffix "dc=my-domain,dc=com"
  17. rootdn "cn=Manager,dc=my-domain,dc=com"
  18. # Cleartext passwords, especially for the rootdn, should
  19. # be avoid. See slappasswd(8) and slapd.conf(5) for details.
  20. # Use of strong authentication encouraged.
  21. rootpw secret
  22. # The database directory MUST exist prior to running slapd AND
  23. # should only be accessible by the slapd and slap tools.
  24. # Mode 700 recommended.
  25. directory /var/openldap-data
  26. # Indices to maintain
  27. index objectClass eq