atom feed4 messages in org.samba.lists.samba[Samba] NT_STATUS_INSUFFICIENT_RESOUR...
FromSent OnAttachments
Ron CreamerMar 28, 2002 9:48 am 
Tim PotterMar 28, 2002 4:20 pm 
John GehringMar 29, 2002 6:08 am 
Ron CreamerMar 29, 2002 1:31 pm 
Subject:[Samba] NT_STATUS_INSUFFICIENT_RESOURCES ... why? (fwd)
From:Ron Creamer (
Date:Mar 28, 2002 9:48:05 am

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.


----------------------------------------------------------------------- Message: 3 Date: Thu, 28 Mar 2002 09:09:48 +1100 From: Tim Potter <> To: Cc: Subject: [ 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 <> -----

Date: Wed, 27 Mar 2002 08:39:13 -0600 (CST) From: Gerald Carter <> X-X-Sender: To: Tim Potter <> Subject: Re: [Samba] NT_STATUS_INSUFFICIENT_RESOURCES ... why? (fwd) In-Reply-To: <>

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 yet? I didn't save the emails of the bug reports :-(