Since the socket in winbind_nss.c is not closed
too there maybe a similar problem.
However i am not deep enough into the code to
say if the socket should be closed in wb_common.c,
but since the socket needs to be closed somewhere,
and since the time when socket is no more needed
is not fixed, i think that the socket should be closed
in pam_winbind.c, resp. winbind_nss.c.
Only my 2 cents:-)
-timo
On Wed, Aug 07, 2002 at 10:35:57AM +0200, Timo Benk
wrote:> Hi,
>
> The socket which is opened in write_sock() from
> wb_common.c is never closed in pam_winbind.c.
>
> The attached patch fixes the problem for me in the
> pam winbind module.
>
> -timo