git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5187157
)
r24713: Fix obvious error in enum_dom_groups. We were returning NT_STATUS_OK when...
author
Günther Deschner
<gd@samba.org>
Mon, 27 Aug 2007 18:12:29 +0000
(18:12 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:30:15 +0000
(12:30 -0500)
Guenther
source/nsswitch/winbindd_rpc.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_rpc.c
b/source/nsswitch/winbindd_rpc.c
index 1895622f5642974cffafab31f30cdf25518d4f81..6d2dd35080c65591d96b6c49ea672c55e03a3878 100644
(file)
--- a/
source/nsswitch/winbindd_rpc.c
+++ b/
source/nsswitch/winbindd_rpc.c
@@
-172,8
+172,7
@@
static NTSTATUS enum_dom_groups(struct winbindd_domain *domain,
(*num_entries) + count);
if (! *info) {
talloc_destroy(mem_ctx2);
- status = NT_STATUS_NO_MEMORY;
- break;
+ return NT_STATUS_NO_MEMORY;
}
memcpy(&(*info)[*num_entries], info2, count*sizeof(*info2));