summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;