git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b9f169
)
patch for domain groups with no members (rpc only) from Ken Cross
author
Gerald Carter
<jerry@samba.org>
Fri, 11 Jul 2003 18:12:24 +0000
(18:12 +0000)
committer
Gerald Carter
<jerry@samba.org>
Fri, 11 Jul 2003 18:12:24 +0000
(18:12 +0000)
(This used to be commit
05ec9c40f40be4d4dbb10b33e0def2374468ff8a
)
source3/nsswitch/winbindd_rpc.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbindd_rpc.c
b/source3/nsswitch/winbindd_rpc.c
index 81a79751f89713a6420c499f865b347304c74920..33339d7ca03be6309aa7b3b0f557054abfb9ac9a 100644
(file)
--- a/
source3/nsswitch/winbindd_rpc.c
+++ b/
source3/nsswitch/winbindd_rpc.c
@@
-629,7
+629,7
@@
static NTSTATUS lookup_groupmem(struct winbindd_domain *domain,
(*sid_mem)[j] = rid_to_talloced_sid(domain, mem_ctx, (rid_mem)[j]);
}
- if (
!*names || !*name_types
) {
+ if (
*num_names>0 && (!*names || !*name_types)
) {
result = NT_STATUS_NO_MEMORY;
goto done;
}