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:
parent
e8b27b69f3
commit
a94318be46
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user