Displaying 4 results from an estimated 4 matches for "gidstr".
Did you mean:
idstr
2004 Feb 20
1
NGROUPS_MAX on Linux
...< ngroups; i++)
- if ((gr = getgrgid(groups_bygid[i])) != NULL)
- groups_byname[j++] = xstrdup(gr->gr_name);
- return (ngroups = j);
+ for (i = 0; i < ngroups; i++) {
+ if ((gr = getgrgid(groups_bygid[i])) != NULL) {
+ groups_byname[i] = xstrdup(gr->gr_name);
+ } else {
+ char gidstr[32];
+
+ logit("getgrgid: unknown group id: %d",
+ (int)groups_bygid[i]);
+ snprintf(gidstr, sizeof(gidstr), "%d",
+ (int)groups_bygid[i]);
+ groups_byname[i] = xstrdup(gidstr);
+ }
+ }
+ return ngroups;
}
/*
@@ -84,5 +97,7 @@
for (i = 0; i < ngroups...
2004 Feb 20
24
[Bug 787] Minor security problem due to use of deprecated NGROUPS_MAX in uidswap.c (sshd)
http://bugzilla.mindrot.org/show_bug.cgi?id=787
------- Additional Comments From openssh_bugzilla at hockin.org 2004-02-20 13:01 -------
Created an attachment (id=548)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=548&action=view)
NGROUPS patch
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2016 Mar 06
0
Segmentation Fault when trying to set root samba password, IPA as a backend
...hine = false
add_posix = true
init_okay = false
mods = 0x0
user = 0x80036600
filter = 0x80028468 "(&(uid=ldap09)(objectClass=posixAccount))"
username = 0x0
homedir = 0xb7dadf10 <incomplete sequence \370\215>
gidstr = 0x800338f0 "\200\064f\267\200\064f\267"
uidstr = 0xb7185e30 <incomplete sequence \355>
shell = 0x1 <error: Cannot access memory at address 0x1>
dn = 0x0
group_sid = {sid_rev_num = 101 'e', num_auths = 0 '\000',
i...
2016 Mar 06
2
Segmentation Fault when trying to set root samba password, IPA as a backend
On Fri, Mar 04, 2016 at 04:16:44PM +0000, Rowland penny wrote:
> On 04/03/16 09:58, Volker Lendecke wrote:
> >On Fri, Mar 04, 2016 at 10:53:17AM +0100, Volker Lendecke wrote:
> >>On Wed, Mar 02, 2016 at 09:23:34AM +0000, Rowland penny wrote:
> >>>OK, here is the output:
> >>Can you try the attached (UNTESTED!) patch?
> >>
> >>Thanks,
>