The branch, v3-6-test has been updated
       via  bf352d2 Fix "net usersidlist" not to skip every other user
      from  147134d s3-winbind: no need to include ../librpc/gen_ndr/cli_lsa.h 
in winbindd/winbindd_msrpc.c.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit bf352d2e0eb2c855c686c562077ad27790b694b7
Author: Olly Betts <o...@survex.com>
Date:   Tue Jan 18 10:07:13 2011 +0000

    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.

-----------------------------------------------------------------------

Summary of changes:
 source3/utils/net_rpc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 388ceb8..6bebd49 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);


-- 
Samba Shared Repository

Reply via email to