[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Tue Jan 18 17:35:01 MST 2011


The branch, master has been updated
       via  f8f1711 Fix "net usersidlist" not to skip every other user
      from  49969e6 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=master


- Log -----------------------------------------------------------------
commit f8f1711f61d8b3befe10173081cecaa431f0c714
Author: Olly Betts <olly at 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.
    
    Autobuild-User: Jeremy Allison <jra at samba.org>
    Autobuild-Date: Wed Jan 19 01:34:29 CET 2011 on sn-devel-104

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

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


More information about the samba-cvs mailing list