The Samba-Bugzilla – Attachment 6218 Details for
Bug 7926
net usersidlist skips every other user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix this bug
0001-Fix-net-usersidlist-not-to-skip-every-other-user.patch (text/plain), 830 bytes, created by
Olly Betts
on 2011-01-18 04:58:58 UTC
(
hide
)
Description:
Patch to fix this bug
Filename:
MIME Type:
Creator:
Olly Betts
Created:
2011-01-18 04:58:58 UTC
Size:
830 bytes
patch
obsolete
>From b834612dfaea6890692f699539260cb01ae3afe3 Mon Sep 17 00:00:00 2001 >From: Olly Betts <olly@survex.com> >Date: Tue, 18 Jan 2011 10:07:13 +0000 >Subject: [PATCH] Fix "net usersidlist" not to skip every other user > >Remove double increment from for loop over users in get_user_tokens(), >left over from when this used to be a while loop. Bug was introduced >in 1e39a619. >--- > source3/utils/net_rpc.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > >diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c >index 18e6b63..2d2d4c4 100644 >--- a/source3/utils/net_rpc.c >+++ b/source3/utils/net_rpc.c >@@ -4386,7 +4386,6 @@ static bool get_user_tokens(struct net_context *c, int *num_tokens, > } > > get_user_sids(domain, user, &(result[i].token)); >- i+=1; > } > TALLOC_FREE(frame); > wbcFreeMemory(users); >-- >1.7.0.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7926
: 6218