ACI, userattr question

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

 



Hi,

My server has a structure like:

o=isp
   o=domain1,o=isp
      uid=user1,o=domain1,o=isp
      uid=user2,o=domain1,o=isp
      uid=user3,o=domain1,o=isp
      uid=user4,o=domain1,o=isp
   o=domain2,o=isp
      uid=user1,o=domain2,o=isp
      uid=user2,o=domain2,o=isp
      uid=user3,o=domain2,o=isp
      uid=user4,o=domain2,o=isp

each domain has an attribute administrator (taken from phpQLAdmin, I am using ldap for 
qmail-ldap)  which has full dn of a uid. For example say the administrator of 
o=domain1,o=isp is uid=user1,o=domain1,o=isp, and that of o=domain2,o=isp is 
uid=user1,o=domain2,o=isp

Now when I bind as uid=user1,o=domain1,o=isp I must have full write permission for domain1 
and all users under it, and if I bind as uid=user1,o=domain2,o=isp I must have write 
access to domain2 and so on.

I am looking for a minimum aci that can do this, Preferably one that is applied at o=isp.

I have played with aci and userattr, but seems it's not working. The one I tried is

aci: (target="ldap:///o=*,o=isp";)(targetattr=*) (version 3.0;acl
"manager-write"; allow (all) userattr = "administrator#USERDN";)

I have taken this from the examples in docs, but this is not working as expected.

Thanks for your help,

regards,

raj




[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