The Samba-Bugzilla – Attachment 4495 Details for
Bug 6594
AIX and sys_getgrouplist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git patch against origin/v3-4-test
0001-Increase-the-max_grp-value-to-128-AIX-NGROUPS_MAX-v.patch (text/plain), 834 bytes, created by
Yannick Bergeron
on 2009-07-31 05:04:46 UTC
(
hide
)
Description:
git patch against origin/v3-4-test
Filename:
MIME Type:
Creator:
Yannick Bergeron
Created:
2009-07-31 05:04:46 UTC
Size:
834 bytes
patch
obsolete
>From 494486b6ea43a8c4be6c8635c564804712588686 Mon Sep 17 00:00:00 2001 >From: Yannick Bergeron <burgergold@hotmail.com> >Date: Thu, 30 Jul 2009 19:31:24 -0400 >Subject: [PATCH] Increase the max_grp value to 128 (AIX NGROUPS_MAX value) instead of 32 to allow AIX to call sys_getgrouplist only once > >--- > source3/lib/system_smbd.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/lib/system_smbd.c b/source3/lib/system_smbd.c >index 1f5dd31..b22d15f 100644 >--- a/source3/lib/system_smbd.c >+++ b/source3/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; >-- >1.6.0.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6594
: 4495