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

Karolin Seeger kseeger at samba.org
Mon Aug 3 08:11:50 MDT 2009


The branch, v3-3-test has been updated
       via  1da21f70ec4cebb7ee523dda8abf4100584901f8 (commit)
      from  1310ba934b87b804f435cef2c21e6e65590e4a83 (commit)

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


- Log -----------------------------------------------------------------
commit 1da21f70ec4cebb7ee523dda8abf4100584901f8
Author: Yannick Bergeron <burgergold at hotmail.com>
Date:   Thu Jul 30 19:31:24 2009 -0400

    Increase the max_grp value to 128 (AIX NGROUPS_MAX value) instead of 32 to allow AIX to call sys_getgrouplist only once
    (cherry picked from commit c3e12444f57e24dcd6c9259537ed0489db4658e9)
    (cherry picked from commit 2666b3e27444ffcad3afc21e276f189ac238433f)

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

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


Changeset truncated at 500 lines:

diff --git a/source/lib/system_smbd.c b/source/lib/system_smbd.c
index 1f5dd31..b22d15f 100644
--- a/source/lib/system_smbd.c
+++ b/source/lib/system_smbd.c
@@ -153,7 +153,7 @@ bool getgroups_unix_user(TALLOC_CTX *mem_ctx, const char *user,
 	gid_t *groups;
 	int i;
 
-	max_grp = MIN(32, groups_max());
+	max_grp = MIN(128, groups_max());
 	temp_groups = SMB_MALLOC_ARRAY(gid_t, max_grp);
 	if (! temp_groups) {
 		return False;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list