[SSSD] [PATCHES] Modify priority evaluation in SELinux user maps

Jan Zelený jzeleny at redhat.com
Mon Jul 16 14:20:23 UTC 2012


The functionality is now following:

When rule is being matched, its priority is determined as a combination
of user and host specificity (host taking preference).

After the rule is matched in provider, its host priority is stored
in sysdb for later usage.

When rules are matched in the responder, their user priority is
determined. After that their host priority is retrieved directly from
sysdb and sum of both priorities is used to determine whether to take
that rule into account or not. If more rules have the same priority, the order 
given in IPA config is used.

Thanks
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-154-sysdb_attrs_copy_values.patch
Type: text/x-patch
Size: 2215 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120716/2db90cf3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jzeleny-155-priority-evaluation-in-SELinux-user-maps.patch
Type: text/x-patch
Size: 11219 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120716/2db90cf3/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120716/2db90cf3/attachment.sig>


More information about the sssd-devel mailing list