04.06.2013 Views

UCS 2.4 - Univention

UCS 2.4 - Univention

UCS 2.4 - Univention

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

– Using a concrete DN via dn.base, e.g., via<br />

by dn.base="uid=database-admin,cn=users,dc=company,dc=com"<br />

– Using a regular expression, e.g., via<br />

by dn.regex="cn=.*,cn=dc,cn=computers,dc=company,dc=com"<br />

7.4 Configuration of LDAP ACLs<br />

• group can be used to set the permission for a member of a group. In addition, the object class of<br />

the group object and the attribute must be specified, which identifies a member. A group permission<br />

in <strong>UCS</strong> looks as follows:<br />

by group/univentionGroup/uniqueMember="cn=Domain Admins,cn=groups,dc=company,dc=com"<br />

• peername, sockname and domain allow the definition of the socket file name or the network origin<br />

of the accessing user. Some examples:<br />

by sockname="PATH=/var/run/slapd/ldapi"<br />

by peername.ip=127.0.0.1<br />

by domain.subtree=example.com<br />

7.4.4 Definition of the permission on the objects<br />

Each by directive is completed with the assigned permission. The rules are ordered hierarchically with<br />

each following rule receiving all the privileges of its predecessor.<br />

• none denies every access.<br />

• disclose denies the access but still issues an error warning.<br />

• auth limits access to authentication and authorisation requests.<br />

• compare limits the access to compare operations.<br />

• search limits the access to search requests.<br />

• none allows read-only access.<br />

• write allows write access.<br />

7.4.5 Definition of the handling of further rules with applied rules<br />

For each by directive there are three possibilities for controlling how further rules are handled:<br />

• As standard the processing of further access rules is stopped when a rule applies. This can also be<br />

fixed explicitly using a stop directive.<br />

• continue allows the processing of further permission rules within an access rule.<br />

• break checks further access rules to see whether they apply.<br />

185

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!