summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-06 11:19:22 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:49:20 +0100
commit62dbfd0596aa15ddf0d9384f426814edcf627331 (patch)
tree1c2f564919c16c9d6e42ea29ec5b53a2ef75e0eb /src/db/sysdb.h
parent9675bccabff4e79d224f64611ad9ff3e073b488e (diff)
downloadsssd-62dbfd0596aa15ddf0d9384f426814edcf627331.tar.gz
sssd-62dbfd0596aa15ddf0d9384f426814edcf627331.tar.xz
sssd-62dbfd0596aa15ddf0d9384f426814edcf627331.zip
Move range objects into their own top-level tree.
Storing ranges for multiple domains under any specific domain is somewhat aritrary and unnecessary. Put ranges under cn=ranges,cn=sysdb, without involving any specific domain subtree. This allows us to avoid using sysdb->domain in ranges functions. Also storing other subdomains data under the parent domain tree felt wrong, all other domain specific data is under their own subtree. Moving this data in its own place seems a better solution.
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index f1a17c219..9f8c85bef 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -40,7 +40,7 @@
#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_RANGE_BASE SYSDB_RANGE_CONTAINER",cn=%s,"SYSDB_BASE
+#define SYSDB_TMPL_RANGE_BASE SYSDB_RANGE_CONTAINER","SYSDB_BASE
#define SYSDB_SUBDOMAIN_CLASS "subdomain"
#define SYSDB_USER_CLASS "user"