Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

slapd.conf

By: a guest on Apr 4th, 2012  |  syntax: None  |  size: 1.69 KB  |  views: 25  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #
  2. # See slapd.conf(5) for details on configuration options.
  3. # This file should NOT be world readable.
  4. #
  5. include         /etc/ldap/schema/core.schema
  6. include         /etc/ldap/schema/cosine.schema
  7. include         /etc/ldap/schema/inetorgperson.schema
  8.  
  9. include         /etc/ldap/schema/sselab.schema
  10.  
  11. moduleload      back_sql
  12. moduleload      back_ldap
  13.  
  14. # Define global ACLs to disable default read access.
  15. # Define global ACLs to disable default read access.
  16. access to *
  17.         by self write
  18.         by * read
  19. access to * by dn="cn=root,dc=sselab,dc=de" write
  20.  
  21. # Do not enable referrals until AFTER you have a working directory
  22. # service AND an understanding of referrals.
  23. #referral       ldap://root.openldap.org
  24.  
  25.  
  26.  
  27. #overlay                        chain
  28. #chain-uri              ldap://localhost:390/
  29. #chain-idassert-bind    bindmethod=simple
  30. #                       binddn="cn=root,dc=tim,dc=sselab,dc=de"
  31. #                       credentials=root
  32. #                       mode=self
  33. #                       flags=non-prescriptive
  34. #chain-rebind-as-user   true
  35. #chain-return-error     true
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43. pidfile         /var/run/slapd/slapd.pid
  44. argsfile        /var/run/slapd/slapd.args
  45.  
  46. password-hash {SHA}
  47.  
  48. #######################################################################
  49. # sql database definitions
  50. #######################################################################
  51.  
  52. database                sql
  53. suffix                  "dc=sselab,dc=de"
  54. rootdn                  "cn=root,dc=sselab,dc=de"
  55. rootpw                  abcd
  56. dbname                  PgSQL
  57. dbuser                  sselab
  58. dbpasswd                efgh
  59. readonly                on
  60. insentry_query          "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select max(id)+1 from ldap_entries),?,?,?,?)"
  61. upper_func              "upper"
  62. strcast_func            "text"
  63. concat_pattern          "?||?"
  64. has_ldapinfo_dn_ru  no
  65.  
  66. lastmod                         off