Refactored ldap::server class.
This commit is contained in:
parent
742008eee8
commit
756cbeb4f5
8 changed files with 4051 additions and 58 deletions
32
ldap/templates/slapd-acl.conf.erb
Normal file
32
ldap/templates/slapd-acl.conf.erb
Normal file
|
@ -0,0 +1,32 @@
|
|||
|
||||
# database replication
|
||||
access to *
|
||||
by dn="uid=replicator,cn=config,<%= name %>" read
|
||||
by * break
|
||||
|
||||
# allow everyone to get naming context
|
||||
access to dn.base=""
|
||||
by * read
|
||||
|
||||
# allow everyone to get directory root object
|
||||
access to dn.base="<%= name %>"
|
||||
by * read
|
||||
|
||||
# schema browsing requires authentication
|
||||
access to dn.base="cn=Subschema"
|
||||
by users read
|
||||
by anonymous auth
|
||||
by * none
|
||||
|
||||
# restrict user password
|
||||
access to attrs=userPassword
|
||||
by self write
|
||||
by anonymous auth
|
||||
by * none
|
||||
|
||||
# allow logged in users to read rest of data
|
||||
access to *
|
||||
by self read
|
||||
by users read
|
||||
by anonymous auth
|
||||
by * none
|
Loading…
Add table
Add a link
Reference in a new issue