Advertisement
gnu699

config_ldap_mdb

Jun 14th, 2013
2,893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
LDIF 4.41 KB | None | 0 0
  1. dn: cn=config
  2. objectClass: olcGlobal
  3. cn: config
  4. olcArgsFile: /var/lib/ldap/run/slapd.args
  5. olcPidFile: /var/lib/ldap/run/slapd.pid
  6. olcToolThreads: 1
  7. olcThreads: 8
  8. olcSizeLimit: 0
  9. olcServerID: 1
  10. olcLogLevel: 256 stats2 sync
  11.  
  12. dn: cn=module{0},cn=config
  13. objectClass: olcModuleList
  14. cn: module{0}
  15. olcModulePath: /usr/local/lib
  16. olcModuleLoad: {0}back_mdb
  17. olcModuleLoad: {1}syncprov
  18. olcModuleLoad: {2}back_monitor
  19. olcModuleLoad: {3}ppolicy
  20.  
  21. dn: cn=schema,cn=config
  22. objectClass: olcSchemaConfig
  23. cn: schema
  24.  
  25. dn: cn={0}core,cn=schema,cn=config
  26. objectClass: olcSchemaConfig
  27. cn: {0}core
  28.  
  29. dn: cn={1}cosine,cn=schema,cn=config
  30. objectClass: olcSchemaConfig
  31. cn: {1}cosine
  32.  
  33. dn: cn={2}nis,cn=schema,cn=config
  34. objectClass: olcSchemaConfig
  35. cn: {2}nis
  36.  
  37. dn: cn={3}inetorgperson,cn=schema,cn=config
  38. objectClass: olcSchemaConfig
  39. cn: {3}inetorgperson
  40.  
  41. dn: cn={4}dhcp,cn=schema,cn=config
  42. objectClass: olcSchemaConfig
  43. cn: {4}dhcp
  44.  
  45. dn: cn={5}ldapns,cn=schema,cn=config
  46. objectClass: olcSchemaConfig
  47. cn: {5}ldapns
  48.  
  49. dn: cn={6}ppolicy,cn=schema,cn=config
  50. objectClass: olcSchemaConfig
  51. cn: {6}ppolicy
  52.  
  53. dn: olcBackend={0}mdb,cn=config
  54. objectClass: olcBackendConfig
  55. olcBackend: {0}mdb
  56.  
  57. dn: olcDatabase={-1}frontend,cn=config
  58. objectClass: olcDatabaseConfig
  59. objectClass: olcFrontendConfig
  60. olcDatabase: {-1}frontend
  61. olcAccess: {0}to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external
  62.  ,cn=auth manage by * break
  63. olcAccess: {1}to dn.base="" by * read
  64. olcAccess: {2}to dn.base="cn=subschema" by * read
  65. olcAccess: {3}to dn.subtree="cn=Monitor" by dn="cn=admin,cn=config" read
  66. olcSizeLimit: 500
  67.  
  68. dn: olcDatabase={0}config,cn=config
  69. objectClass: olcDatabaseConfig
  70. olcDatabase: {0}config
  71. olcAccess: {0}to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external
  72.  ,cn=auth manage by * break
  73. olcRootDN: cn=admin,cn=config
  74. olcRootPW: password
  75.  
  76. dn: olcDatabase={1}mdb,cn=config
  77. objectClass: olcDatabaseConfig
  78. objectClass: olcMdbConfig
  79. olcDatabase: {1}mdb
  80. olcDbDirectory: /var/lib/ldap/openldap-data/
  81. olcSuffix: dc=entreprise,dc=com
  82. olcAccess: {0}to attrs=userPassword by dn="dc=entreprise,dc=com" write
  83.   by anonymous auth by self write by * none
  84. olcAccess: {1}to attrs=shadowLastChange by self write by * read
  85. olcAccess: {2}to dn.base="" by * read
  86. olcAccess: {3}to * by dn="dc=entreprise,dc=com" write by * read
  87. olcLastMod: TRUE
  88. olcRootDN: cn=admin,dc=entreprise,dc=com
  89. olcRootPW: password
  90. olcDbCheckpoint: 1024 5
  91. olcDbIndex: cn sub,eq
  92. olcDbIndex: default sub
  93. olcDbIndex: dhcpClassData eq
  94. olcDbIndex: dhcpHWAddress eq
  95. olcDbIndex: dhcpPrimaryDN eq
  96. olcDbIndex: displayName eq
  97. olcDbIndex: entryUUID eq
  98. olcDbIndex: entryCSN eq
  99. olcDbIndex: gidNumber eq
  100. olcDbIndex: ipHostNumber eq
  101. olcDbIndex: loginShell eq
  102. olcDbIndex: member eq
  103. olcDbIndex: memberUid eq,pres,sub
  104. olcDbIndex: objectClass eq
  105. olcDbIndex: uid eq,pres,sub
  106. olcDbIndex: uidNumber eq
  107. olcDbIndex: uniqueMember eq,pres
  108. olcDbMaxSize: 13958643712
  109. olcDbMode: 0600
  110. olcDbEnvFlags: writemap
  111. olcDbEnvFlags: nometasync
  112. olcMonitoring: TRUE
  113. olcSyncrepl: {1}rid=101 provider=ldap://ldap1.entreprise.com binddn="dc=entreprise,dc=com" bindmethod=simple credentials=password searchbase="dc=entreprise,dc=com" type=refreshAndPersist interval=00:00:00:10 retry="5 5 100 +" timeout=3
  114. olcSyncrepl: {2}rid=102 provider=ldap://ldap2.entreprise.com binddn="dc=entreprise,dc=com" bindmethod=simple credentials=password searchbase="dc=entreprise,dc=com" type=refreshAndPersist interval=00:00:00:10 retry="5 5 100 +" timeout=3
  115. olcSyncrepl: {3}rid=103 provider=ldap://ldap3.entreprise.com binddn="dc=entreprise,dc=com" bindmethod=simple credentials=password searchbase="dc=entreprise,dc=com" type=refreshAndPersist interval=00:00:00:10 retry="5 5 100 +" timeout=3
  116. olcSyncrepl: {4}rid=104 provider=ldap://ldap4.entreprise.com binddn="dc=entreprise,dc=com" bindmethod=simple credentials=password searchbase="dc=entreprise,dc=com" type=refreshAndPersist interval=00:00:00:10 retry="5 5 100 +" timeout=3
  117. olcMirrorMode: TRUE
  118.  
  119. dn: olcOverlay={0}syncprov,olcDatabase={1}hdb,cn=config
  120. objectClass: olcOverlayConfig
  121. objectClass: olcSyncProvConfig
  122. olcOverlay: {0}syncprov
  123.  
  124. dn: olcOverlay={1}ppolicy,olcDatabase={1}mdb,cn=config
  125. objectClass: olcPPolicyConfig
  126. objectClass: olcOverlayConfig
  127. olcOverlay: {1}ppolicy
  128. olcPPolicyDefault: cn=default,ou=policies,dc=entreprise,dc=com
  129.  
  130. dn: olcDatabase={2}monitor,cn=config
  131. objectClass: olcDatabaseConfig
  132. objectClass: olcMonitorConfig
  133. olcDatabase: {2}monitor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement