summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-10-16 10:45:52 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-10-16 13:51:08 +0200
commit4ba716f4808d9ab2cd8e95916dd61309c31e2111 (patch)
tree0cfa8eb081e1b608b9cfe36db9f360800bae8dd1 /src/providers
parentc93a3ac5ff2e037471d8d6b2e61e2578fdc09315 (diff)
downloadsssd-4ba716f4808d9ab2cd8e95916dd61309c31e2111.tar.gz
sssd-4ba716f4808d9ab2cd8e95916dd61309c31e2111.tar.bz2
sssd-4ba716f4808d9ab2cd8e95916dd61309c31e2111.zip
IPA server mode: properly initialize ext_groups
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ipa/ipa_subdomains.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c
index bfbdabf3..ea55f70f 100644
--- a/src/providers/ipa/ipa_subdomains.c
+++ b/src/providers/ipa/ipa_subdomains.c
@@ -1305,13 +1305,14 @@ int ipa_ad_subdom_init(struct be_ctx *be_ctx,
return EINVAL;
}
- id_ctx->server_mode = talloc(id_ctx, struct ipa_server_mode_ctx);
+ id_ctx->server_mode = talloc_zero(id_ctx, struct ipa_server_mode_ctx);
if (id_ctx->server_mode == NULL) {
return ENOMEM;
}
id_ctx->server_mode->realm = realm;
id_ctx->server_mode->hostname = hostname;
id_ctx->server_mode->trusts = NULL;
+ id_ctx->server_mode->ext_groups = NULL;
return EOK;
}