winbindd_pam.c open a NETLOGON pipe but never closes it?

Jeremy Allison jra at
Sun Apr 2 19:01:49 GMT 2006

On Sun, Apr 02, 2006 at 01:02:06PM +0300, Moshe Yosevshvili wrote:
> hi all.
> I'm using samba 3.0.21c and i see in the code that in the call to:
> winbindd_dual_pam_auth_crap (winbindd_pam.c) there's a call to opening
> a NETLOGON pipe but the pipe is never closed. can't this cause a leak (open
> handles in the domain-controller)?

No, the pipe handles are pooled between uses in winbindd. Many
functions can open a netlogon pipe, and it will stay around
so long as the correction to the DC exists so each function
will reuse the same pipe.


More information about the samba-technical mailing list