The Samba-Bugzilla – Attachment 7727 Details for
Bug 8773
smbd fails to run as root because it belongs to more than 16 groups on MacOS X
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for get_groups_unix() in lib/system_samba.c
patch-source_lib_system_smbd_c.diff (text/plain), 351 bytes, created by
Adam Yearout
on 2012-07-30 05:03:33 UTC
(
hide
)
Description:
patch for get_groups_unix() in lib/system_samba.c
Filename:
MIME Type:
Creator:
Adam Yearout
Created:
2012-07-30 05:03:33 UTC
Size:
351 bytes
patch
obsolete
>--- lib/system_smbd.c.orig 2012-07-29 19:48:57.000000000 -0700 >+++ lib/system_smbd.c 2012-07-29 19:49:09.000000000 -0700 >@@ -210,7 +210,11 @@ > gid_t *groups; > int i; > >+#if defined(DARWINOS) >+ max_grp = 128; >+#else > max_grp = MIN(128, groups_max()); >+#endif > temp_groups = SMB_MALLOC_ARRAY(gid_t, max_grp); > if (! temp_groups) { > return False;
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 8773
:
7340
|
7727
|
16805