Access Control Usage Examples
254
Red Hat Directory Server Administrator’s Guide • May 2005
6.
In the Hosts tab, click Add to display the Add Host Filter dialog box. In the
DNS host filter field, type
*.example.com
. Click OK to dismiss the dialog
box.
7.
To create the value-based filter that will allow employees to add only group
entries to this subtree, switch to manual editing by clicking the Edit Manually
button. Add the following to the beginning of the LDIF statement:
(targattrfilters="add=objectClass:(objectClass=groupOfNames)"
)
The LDIF statement should read as follows:
(targattrfilters="add=objectClass:(objectClass=groupOfNames)
") (targetattr = "*") (target="ldap:///ou=social
committee,dc=example,dc=com) (version 3.0; acl "Create
Group"; allow (read,search,add) (userdn= "ldap:///all") and
(dns="*.example.com"); )
8.
Click OK.
The new ACI is added to the ones listed in the Access Control Manager
window.
ACI “Delete Group”
In LDIF, to grant
example.com
employees the right to modify or delete a group
entry which they own under the
ou=Social Comittee
branch, you would write
the following statement:
aci: (target="ou=social committee,dc=example,dc=com)
(targattrfilters="del=objectClass:(objectClass=groupOfNames)")
(version 3.0; acl "Delete Group"; allow (delete) userattr=
"owner#GROUPDN";)
This example assumes that the
aci
is added to the
ou=social committee,
dc=example,dc=com
entry.
Using the Console is not an effective way of creating this ACI because you would
have to use manual editing mode to create the target filter and to check group
ownership.
Summary of Contents for DIRECTORY SERVER 7.1
Page 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Page 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Page 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...