summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-08 15:57:13 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-16 15:55:19 +0100
commit0b7be98ee0f8757428a45b22d1ace937e6bb7799 (patch)
treebe783c6e9a38e0d723b087034e9a378d15dc6444
parent6a16292fe61e6ee01895d1d9e99bf5fc92b869bb (diff)
downloadsssd-0b7be98ee0f8757428a45b22d1ace937e6bb7799.tar.gz
sssd-0b7be98ee0f8757428a45b22d1ace937e6bb7799.tar.bz2
sssd-0b7be98ee0f8757428a45b22d1ace937e6bb7799.zip
Tidy up BASE dn macros
-rw-r--r--src/db/sysdb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 6dd833bf..d4af5fa6 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -36,10 +36,10 @@
#define SYSDB_CUSTOM_CONTAINER "cn=custom"
#define SYSDB_NETGROUP_CONTAINER "cn=Netgroups"
#define SYSDB_RANGE_CONTAINER "cn=ranges"
-#define SYSDB_TMPL_USER_BASE SYSDB_USERS_CONTAINER",cn=%s,"SYSDB_BASE
-#define SYSDB_TMPL_GROUP_BASE SYSDB_GROUPS_CONTAINER",cn=%s,"SYSDB_BASE
-#define SYSDB_TMPL_CUSTOM_BASE SYSDB_CUSTOM_CONTAINER",cn=%s,"SYSDB_BASE
-#define SYSDB_TMPL_NETGROUP_BASE SYSDB_NETGROUP_CONTAINER",cn=%s,"SYSDB_BASE
+#define SYSDB_TMPL_USER_BASE SYSDB_USERS_CONTAINER","SYSDB_DOM_BASE
+#define SYSDB_TMPL_GROUP_BASE SYSDB_GROUPS_CONTAINER","SYSDB_DOM_BASE
+#define SYSDB_TMPL_CUSTOM_BASE SYSDB_CUSTOM_CONTAINER","SYSDB_DOM_BASE
+#define SYSDB_TMPL_NETGROUP_BASE SYSDB_NETGROUP_CONTAINER","SYSDB_DOM_BASE
#define SYSDB_TMPL_RANGE_BASE SYSDB_RANGE_CONTAINER","SYSDB_BASE
#define SYSDB_SUBDOMAIN_CLASS "subdomain"