summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_id_services.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ldap/ldap_id_services.c')
-rw-r--r--src/providers/ldap/ldap_id_services.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_id_services.c b/src/providers/ldap/ldap_id_services.c
index 1a2a7b6bc..5699bf0dc 100644
--- a/src/providers/ldap/ldap_id_services.c
+++ b/src/providers/ldap/ldap_id_services.c
@@ -76,7 +76,7 @@ services_get_send(TALLOC_CTX *mem_ctx,
state->ev = ev;
state->id_ctx = id_ctx;
state->dp_error = DP_ERR_FATAL;
- state->sysdb = id_ctx->be->sysdb;
+ state->sysdb = id_ctx->be->domain->sysdb;
state->domain = state->id_ctx->be->domain;
state->name = name;
state->protocol = protocol;