what's wrong with this ACI?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Chen Shaopeng <chen_shaopeng at idsignet.com> wrote:

> 
> Note that ACIs are logically ORed during evaluation.
> And "deny"
> always takes precedence over "allow". So, your ACI
> which [deny(all)(userdn="ldap:///anyone";)] will take
> precendence
> over the other two. Therefore, even Test User is
> denied reading
> his own data.
> 
> You can combine the 3 ACIs above into the following:
> 
>
(targetattr="*")(target="ldap:///uid=testuser,ou=People,dc=dummy,dc=com";)
> (version 3.0;acl "Self and JDoe (but no anon to
> all)";
> deny(all)(userdn !=
> "ldap:///uid=testuser,ou=People,dc=dummy,dc=com ||
> ldap://uid=JDoe,ou=People,dc=dummy,dc=com";);)
> 
> This tells the server to deny to all on that
> specific target except
> if userdn is "testuser" or "JDoe" .
> 
> Hope that helps.
> 

Thanks a lot, Chen! Exactly what I want :)

sz



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux