|
1 |
access to attrs=univentionFetchmailPasswd |
1 |
@!@ |
2 |
by group/univentionGroup/uniqueMember="cn=Domain Admins,cn=groups,@%@ldap/base@%@" write |
2 |
from univention.lib.misc import custom_groupname |
3 |
by set="user/univentionService & [Fetchmail]" write |
3 |
ldap_base = configRegistry['ldap/base'] |
4 |
by dn.base="cn=admin,@%@ldap/base@%@" write |
4 |
usr = 'write' if configRegistry.get('ldap/server/type') == "master" else 'read' |
5 |
by * none |
5 |
|
|
|
6 |
print 'access to attrs=univentionFetchmailPasswd' |
7 |
print ' by group/univentionGroup/uniqueMember="cn=%s,cn=groups,%s" %s' % (custom_groupname('Domain Admins'), ldap_base, usr) |
8 |
print ' by set="user/univentionService & [Fetchmail]" %s' % (usr,) |
9 |
print ' by dn.base="cn=admin,%s" %s' % (ldap_base, usr) |
10 |
print ' by * none' |
11 |
@!@ |