logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: ACI to restrict access to sensitive attributes.: msg#00203

Subject: Re: ACI to restrict access to sensitive attributes.
This is a cryptographically signed message in MIME format.
By default, FDS will restrict access to everything - that is, you don't need to have an explicit deny unless you have another ACI somewhere that allows other attributes.  ACIs work together in this way - when there is a rule that allows some access and a rule that explicitly denies that same access, the deny rule wins.  In your case, if this is the only ACI, you don't need the deny clause, you could just do this:
(target = "ldap:///ou=People, dc=ite,dc=gmu,dc=edu")
(targetattr ="employeeNumber") 
(version 3.0;acl "EmployeeNumber";
allow (read) userdn="ldap:///self" and authmethod="sasl gssapi";
)

Alastair Neil wrote:
I am struggling with setting ACIs to restrict access to certain attributes
I would like the employeenumber  attribute to be visible only to the user and
only if they are authenticated via sasl gssapi. I have tried several varients of the following:


(target = "ldap:///ou=People, dc=ite,dc=gmu,dc=edu")
(targetattr ="employeeNumber") 
(version 3.0;acl "EmployeeNumber";
deny (all) userdn="ldap:///anyone" |
allow (read) userdn="ldap:///self" and authmethod="sasl gssapi";
)

this one seems to deny access regardless of the authmethod or bindbd used.

Anyone got any pointers?



-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


<Prev in Thread] Current Thread [Next in Thread>