
Access Control Usage Examples
Chapter 6
Managing Access Control
257
8.
To enforce SSL authentication from
HostedCompany1
administrators, switch to
manual editing by clicking the Edit Manually button. Add the following to the
end of the LDIF statement:
and (authmethod="ssl")
The LDIF statement should be similar to:
aci: (targetattr = "*")
(target="ou=HostedCompany1,ou=corporate-clients,dc=example,dc
=com") (version 3.0; acl "HostedCompany1"; allow (all)
(roledn=
"ldap:///cn=DirectoryAdmin,ou=HostedCompany1,ou=corporate-cli
ents, dc=example,dc=com") and (dayofweek="Mon,Tues,Wed,Thu")
and (timeofday >= "0800" and timeofday <= "1800") and
(ip="255.255.123.234") and (authmethod="ssl"); )
9.
Click OK.
The new ACI is added to the ones listed in the Access Control Manager
window.
Denying Access
If your directory holds business-critical information, you might specifically want to
deny access to it.
For example,
example.com
wants all subscribers to be able to read billing
information such as connection time or account balance under their own entries
but explicitly wants to deny write access to that information. This is illustrated in
ACI “Billing Info Read” and ACI “Billing Info Deny,” respectively.
ACI “Billing Info Read”
In LDIF, to grant subscribers permission to read billing information in their own
entry, you would write the following statement:
aci: (targetattr="connectionTime || accountBalance") (version
3.0; acl "Billing Info Read"; allow (search,read) userdn=
"ldap:///self";)
This example assumes that the relevant attributes have been created in the schema
and that the ACI is added to the
ou=subscribers,dc=example,dc=com
entry.
From the Console, you can set this permission by doing the following:
Содержание DIRECTORY SERVER 7.1
Страница 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Страница 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Страница 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 278: ...Compatibility with Earlier Releases 278 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 374: ...Troubleshooting Replication Related Problems 374 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 478: ...Using the Management Information Base 478 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 545: ...About Windows Sync Chapter 18 Windows Sync 545 Figure 18 1 Active Directory Directory Server Synchronization Process ...
Страница 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 586: ...Storing Information in Multiple Languages 586 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 606: ...Searching an Internationalized Directory 606 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...