summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-03-30 15:26:58 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-04-08 08:53:35 -0400
commit9c124af8868a7d3908c03ec369e28daef17d5f12 (patch)
tree2efdddd72acb1d48941c2ee9749c6ad7cadb8697 /contrib
parent81020661d35772b5499525b76a19c9a3794c953e (diff)
downloadsssd-9c124af8868a7d3908c03ec369e28daef17d5f12.tar.gz
sssd-9c124af8868a7d3908c03ec369e28daef17d5f12.tar.xz
sssd-9c124af8868a7d3908c03ec369e28daef17d5f12.zip
SELinux login management
Adds a new option -Z to sss_useradd and sss_usermod. This option allows user to specify the SELinux login context for the user. On deleting the user with sss_userdel, the login mapping is deleted, so subsequent adding of the same user would result in the default login context unless -Z is specified again. MLS security is not supported as of this patch.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in2
-rw-r--r--contrib/suse/sssd.spec.in1
2 files changed, 3 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index c6c91dbf1..c5e05e3c5 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -72,6 +72,8 @@ BuildRequires: c-ares-devel
BuildRequires: python-devel
BuildRequires: check-devel
BuildRequires: doxygen
+BuildRequires: libselinux-devel
+BuildRequires: libsemanage-devel
%description
Provides a set of daemons to manage access to remote directories and
diff --git a/contrib/suse/sssd.spec.in b/contrib/suse/sssd.spec.in
index eff7ff792..8fce0b1cf 100644
--- a/contrib/suse/sssd.spec.in
+++ b/contrib/suse/sssd.spec.in
@@ -110,6 +110,7 @@ KRB5_LIBS=-lkrb5 \
--with-init-dir=%{_initrddir} \
--enable-nsslibdir=/%{_lib} \
--without-selinux \
+ --without-semanage \
--with-os=suse \
--disable-static