slapd.conf 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #
  2. # See slapd.conf(5) for details on configuration options.
  3. # This file should NOT be world readable.
  4. #
  5. include /etc/openldap/schema/core.schema
  6. # Define global ACLs to disable default read access.
  7. # Do not enable referrals until AFTER you have a working directory
  8. # service AND an understanding of referrals.
  9. #referral ldap://root.openldap.org
  10. # If you change this, adjust pidfile path also in runscript!
  11. pidfile /run/openldap/slapd.pid
  12. argsfile /run/openldap/slapd.args
  13. # Load dynamic backend modules:
  14. modulepath /usr/lib/openldap
  15. moduleload back_mdb.so
  16. # moduleload back_hdb.so
  17. # moduleload back_bbd.so
  18. # moduleload back_ldap.so
  19. # Sample security restrictions
  20. # Require integrity protection (prevent hijacking)
  21. # Require 112-bit (3DES or better) encryption for updates
  22. # Require 63-bit encryption for simple bind
  23. # security ssf=1 update_ssf=112 simple_bind=64
  24. # Sample access control policy:
  25. # Root DSE: allow anyone to read it
  26. # Subschema (sub)entry DSE: allow anyone to read it
  27. # Other DSEs:
  28. # Allow self write access
  29. # Allow authenticated users read access
  30. # Allow anonymous users to authenticate
  31. # Directives needed to implement policy:
  32. # access to dn.base="" by * read
  33. # access to dn.base="cn=Subschema" by * read
  34. access to *
  35. by self write
  36. by users read
  37. by anonymous auth
  38. #
  39. # if no access controls are present, the default policy
  40. # allows anyone and everyone to read anything but restricts
  41. # updates to rootdn. (e.g., "access to * by * read")
  42. #
  43. # rootdn can always read and write EVERYTHING!
  44. #######################################################################
  45. # MDB database definitions
  46. #######################################################################
  47. database mdb
  48. maxsize 1073741824
  49. suffix "dc=slurm,dc=ch"
  50. rootdn "cn=admin,dc=slurm,dc=ch"
  51. # Cleartext passwords, especially for the rootdn, should
  52. # be avoid. See slappasswd(8) and slapd.conf(5) for details.
  53. # Use of strong authentication encouraged.
  54. rootpw {SSHA}O61WeqsSLZNO2yF3PgpO7La1lumlekCW
  55. # The database directory MUST exist prior to running slapd AND
  56. # should only be accessible by the slapd and slap tools.
  57. # Mode 700 recommended.
  58. directory /var/lib/ldap
  59. # Indices to maintain
  60. index objectClass eq