Changeset 448 for trunk


Ignore:
Timestamp:
Nov 8, 2009, 3:11:22 PM (14 years ago)
Author:
sebas
Message:

modificacion para la replica

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/modules/puppet-openldap/templates/slapd.conf_slave.erb

    r447 r448  
    3434# Where the dynamically loaded modules are stored
    3535modulepath      /usr/lib/ldap
    36 moduleload      back_bdb
     36moduleload      back_hdb
     37<% if has_variable?("ldap_slave") -%>
     38moduleload      syncprov
     39<% end -%>
    3740
    38 # Specific Backend Directives for bdb
    39 backend           bdb
     41# Specific Backend Directives for hdb
     42backend           hdb
    4043checkpoint  512 30
    41 database    bdb
     44database    hdb
    4245
    4346# The base of your directory in database #1
     
    4750# # for syncrepl.
    4851#rootdn          "cn=admin,<%= ldap_base %>"
     52<% if has_variable?("ldap_slave") -%>
     53rootdn          "cn=admin,<%= ldap_base %>"
     54syncrepl 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 -%>
    4965
    5066# Where the database file are physically stored for database #1
     
    7389access to attrs=userPassword,sambaNTPassword,sambaLMPassword,sambaPwdCanChange,sambaPwdMustChange,sambaPwdLastSet,sambaAcctFlags
    7490<% else -%>
    75 access to attrs=userPassword
     91access to attrs=userPassword,shadowLastChange
    7692<% end -%>
    7793        by dn="cn=admin,<%= ldap_base %>" write
Note: See TracChangeset for help on using the changeset viewer.