1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

Don't try to show groups that could not be listed.

Volker
(This used to be commit d713e76a24583acaffa0be67838e7629b980ff29)
This commit is contained in:
Volker Lendecke 2004-02-17 15:24:28 +00:00
parent 07892673ff
commit 96a5c5e38c

View File

@ -1132,6 +1132,9 @@ rpc_group_list_internals(const DOM_SID *domain_sid, const char *domain_name,
&start_idx, 3, &num_entries,
max_entries, max_size, &ctr);
if (!NT_STATUS_IS_OK(result))
break;
for (i = 0; i < num_entries; i++) {
fstring group, desc;
@ -1155,6 +1158,9 @@ rpc_group_list_internals(const DOM_SID *domain_sid, const char *domain_name,
&start_idx, max_entries,
&groups, &num_entries);
if (!NT_STATUS_IS_OK(result))
break;
for (i = 0; i < num_entries; i++) {
char *description = NULL;
@ -1206,6 +1212,9 @@ rpc_group_list_internals(const DOM_SID *domain_sid, const char *domain_name,
&start_idx, max_entries,
&groups, &num_entries);
if (!NT_STATUS_IS_OK(result))
break;
for (i = 0; i < num_entries; i++) {
char *description = NULL;