diff options
author | Günther Deschner <gd@samba.org> | 2008-10-24 13:43:21 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-27 19:33:23 +0100 |
commit | 92f1c0d1565f0b3d60c7235d6760926739a55426 (patch) | |
tree | e13eb49afdef9cba04e7c9237f514dfdaeb02cef /source4/libnet | |
parent | 992c03a1926cfbf6fb814583e4e2c1db810dd966 (diff) | |
download | samba-92f1c0d1565f0b3d60c7235d6760926739a55426.tar.gz samba-92f1c0d1565f0b3d60c7235d6760926739a55426.tar.bz2 samba-92f1c0d1565f0b3d60c7235d6760926739a55426.zip |
s4-lsa: merge lsa_LookupNames/{2,3,4} from s3 lsa idl.
Guenther
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_lookup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c index dc54ec3cf1..fc307823b8 100644 --- a/source4/libnet/libnet_lookup.c +++ b/source4/libnet/libnet_lookup.c @@ -312,6 +312,8 @@ static bool prepare_lookup_params(struct libnet_context *ctx, s->lookup.in.count = &s->count; s->lookup.out.count = &s->count; s->lookup.out.sids = &s->sids; + s->lookup.out.domains = talloc_zero(ctx, struct lsa_RefDomainList *); + if (composite_nomem(s->lookup.out.domains, c)) return false; return true; } @@ -372,7 +374,7 @@ NTSTATUS libnet_LookupName_recv(struct composite_context *c, TALLOC_CTX *mem_ctx io->out.sidstr = NULL; if (*s->lookup.out.count > 0) { - struct lsa_RefDomainList *domains = s->lookup.out.domains; + struct lsa_RefDomainList *domains = *s->lookup.out.domains; struct lsa_TransSidArray *sids = s->lookup.out.sids; if (domains == NULL || sids == NULL) { |