mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4-libnet: fix user and group enumeration functions after lsa changes.
Guenther
This commit is contained in:
parent
d04131c8ec
commit
a4ad265850
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user