1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

netapi: fix NetGroupGetUsers (only enumerates users).

Guenther
This commit is contained in:
Günther Deschner 2008-09-12 11:28:42 +02:00
parent e8b27b69f3
commit a94318be46

View File

@ -1391,10 +1391,15 @@ WERROR NetGroupGetUsers_r(struct libnetapi_ctx *ctx,
}
for (i=0; i < names.count; i++) {
if (member_types.ids[i] != SID_NAME_USER) {
continue;
}
status = add_GROUP_USERS_INFO_X_buffer(ctx,
r->in.level,
names.names[i].string,
member_types.ids[i],
7,
r->out.buffer,
&entries_read);
if (!NT_STATUS_IS_OK(status)) {