[Samba] NT_STATUS_INSUFFICIENT_RESOURCES ... why? (fwd)
Ron Creamer
ron at pageworks.com
Fri Mar 29 13:31:07 GMT 2002
Tim Potter wrote:
>
> On Thu, Mar 28, 2002 at 12:45:43PM -0500, Ron Creamer wrote:
>
> > I'm running 2.2.3a w/ winbindd. Winbindd uses up all my sam connections
> > to my PDC until it maxes out the PDC. When it's max'd wbinfo -g etc
> > reports "Error looking up domain groups". I can not run the "User
> > manager for domains" on my PDC due to a "Insufficient system resources
> > exist to complete the requested service"
>
> Aha so this is the flip side of the problem - running out of group handles.
> I did try to test for this but couldn't reproduce it. Hmm - maybe I
> didn't try long enough.
>
> Try this (untested) patch
>
> *** winbindd_group.c.~1.3.4.1.2.4.~ Sun Feb 3 08:28:07 2002
> --- winbindd_group.c Fri Mar 29 11:02:37 2002
> ***************
> *** 632,637 ****
> --- 632,640 ----
>
> SAFE_FREE(ent->sam_entries);
>
> + close_samr_domain_handle(
> + ent->domain, &ent->dom_pol);
> +
> next_ent = ent->next;
I am encouraged to report, for the first time since I installed Samba, I
am no longer getting insufficient resource type errors. Although not a
full staff here today, it didn't throttle our PDC's sam connections.
The patches to winbindd_group.c and winbindd_user.c appear to be
working.
Thanks and Happy Holiday weekend to all.
-Ron
More information about the samba
mailing list