search for: add_uid_to_array_uniqu

Displaying 1 result from an estimated 1 matches for "add_uid_to_array_uniqu".

2004 Jul 13
1
Antwort: Re: 3.0.4: smbd's + nscd's = 100% CPU; load > 4
...> lookup for a bad user name. The code in question is here: > > for (gr = grp->gr_mem; (*gr != NULL) && ((*gr)[0] != '\0'); gr += 1) { > struct passwd *pw = getpwnam(*gr); > > if (pw == NULL) > continue; > add_uid_to_array_unique(pw->pw_uid, uids, num); > } > > Note that if pw == NULL then the name should be skipped and > the next entry examined. This code is not looping on bad lookups > within smbd. > > Is it possible to attach to the smbd in question with gdb and > walk through this code with a...