[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3456-g6c52b5c

Stefan Metzmacher metze at samba.org
Fri Feb 13 16:39:35 GMT 2009


The branch, v3-2-test has been updated
       via  6c52b5cb48d93934fe472eb57511dd05a89eb523 (commit)
      from  ebd7f45f9fe12b15dacc8ba52006ca25cb14fa0d (commit)

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


- Log -----------------------------------------------------------------
commit 6c52b5cb48d93934fe472eb57511dd05a89eb523
Author: Stefan Metzmacher <metze at samba.org>
Date:   Fri Feb 13 17:38:52 2009 +0100

    s3:auth_util.c: fix the build
    
    metze

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

Summary of changes:
 source/auth/auth_util.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c
index 2039e92..939fbee 100644
--- a/source/auth/auth_util.c
+++ b/source/auth/auth_util.c
@@ -742,7 +742,7 @@ NTSTATUS create_local_token(auth_serversupplied_info *server_info)
 				&server_info->ptok->user_sids,
 				&server_info->ptok->num_sids);
 
-	for ( i=0; i<server_info->ngroups; i++ ) {
+	for ( i=0; i<server_info->n_groups; i++ ) {
 		if (!gid_to_unix_groups_sid( server_info->groups[i], &tmp_sid ) ) {
 			DEBUG(1,("create_local_token: Failed to create SID "
 				"for gid %d!\n", server_info->groups[i]));
@@ -757,7 +757,7 @@ NTSTATUS create_local_token(auth_serversupplied_info *server_info)
 	debug_unix_user_token(DBGC_AUTH, 10,
 			      server_info->uid,
 			      server_info->gid,
-			      server_info->ngroups,
+			      server_info->n_groups,
 			      server_info->groups);
 
 	mem_ctx = talloc_new(NULL);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list