<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
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.&nbsp; 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.&nbsp; In your case, if this is
the only ACI, you don't need the deny clause, you could just do this:<br>
(target = "<a href="ldap:///ou=People">ldap:///ou=People</a>,
dc=ite,dc=gmu,dc=edu") <br>
(targetattr ="employeeNumber")&nbsp; <br>
(version 3.0;acl "EmployeeNumber";<br>
allow (read) userdn="<a href="ldap:///self">ldap:///self</a>" and
authmethod="sasl gssapi";<br>
)<br>
<br>
Alastair Neil wrote:
<blockquote cite="mid85ac2ef405072812594a6831c5@mail.gmail.com"
 type="cite">I am struggling with setting ACIs to restrict access to
certain attributes<br>
I would like the employeenumber&nbsp; attribute to be visible only to the
user and <br>
only if they are authenticated via sasl gssapi. I have tried several
varients of the following:<br>
  <br>
  <br>
(target = "<a href="ldap:///ou=People">ldap:///ou=People</a>,
dc=ite,dc=gmu,dc=edu") <br>
(targetattr ="employeeNumber")&nbsp; <br>
(version 3.0;acl "EmployeeNumber";<br>
deny (all) userdn="<a href="ldap:///anyone">ldap:///anyone</a>" |<br>
allow (read) userdn="<a href="ldap:///self">ldap:///self</a>" and
authmethod="sasl gssapi";<br>
)<br>
  <br>
this one seems to deny access regardless of the authmethod or bindbd
used.<br>
  <br>
Anyone got any pointers?<br>
  <br>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
--
Fedora-directory-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Fedora-directory-users@redhat.com">Fedora-directory-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/fedora-directory-users">https://www.redhat.com/mailman/listinfo/fedora-directory-users</a>
  </pre>
</blockquote>
</body>
</html>