diff options
author | Olly Betts <olly@survex.com> | 2011-01-18 10:07:13 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-01-19 01:34:29 +0100 |
commit | f8f1711f61d8b3befe10173081cecaa431f0c714 (patch) | |
tree | 69eb4976b50a9c0da3cd9b45c2d4e078e72e4dea /source3 | |
parent | 49969e6aeb6607620177146461e114820a4c002c (diff) | |
download | samba-f8f1711f61d8b3befe10173081cecaa431f0c714.tar.gz samba-f8f1711f61d8b3befe10173081cecaa431f0c714.tar.bz2 samba-f8f1711f61d8b3befe10173081cecaa431f0c714.zip |
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 <jra@samba.org>
Autobuild-Date: Wed Jan 19 01:34:29 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | 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 388ceb8a89..6bebd49020 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); |