summaryrefslogtreecommitdiffstats
path: root/src/providers/ad/ad_subdomains.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ad/ad_subdomains.c')
-rw-r--r--src/providers/ad/ad_subdomains.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ad/ad_subdomains.c b/src/providers/ad/ad_subdomains.c
index be4781cc5..0eebd4d98 100644
--- a/src/providers/ad/ad_subdomains.c
+++ b/src/providers/ad/ad_subdomains.c
@@ -569,7 +569,7 @@ static void ad_subdomains_get_netlogon_done(struct tevent_req *req)
DEBUG(SSSDBG_TRACE_FUNC, ("Found flat name [%s].\n", ctx->flat_name));
ret = sysdb_master_domain_add_info(ctx->sd_ctx->be_ctx->domain,
- NULL, ctx->flat_name, ctx->master_sid);
+ ctx->flat_name, ctx->master_sid);
ret = ad_subdomains_get_slave(ctx);
if (ret == EAGAIN) {