source: trunk/puppet/modules/puppet-openldap/templates/consumer-sync.ldif.erb @ 650

Last change on this file since 650 was 650, checked in by sebas@…, 12 years ago

template consumer-sync con las variables

File size: 698 bytes
Line 
1#Load the syncprov module.
2dn: cn=module{0},cn=config
3changetype: modify
4add: olcModuleLoad
5olcModuleLoad: syncprov
6
7# syncrepl specific indices
8dn: olcDatabase={1}hdb,cn=config
9changetype: modify
10add: olcDbIndex
11olcDbIndex: entryUUID eq
12-
13add: olcSyncRepl
14olcSyncRepl: rid=<%= ldap_slave_rid %>
15 provider=<%= ldap_slave_provider %>
16 bindmethod=simple
17 binddn="cn=<%= ldap_slave %>,<%= ldap_base %>"
18 credentials=<%= ldap_slave_credentials %> 
19 searchbase="<%= ldap_base %>"
20 logbase="cn=accesslog"
21 logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
22 schemachecking=on
23 type=refreshAndPersist retry="60 +"
24 syncdata=accesslog
25-
26add: olcUpdateRef
27olcUpdateRef: <%= ldap_slave_provider %>
Note: See TracBrowser for help on using the repository browser.