From f8f1711f61d8b3befe10173081cecaa431f0c714 Mon Sep 17 00:00:00 2001 From: Olly Betts 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. Autobuild-User: Jeremy Allison Autobuild-Date: Wed Jan 19 01:34:29 CET 2011 on sn-devel-104 --- source3/utils/net_rpc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 388ceb8a894..6bebd49020d 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);