Increase the max_grp value to 128 (AIX NGROUPS_MAX value) instead of 32 to allow...
authorYannick Bergeron <burgergold@hotmail.com>
Thu, 30 Jul 2009 23:31:24 +0000 (19:31 -0400)
committerVolker Lendecke <vl@samba.org>
Fri, 31 Jul 2009 08:34:37 +0000 (04:34 -0400)
source3/lib/system_smbd.c

index 1f5dd3172f3decd6f2d25a060bd7aa98a384b8f0..b22d15fb8a9e5441858ccab7d82e45bda29e6023 100644 (file)
@@ -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;