summaryrefslogtreecommitdiffstats
path: root/src/providers/ad/ad_subdomains.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-09-04 07:43:59 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-22 11:30:53 +0200
commite5f1c41e31cf36afffd5d0b1e16f220a96c8aa2e (patch)
tree8d5f67d48927f27590b9d84197e3b9ba94d9804b /src/providers/ad/ad_subdomains.c
parent1a874bad313a5cd9a711ca8aa55019221b0b026c (diff)
downloadsssd-e5f1c41e31cf36afffd5d0b1e16f220a96c8aa2e.tar.gz
sssd-e5f1c41e31cf36afffd5d0b1e16f220a96c8aa2e.tar.xz
sssd-e5f1c41e31cf36afffd5d0b1e16f220a96c8aa2e.zip
AD: Failure to get flat name is not fatal
https://fedorahosted.org/sssd/ticket/2067 Some AD or AD-like servers do not contain the netlogon attribute in the master domain name. Instead of failing completely, we should just abort the master domain request and carry on. The only functionality we miss would be getting users by domain flat name.
Diffstat (limited to 'src/providers/ad/ad_subdomains.c')
-rw-r--r--src/providers/ad/ad_subdomains.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/providers/ad/ad_subdomains.c b/src/providers/ad/ad_subdomains.c
index f15a01380..b95f4e46a 100644
--- a/src/providers/ad/ad_subdomains.c
+++ b/src/providers/ad/ad_subdomains.c
@@ -371,9 +371,6 @@ static void ad_subdomains_master_dom_done(struct tevent_req *req)
goto done;
}
- DEBUG(SSSDBG_TRACE_FUNC, ("Found flat name [%s].\n", ctx->flat_name));
- DEBUG(SSSDBG_TRACE_FUNC, ("Found master SID [%s].\n", ctx->master_sid));
-
ret = sysdb_master_domain_add_info(ctx->sd_ctx->be_ctx->domain,
ctx->flat_name, ctx->master_sid);
if (ret != EOK) {