summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-08 13:57:51 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-15 10:53:03 +0100
commitb353437811527daf305fceef5f07e990c50d62ca (patch)
treebae93aa16192a39156e1234e5713701e3dce7be3
parentc14184c07634801cda7864aa17c6fa8dc9ab43d1 (diff)
downloadsssd-b353437811527daf305fceef5f07e990c50d62ca.tar.gz
sssd-b353437811527daf305fceef5f07e990c50d62ca.tar.bz2
sssd-b353437811527daf305fceef5f07e990c50d62ca.zip
Kill sysdb->domain
Finally remove this upside-down dependency.
-rw-r--r--src/db/sysdb.c1
-rw-r--r--src/db/sysdb_private.h2
-rw-r--r--src/db/sysdb_subdomains.c2
3 files changed, 0 insertions, 5 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c
index a35664d1..e7524f4b 100644
--- a/src/db/sysdb.c
+++ b/src/db/sysdb.c
@@ -970,7 +970,6 @@ int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx,
if (!sysdb) {
return ENOMEM;
}
- sysdb->domain = domain;
ret = sysdb_get_db_file(sysdb, domain->provider,
domain->name, db_path,
diff --git a/src/db/sysdb_private.h b/src/db/sysdb_private.h
index 5a900f17..012a13b8 100644
--- a/src/db/sysdb_private.h
+++ b/src/db/sysdb_private.h
@@ -83,8 +83,6 @@
#include "db/sysdb.h"
struct sysdb_ctx {
- struct sss_domain_info *domain; /* *DEPRECATED*, do not use! */
-
struct ldb_context *ldb;
char *ldb_file;
};
diff --git a/src/db/sysdb_subdomains.c b/src/db/sysdb_subdomains.c
index 2d8470d5..69806517 100644
--- a/src/db/sysdb_subdomains.c
+++ b/src/db/sysdb_subdomains.c
@@ -560,8 +560,6 @@ errno_t sysdb_get_subdomain_context(TALLOC_CTX *mem_ctx,
return ENOMEM;
}
- new_ctx->domain = subdomain;
-
new_ctx->ldb = sysdb->ldb;
new_ctx->ldb_file = sysdb->ldb_file;