diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2012-07-16 13:54:21 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-07-18 16:32:25 +0200 |
commit | 1a3e6221b38a7cae27d7e84a30bb8ea3c3900a47 (patch) | |
tree | d7588ed8b02fcdaa5d231930b9a165208e078dfc /src/db/sysdb.h | |
parent | 266fd9834133e31c51b9e967307a793e5a49258e (diff) | |
download | sssd-1a3e6221b38a7cae27d7e84a30bb8ea3c3900a47.tar.gz sssd-1a3e6221b38a7cae27d7e84a30bb8ea3c3900a47.tar.xz sssd-1a3e6221b38a7cae27d7e84a30bb8ea3c3900a47.zip |
Modify priority evaluation in SELinux user maps
The functionality now is 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, only 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 user to determine whether to use
that rule or not. If more rules have the same priority, the order given
in IPA config is used.
https://fedorahosted.org/sssd/ticket/1360
https://fedorahosted.org/sssd/ticket/1395
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 5baac98b3..3c6166cf4 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -120,6 +120,7 @@ #define SYSDB_SELINUX_SEEALSO "seeAlso" #define SYSDB_SELINUX_USER "selinuxUser" #define SYSDB_SELINUX_ENABLED "enabled" +#define SYSDB_SELINUX_HOST_PRIORITY "hostPriority" #define SYSDB_CACHEDPWD "cachedPassword" |