[Pkg-samba-maint] Bug#410663: winbind leaking file descriptors

Yves Junqueira yves at cetico.org
Mon Feb 12 12:28:56 CET 2007


Package: winbind
Version: 3.0.23d-4
Severity: normal
Tags: patch


When using Winbind for authentication in an AD domain by Squid, my var partition quickly with 146Gb of logs
in syslog with the following message:

winbindd: Exceeding 200 client connections, no idle connection found

That is a known bug in Winbind. See https://bugzilla.samba.org/show_bug.cgi?id=3204

The fix provided is:

--- samba/source/nsswitch/winbindd.c    (revision 176)
+++ samba/source/nsswitch/winbindd.c    (working copy)
@@ -602,8 +602,10 @@

        /* Create new connection structure */

-       if ((state = TALLOC_ZERO_P(NULL, struct winbindd_cli_state)) == NULL)
+       if ((state = TALLOC_ZERO_P(NULL, struct winbindd_cli_state)) == NULL) {
+               close(sock);
                return;
+       }

        state->sock = sock;

I'm still confirming if that fixes the problem. If so, could this go to Etch, please?

Thank you.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686-bigmem
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages winbind depends on:
ii  adduser  3.102                           Add and remove users and groups
ii  libc6    2.3.6.ds1-10                    GNU C Library: Shared libraries
ii  libcomer 1.39+1.40-WIP-2006.11.14+dfsg-1 common error description library
ii  libkrb53 1.4.4-6                         MIT Kerberos runtime libraries
ii  libldap2 2.1.30-13.2                     OpenLDAP libraries
ii  libpam0g 0.79-4                          Pluggable Authentication Modules l
ii  libpopt0 1.10-3                          lib for parsing cmdline parameters
ii  lsb-base 3.1-22                          Linux Standard Base 3.1 init scrip
ii  samba-co 3.0.23d-4                       Samba common files used by both th

winbind recommends no packages.

-- no debconf information




More information about the Pkg-samba-maint mailing list