summaryrefslogtreecommitdiff
path: root/ldap/slapd.conf.d/05_slapd.conf.in
blob: dde73b3c0088d3fe210543d8a6d63f0437f02d26 (plain)
  1. # This is the main slapd configuration file. See slapd.conf(5) for more
  2. # info on the configuration options.
  3. #######################################################################
  4. # Global Directives:
  5. # Features to permit
  6. #allow bind_v2
  7. # Schema and objectClass definitions
  8. include /etc/ldap/schema/core.schema
  9. include /etc/ldap/schema/cosine.schema
  10. include /etc/ldap/schema/nis.schema
  11. include /etc/ldap/schema/inetorgperson.schema
  12. # Where the pid file is put. The init.d script
  13. # will not stop the server if you change this.
  14. pidfile /var/run/slapd/slapd.pid
  15. # List of arguments that were passed to the server
  16. argsfile /var/run/slapd/slapd.args
  17. # Read slapd.conf(5) for possible values
  18. loglevel none
  19. # Where the dynamically loaded modules are stored
  20. modulepath /usr/lib/ldap
  21. moduleload back_@BACKEND@
  22. # The maximum number of entries that is returned for a search operation
  23. sizelimit 500
  24. # The tool-threads parameter sets the actual amount of cpu's that is used
  25. # for indexing.
  26. tool-threads 1
  27. #######################################################################
  28. # Specific Backend Directives for @BACKEND@:
  29. # Backend specific directives apply to this backend until another
  30. # 'backend' directive occurs
  31. backend @BACKEND@
  32. #######################################################################
  33. # Specific Backend Directives for 'other':
  34. # Backend specific directives apply to this backend until another
  35. # 'backend' directive occurs
  36. #backend <other>
  37. #######################################################################
  38. # Specific Directives for database #1, of type @BACKEND@:
  39. # Database specific directives apply to this databasse until another
  40. # 'database' directive occurs
  41. database @BACKEND@
  42. # The base of your directory in database #1
  43. suffix "@SUFFIX@"
  44. # rootdn directive for specifying a superuser on the database. This is needed
  45. # for syncrepl.
  46. # rootdn "cn=admin,@SUFFIX@"
  47. # Where the database file are physically stored for database #1
  48. directory "/var/lib/ldap"
  49. # The dbconfig settings are used to generate a DB_CONFIG file the first
  50. # time slapd starts. They do NOT override existing an existing DB_CONFIG
  51. # file. You should therefore change these settings in DB_CONFIG directly
  52. # or remove DB_CONFIG and restart slapd for changes to take effect.
  53. # For the Debian package we use 2MB as default but be sure to update this
  54. # value if you have plenty of RAM
  55. dbconfig set_cachesize 0 2097152 0
  56. # Sven Hartge reported that he had to set this value incredibly high
  57. # to get slapd running at all. See http://bugs.debian.org/303057 for more
  58. # information.
  59. # Number of objects that can be locked at the same time.
  60. dbconfig set_lk_max_objects 1500
  61. # Number of locks (both requested and granted)
  62. dbconfig set_lk_max_locks 1500
  63. # Number of lockers
  64. dbconfig set_lk_max_lockers 1500
  65. # Indexing options for database #1
  66. index objectClass eq
  67. # Save the time that the entry gets modified, for database #1
  68. lastmod on
  69. # Checkpoint the BerkeleyDB database periodically in case of system
  70. # failure and to speed slapd shutdown.
  71. checkpoint 512 30
  72. # Where to store the replica logs for database #1
  73. # replogfile /var/lib/ldap/replog