Changeset 532


Ignore:
Timestamp:
Feb 15, 2010, 12:42:07 AM (12 years ago)
Author:
sebas
Message:

config de ldap slave

File:
1 edited

Legend:

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

    r500 r532  
    88include         /etc/ldap/schema/core.schema
    99include         /etc/ldap/schema/cosine.schema
    10 include         /etc/ldap/schema/nis.schema
     10#include         /etc/ldap/schema/nis.schema
    1111include         /etc/ldap/schema/inetorgperson.schema
    1212<% if has_variable?("ldap_smb") -%>
    1313include         /etc/ldap/schema/samba.schema
    1414<% end -%>
    15 include         /etc/ldap/schema/authldap.schema
     15#include         /etc/ldap/schema/authldap.schema
     16
     17include /etc/ldap/schema/rfc2307bis.schema
     18include /etc/ldap/schema/mozillaabpersonalpha.schema
     19include /etc/ldap/schema/evolutionperson.schema
     20
    1621
    1722# Schema check allows for forcing entries to
     
    2732
    2833# Read slapd.conf(5) for possible values
    29 loglevel        0
     34loglevel        16384
    3035
    3136# to use ldapsearch
     
    6166 bindmethod=simple
    6267 binddn="cn=<%= ldap_slave %>,<%= ldap_base %>"
    63  credentials=<%= ldap_admin_password %>"
     68 credentials="<%= ldap_slave_credentials %>"
    6469<% end -%>
    6570
     
    6873
    6974# Indexing options for database #1
    70 index         uid,uidNumber,gidNumber,memberUid       eq
    71 index         cn,mail,surname,givenname               eq,subinitial
     75#index         uid,uidNumber,gidNumber,memberUid       eq
     76index         mail,surname,givenname               eq,subinitial
     77# Indexing options for database #1
     78index           objectClass eq
     79index           uid pres,eq
     80index           gidNumber pres,eq
     81index           uidNumber pres,eq
     82index           memberUid pres,eq
     83index           cn pres,eq
     84index           entryCSN,entryUUID eq
     85
    7286<% if has_variable?("ldap_smb") -%>
    7387index         sambaSID                                eq
     
    104118# # want SASL (and possible other things) to work
    105119# # happily.
    106 access to dn.base="" by * read
     120#access to dn.base="" by * read
    107121
    108122# The admin dn has full write access, everyone else
    109123# can read everything.
    110 access to *
    111         by dn="cn=admin,<%= ldap_base %>" write
    112         by * read
     124#access to *
     125#        by dn="cn=admin,<%= ldap_base %>" write
     126#        by * read
    113127
    114128<% if has_variable?("ldap_ssl") -%>
Note: See TracChangeset for help on using the changeset viewer.