diff options
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ad/ad_access.c | 2 | ||||
-rw-r--r-- | src/providers/ipa/ipa_hbac_common.c | 2 | ||||
-rw-r--r-- | src/providers/ipa/ipa_subdomains_id.c | 5 | ||||
-rw-r--r-- | src/providers/krb5/krb5_utils.c | 3 | ||||
-rw-r--r-- | src/providers/ldap/sdap_access.c | 2 |
5 files changed, 8 insertions, 6 deletions
diff --git a/src/providers/ad/ad_access.c b/src/providers/ad/ad_access.c index 9508ffb2..0fa7d6d3 100644 --- a/src/providers/ad/ad_access.c +++ b/src/providers/ad/ad_access.c @@ -45,7 +45,7 @@ ad_access_handler(struct be_req *breq) /* Handle subdomains */ if (strcasecmp(pd->domain, be_ctx->domain->name) != 0) { domain = new_subdomain(breq, be_ctx->domain, - pd->domain, NULL, NULL); + pd->domain, NULL, NULL, NULL); if (domain == NULL) { DEBUG(SSSDBG_OP_FAILURE, ("new_subdomain failed.\n")); be_req_terminate(breq, DP_ERR_FATAL, PAM_SYSTEM_ERR, NULL); diff --git a/src/providers/ipa/ipa_hbac_common.c b/src/providers/ipa/ipa_hbac_common.c index 90ec0ce4..8a1c91ea 100644 --- a/src/providers/ipa/ipa_hbac_common.c +++ b/src/providers/ipa/ipa_hbac_common.c @@ -448,7 +448,7 @@ hbac_ctx_to_eval_request(TALLOC_CTX *mem_ctx, /* Get user the user name and groups, * take care of subdomain users as well */ if (strcasecmp(pd->domain, domain->name) != 0) { - user_dom = new_subdomain(tmp_ctx, domain, pd->domain, NULL, NULL); + user_dom = new_subdomain(tmp_ctx, domain, pd->domain, NULL, NULL, NULL); if (user_dom == NULL) { DEBUG(SSSDBG_OP_FAILURE, ("new_subdomain failed.\n")); ret = ENOMEM; diff --git a/src/providers/ipa/ipa_subdomains_id.c b/src/providers/ipa/ipa_subdomains_id.c index 481b9980..264eb03c 100644 --- a/src/providers/ipa/ipa_subdomains_id.c +++ b/src/providers/ipa/ipa_subdomains_id.c @@ -76,8 +76,9 @@ struct tevent_req *ipa_get_subdom_acct_send(TALLOC_CTX *memctx, } state->domain = new_subdomain(state, state->ctx->be->domain, ar->domain, - get_flat_name_from_subdomain_name(ctx->be,ar->domain), - NULL); + NULL, + get_flat_name_from_subdomain_name(ctx->be,ar->domain), + NULL); if (state->domain == NULL) { DEBUG(SSSDBG_OP_FAILURE, ("new_subdomain failed.\n")); ret = ENOMEM; diff --git a/src/providers/krb5/krb5_utils.c b/src/providers/krb5/krb5_utils.c index e71f6c4d..97718699 100644 --- a/src/providers/krb5/krb5_utils.c +++ b/src/providers/krb5/krb5_utils.c @@ -1173,7 +1173,8 @@ errno_t get_domain_or_subdomain(TALLOC_CTX *mem_ctx, struct be_ctx *be_ctx, if (domain_name != NULL && strcasecmp(domain_name, be_ctx->domain->name) != 0) { - *dom = new_subdomain(mem_ctx, be_ctx->domain, domain_name, NULL, NULL); + *dom = new_subdomain(mem_ctx, be_ctx->domain, + domain_name, NULL, NULL, NULL); if (*dom == NULL) { DEBUG(SSSDBG_OP_FAILURE, ("new_subdomain failed.\n")); return ENOMEM; diff --git a/src/providers/ldap/sdap_access.c b/src/providers/ldap/sdap_access.c index ee20a84a..aebf4524 100644 --- a/src/providers/ldap/sdap_access.c +++ b/src/providers/ldap/sdap_access.c @@ -128,7 +128,7 @@ sdap_access_send(TALLOC_CTX *mem_ctx, /* Get original user DN, take care of subdomain users as well */ if (strcasecmp(pd->domain, be_ctx->domain->name) != 0) { user_dom = new_subdomain(state, be_ctx->domain, pd->domain, - NULL, NULL); + NULL, NULL, NULL); if (user_dom == NULL) { DEBUG(SSSDBG_OP_FAILURE, ("new_subdomain failed.\n")); ret = ENOMEM; |