summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-01-06 11:34:46 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-08 20:15:55 +0100
commit9670c7d96b003fb9027f7e82d289a433f9894abd (patch)
tree1b26b4618016aaf4edc361615445c71eaf8a9d3f
parent8fe509ca10ff54bd81698e3e6ddcd2b4f711bfde (diff)
downloadsssd-9670c7d96b003fb9027f7e82d289a433f9894abd.tar.gz
sssd-9670c7d96b003fb9027f7e82d289a433f9894abd.tar.xz
sssd-9670c7d96b003fb9027f7e82d289a433f9894abd.zip
SYSDB: Remove duplicate selinux defines
-rw-r--r--src/db/sysdb.h5
-rw-r--r--src/db/sysdb_selinux.h1
-rw-r--r--src/providers/ipa/ipa_opts.h1
3 files changed, 2 insertions, 5 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 51b070d90..5bbee3568 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -107,11 +107,6 @@
#define SYSDB_FQDN "fqdn"
#define SYSDB_SERVERHOSTNAME "serverHostname"
-#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"
#define SYSDB_UUID "uniqueID"
diff --git a/src/db/sysdb_selinux.h b/src/db/sysdb_selinux.h
index 39bb67a19..c7dbbe98c 100644
--- a/src/db/sysdb_selinux.h
+++ b/src/db/sysdb_selinux.h
@@ -34,6 +34,7 @@
#define SYSDB_SELINUX_ENABLED "enabled"
#define SYSDB_SELINUX_DEFAULT_USER "user"
#define SYSDB_SELINUX_DEFAULT_ORDER "order"
+#define SYSDB_SELINUX_HOST_PRIORITY "hostPriority"
enum selinux_entity_type {
SELINUX_CONFIG,
diff --git a/src/providers/ipa/ipa_opts.h b/src/providers/ipa/ipa_opts.h
index ae75413ac..fe9f48930 100644
--- a/src/providers/ipa/ipa_opts.h
+++ b/src/providers/ipa/ipa_opts.h
@@ -28,6 +28,7 @@
#include "db/sysdb_sudo.h"
#include "db/sysdb_autofs.h"
#include "db/sysdb_services.h"
+#include "db/sysdb_selinux.h"
struct dp_option ipa_basic_opts[] = {
{ "ipa_domain", DP_OPT_STRING, NULL_STRING, NULL_STRING },