Changeset 448 for trunk/puppet/modules/puppet-openldap
- Timestamp:
- Nov 8, 2009, 3:11:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/puppet/modules/puppet-openldap/templates/slapd.conf_slave.erb
r447 r448 34 34 # Where the dynamically loaded modules are stored 35 35 modulepath /usr/lib/ldap 36 moduleload back_bdb 36 moduleload back_hdb 37 <% if has_variable?("ldap_slave") -%> 38 moduleload syncprov 39 <% end -%> 37 40 38 # Specific Backend Directives for bdb39 backend bdb41 # Specific Backend Directives for hdb 42 backend hdb 40 43 checkpoint 512 30 41 database bdb44 database hdb 42 45 43 46 # The base of your directory in database #1 … … 47 50 # # for syncrepl. 48 51 #rootdn "cn=admin,<%= ldap_base %>" 52 <% if has_variable?("ldap_slave") -%> 53 rootdn "cn=admin,<%= ldap_base %>" 54 syncrepl rid=124 55 provider=ldap://localhost:22390/ 56 type=refreshAndPersist 57 retry="60 10 300 +" 58 searchbase="<%= ldap_base %>" 59 filter="(objectclass=*)" 60 schemachecking=off 61 bindmethod=simple 62 binddn="cn=proxy-walsh,<%= ldap_base %>" 63 credentials=<%= ldap_admin_password %>" 64 <% end -%> 49 65 50 66 # Where the database file are physically stored for database #1 … … 73 89 access to attrs=userPassword,sambaNTPassword,sambaLMPassword,sambaPwdCanChange,sambaPwdMustChange,sambaPwdLastSet,sambaAcctFlags 74 90 <% else -%> 75 access to attrs=userPassword 91 access to attrs=userPassword,shadowLastChange 76 92 <% end -%> 77 93 by dn="cn=admin,<%= ldap_base %>" write
Note: See TracChangeset
for help on using the changeset viewer.