diff options
-rw-r--r-- | source4/libnet/libnet_group.c | 4 | ||||
-rw-r--r-- | source4/libnet/libnet_group.h | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/source4/libnet/libnet_group.c b/source4/libnet/libnet_group.c index af5fe4d5d3..9f1060285a 100644 --- a/source4/libnet/libnet_group.c +++ b/source4/libnet/libnet_group.c @@ -344,7 +344,9 @@ NTSTATUS libnet_GroupInfo_recv(struct composite_context* c, TALLOC_CTX *mem_ctx, if (NT_STATUS_IS_OK(status)) { /* put the results into io structure if everything went fine */ s = talloc_get_type(c->private_data, struct group_info_state); - + + io->out.group_name = talloc_steal(mem_ctx, + s->info.out.info.all.name.string); io->out.group_sid = talloc_steal(mem_ctx, s->lookup.out.sid); io->out.num_members = s->info.out.info.all.num_members; io->out.description = talloc_steal(mem_ctx, s->info.out.info.all.description.string); diff --git a/source4/libnet/libnet_group.h b/source4/libnet/libnet_group.h index 3156b1f32f..bdd2c04fec 100644 --- a/source4/libnet/libnet_group.h +++ b/source4/libnet/libnet_group.h @@ -33,13 +33,14 @@ struct libnet_CreateGroup { struct libnet_GroupInfo { struct { const char *group_name; - const char *domain_name; + const char *domain_name; } in; struct { + const char *group_name; struct dom_sid *group_sid; uint32_t num_members; const char *description; - + const char *error_string; } out; }; |