diff options
author | Günther Deschner <gd@samba.org> | 2008-10-27 21:46:50 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-27 21:46:50 +0100 |
commit | a4ad2658500e83613eeb5c01a6dfb5d067803d16 (patch) | |
tree | dd17c0f4e3c7454dd18e0527e19b65e0a10e19e8 /source4/libnet | |
parent | d04131c8ec9d327f7376ad85d8d1dba0f2bccea6 (diff) | |
download | samba-a4ad2658500e83613eeb5c01a6dfb5d067803d16.tar.gz samba-a4ad2658500e83613eeb5c01a6dfb5d067803d16.tar.bz2 samba-a4ad2658500e83613eeb5c01a6dfb5d067803d16.zip |
s4-libnet: fix user and group enumeration functions after lsa changes.
Guenther
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_group.c | 2 | ||||
-rw-r--r-- | source4/libnet/libnet_user.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/libnet/libnet_group.c b/source4/libnet/libnet_group.c index cae6d6d272..eded378511 100644 --- a/source4/libnet/libnet_group.c +++ b/source4/libnet/libnet_group.c @@ -476,6 +476,8 @@ static void continue_lsa_domain_opened(struct composite_context *ctx) /* prepare arguments of QueryDomainInfo call */ s->query_domain.in.handle = &s->ctx->lsa.handle; s->query_domain.in.level = LSA_POLICY_INFO_DOMAIN; + s->query_domain.out.info = talloc_zero(c, union lsa_PolicyInformation *); + if (composite_nomem(s->query_domain.out.info, c)) return; /* send the request */ query_req = dcerpc_lsa_QueryInfoPolicy_send(s->ctx->lsa.pipe, c, &s->query_domain); diff --git a/source4/libnet/libnet_user.c b/source4/libnet/libnet_user.c index 35b2432838..c768319452 100644 --- a/source4/libnet/libnet_user.c +++ b/source4/libnet/libnet_user.c @@ -989,6 +989,8 @@ static void continue_lsa_domain_opened(struct composite_context *ctx) /* prepare arguments of QueryDomainInfo call */ s->query_domain.in.handle = &s->ctx->lsa.handle; s->query_domain.in.level = LSA_POLICY_INFO_DOMAIN; + s->query_domain.out.info = talloc_zero(c, union lsa_PolicyInformation *); + if (composite_nomem(s->query_domain.out.info, c)) return; /* send the request */ query_req = dcerpc_lsa_QueryInfoPolicy_send(s->ctx->lsa.pipe, c, &s->query_domain); |