summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-10 14:15:33 +0100
committerGünther Deschner <gd@samba.org>2008-11-10 21:46:30 +0100
commit15e011564ad2c5975aee8066296d6c662be93c26 (patch)
tree478b19e95a722c89fc870676aaf6786469b90580 /source4/libnet
parent0548642e5b0ba8eecf3a742b92e23d1fe9f4e68d (diff)
downloadsamba-15e011564ad2c5975aee8066296d6c662be93c26.tar.gz
samba-15e011564ad2c5975aee8066296d6c662be93c26.tar.bz2
samba-15e011564ad2c5975aee8066296d6c662be93c26.zip
s4-samr: merge samr_QueryGroupInfo from s3 idl. (fixme python)
Guenther
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/groupinfo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/libnet/groupinfo.c b/source4/libnet/groupinfo.c
index 1fb52a27bc..5c94c34b1d 100644
--- a/source4/libnet/groupinfo.c
+++ b/source4/libnet/groupinfo.c
@@ -152,6 +152,8 @@ static void continue_groupinfo_opengroup(struct rpc_request *req)
/* prepare parameters for QueryGroupInfo call */
s->querygroupinfo.in.group_handle = &s->group_handle;
s->querygroupinfo.in.level = s->level;
+ s->querygroupinfo.out.info = talloc(s, union samr_GroupInfo *);
+ if (composite_nomem(s->querygroupinfo.out.info, c)) return;
/* queue rpc call, set event handling and new state */
querygroup_req = dcerpc_samr_QueryGroupInfo_send(s->pipe, c, &s->querygroupinfo);
@@ -185,7 +187,7 @@ static void continue_groupinfo_getgroup(struct rpc_request *req)
return;
}
- s->info = talloc_steal(s, s->querygroupinfo.out.info);
+ s->info = talloc_steal(s, *s->querygroupinfo.out.info);
/* issue a monitor message */
if (s->monitor_fn) {