[Samba] NT_STATUS_INSUFFICIENT_RESOURCES ... why? (fwd)

Ron Creamer ron at pageworks.com
Thu Mar 28 09:48:05 GMT 2002


I have been trying to track down this problem for a couple of weeks.

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"

I only get it back by killing off the winbindd process and restarting
it, or by rebooting the PDC (not my preferred method). This lasts about
an hour or two before I have to kill winbindd and restart it.

I was encourage to see the post last night about a fix (below) that I
thought would address this problem. Unfortunately, after a make clean;
make install, the behavior still exists.

So I guess I'm reporting that the patch below to
samba-2.2.3a/source/nsswitch/winbindd_user.c does not seem to address
this problem.

-Ron


-----------------------------------------------------------------------
Message: 3
Date: Thu, 28 Mar 2002 09:09:48 +1100
From: Tim Potter <tpot at samba.org>
To: samba at lists.samba.org
Cc: John.Gehring at lefthandnetworks.com
Subject: [jerry at samba.org: Re: [Samba] NT_STATUS_INSUFFICIENT_RESOURCES
... why? (fwd)]

OK here is a fix for the NT_STATUS_INSUFFICIENT_RESOURCES problem
in 2.2.3a.  Unfortunately it requires a patch and a recopmile.

The problem is not present in HEAD or (the yet unreleased) 2.2.4


Tim.
----- Forwarded message from Gerald Carter <jerry at samba.org> -----

Date: Wed, 27 Mar 2002 08:39:13 -0600 (CST)
From: Gerald Carter <jerry at samba.org>
X-X-Sender: jerry at queso.plainjoe.org
To: Tim Potter <tpot at samba.org>
Subject: Re: [Samba] NT_STATUS_INSUFFICIENT_RESOURCES ... why? (fwd)
In-Reply-To: <20020327141458.A21676 at va.samba.org>

On Wed, 27 Mar 2002, Tim Potter wrote:

> Found it:
> 
> --- 1/samba-2.2.3a/source/nsswitch/winbindd_user.c Sun Feb  3 11:46:46 2002
> +++ samba-2.2.3a/source/nsswitch/winbindd_user.c   Wed Mar 27 14:01:43 2002
> @@ -557,6 +557,9 @@
>                                 next_ent = ent->next;
>                                 DLIST_REMOVE(state->getpwent_state, ent);
>  
> +                               close_samr_domain_handle(
> +                                       ent->domain, &ent->dom_pol);
> +
>                                 SAFE_FREE(ent);
>                                 ent = next_ent;
>                         }

Yeah!  Good catch :-)  Did you post this to Samba at samba.org
yet?  I didn't save the emails of the bug reports :-(
-----------------------------------------------------------------------




More information about the samba mailing list