Advertisement
Draconk

config ldap

Feb 20th, 2014
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. # Load dynamic backend modules
  2. dn: cn=module,cn=config
  3. objectClass: olcModuleList
  4. cn: module
  5. olcModulepath: /usr/lib/ldap
  6. olcModuleload: back_hdb.la
  7.  
  8. # Database settings
  9. dn: olcDatabase=hdb,cn=config
  10. objectClass: olcDatabaseConfig
  11. objectClass: olcHdbConfig
  12. olcDatabase: {1}hdb
  13. olcSuffix: dc=AMS104,dc=com
  14. olcDbDirectory: /var/lib/ldap
  15. olcRootDN: cn=root,dc=example,dc=com
  16. olcRootPW: secret
  17. olcDbConfig: set_cachesize 0 2097152 0
  18. olcDbConfig: set_lk_max_objects 1500
  19. olcDbConfig: set_lk_max_locks 1500
  20. olcDbConfig: set_lk_max_lockers 1500
  21. olcDbIndex: objectClass eq
  22. olcLastMod: TRUE
  23. olcDbCheckpoint: 512 30
  24. olcAccess: to attrs=userPassword by dn="cn=root,dc=AMS104,dc=com" write by anonymous auth by self write by * none
  25. olcAccess: to attrs=shadowLastChange by self write by * read
  26. olcAccess: to dn.base="" by * read
  27. olcAccess: to * by dn="cn=root,dc=AMS104,dc=com" write by * read
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement