Bugzilla – Attachment 730 Details for
Bug 938
"AllowGroups" option and secondary user's groups limit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add debugging to ga_init.
openssh-ga_init_debug.patch (text/plain), 883 bytes, created by
Darren Tucker
on 2004-10-09 22:21:09 AEST
(
hide
)
Description:
Add debugging to ga_init.
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2004-10-09 22:21:09 AEST
Size:
883 bytes
patch
obsolete
>Index: groupaccess.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/groupaccess.c,v >retrieving revision 1.8 >diff -u -p -r1.8 groupaccess.c >--- groupaccess.c 24 Feb 2004 02:05:12 -0000 1.8 >+++ groupaccess.c 9 Oct 2004 12:13:21 -0000 >@@ -57,9 +57,13 @@ ga_init(const char *user, gid_t base) > > if (getgrouplist(user, base, groups_bygid, &ngroups) == -1) > logit("getgrouplist: groups list too small"); >- for (i = 0, j = 0; i < ngroups; i++) >- if ((gr = getgrgid(groups_bygid[i])) != NULL) >+ for (i = 0, j = 0; i < ngroups; i++) { >+ debug("%s: group in list %d", __func__, groups_bygid[i]); >+ if ((gr = getgrgid(groups_bygid[i])) != NULL) { >+ debug("%s: group name %s", __func__, gr->gr_name); > groups_byname[j++] = xstrdup(gr->gr_name); >+ } >+ } > xfree(groups_bygid); > return (ngroups = j); > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 938
:
727
|
728
|
729
| 730 |
731
|
732