Your message dated Mon, 14 Feb 2011 01:53:22 +0000
with message-id <[email protected]>
and subject line Bug#574468: fixed in samba 2:3.5.6~dfsg-3squeeze1
has caused the Debian Bug report #574468,
regarding samba: pam_winbind leaks file descriptors
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
574468: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574468
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: samba
Version: 2:3.4.7~dfsg-1~bpo50+1
Severity: important
Tags: patch
The pam_winbind module leaks file descriptors. wb_common.c keeps its
file descriptor in the winbindd_fd global variable and closes that
through the winbind_close_sock function, but there's no provision for
making sure that winbind_close_sock is called when pam_winbind is closed
via dlclose.
A symptom of this is that Apache, if set up to use its auth_pam module,
is eventually unable to authenticate new users.
The attached patch instructs gcc to treat winbind_close_sock as a
destructor. This is the simplest fix but maybe not the best; from
looking at the docs, specifying a cleanup function to pam_set_data (and
doing something else for nss_winbind?) may be more correct.
-- System Information:
Debian Release: 5.0.4
APT prefers stable
APT policy: (900, 'stable'), (750, 'unstable'), (700, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages samba depends on:
ii adduser 3.110 add and remove users and groups
ii debconf 1.5.24 Debian configuration management sy
ii libacl1 2.2.47-2 Access control list shared library
ii libattr1 1:2.4.43-2 Extended attribute shared library
ii libc6 2.7-18lenny2 GNU C Library: Shared libraries
ii libcap2 2.11-2 support for getting/setting POSIX.
ii libcomer 1.41.3-1 common error description library
ii libcups2 1.3.8-1+lenny8 Common UNIX Printing System(tm) -
ii libgnutl 2.4.2-6+lenny2 the GNU TLS library - runtime libr
ii libkrb53 1.6.dfsg.4~beta1-5lenny2 MIT Kerberos runtime libraries
ii libldap- 2.4.11-1+lenny1 OpenLDAP libraries
ii libpam-m 1.0.1-5+lenny1 Pluggable Authentication Modules f
ii libpam-r 1.0.1-5+lenny1 Runtime support for the PAM librar
ii libpam0g 1.0.1-5+lenny1 Pluggable Authentication Modules l
ii libpopt0 1.14-4 lib for parsing cmdline parameters
ii libtallo 2.0.1-1~bpo50+1 hierarchical pool based memory all
ii libwbcli 2:3.4.7~dfsg-1~bpo50+1 Samba winbind client library
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii procps 1:3.2.7-11 /proc file system utilities
ii samba-co 2:3.4.7~dfsg-1~bpo50+1 common files used by both the Samb
ii update-i 4.31 inetd configuration file updater
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
Versions of packages samba recommends:
ii logrotate 3.7.1-5 Log rotation utility
Versions of packages samba suggests:
ii ctdb 1.0.99-1~bpo50+1 clustered database to store tempor
pn ldb-tools <none> (no description available)
ii openbsd-inetd [inet-sup 0.20080125-2 The OpenBSD Internet Superserver
pn smbldap-tools <none> (no description available)
-- debconf information:
samba/run_mode: daemons
samba/generate_smbpasswd: true
diff -r samba-3.4.7.orig/nsswitch/winbind_client.h samba-3.4.7/nsswitch/winbind_client.h
28c28
< void winbind_close_sock(void);
---
> void winbind_close_sock(void) __attribute__((destructor));
--- End Message ---
--- Begin Message ---
Source: samba
Source-Version: 2:3.5.6~dfsg-3squeeze1
We believe that the bug you reported is fixed in the latest version of
samba, which is due to be installed in the Debian FTP archive:
libpam-smbpass_3.5.6~dfsg-3squeeze1_i386.deb
to main/s/samba/libpam-smbpass_3.5.6~dfsg-3squeeze1_i386.deb
libsmbclient-dev_3.5.6~dfsg-3squeeze1_i386.deb
to main/s/samba/libsmbclient-dev_3.5.6~dfsg-3squeeze1_i386.deb
libsmbclient_3.5.6~dfsg-3squeeze1_i386.deb
to main/s/samba/libsmbclient_3.5.6~dfsg-3squeeze1_i386.deb
libwbclient0_3.5.6~dfsg-3squeeze1_i386.deb
to main/s/samba/libwbclient0_3.5.6~dfsg-3squeeze1_i386.deb
samba-common-bin_3.5.6~dfsg-3squeeze1_i386.deb
to main/s/samba/samba-common-bin_3.5.6~dfsg-3squeeze1_i386.deb
samba-common_3.5.6~dfsg-3squeeze1_all.deb
to main/s/samba/samba-common_3.5.6~dfsg-3squeeze1_all.deb
samba-dbg_3.5.6~dfsg-3squeeze1_i386.deb
to main/s/samba/samba-dbg_3.5.6~dfsg-3squeeze1_i386.deb
samba-doc-pdf_3.5.6~dfsg-3squeeze1_all.deb
to main/s/samba/samba-doc-pdf_3.5.6~dfsg-3squeeze1_all.deb
samba-doc_3.5.6~dfsg-3squeeze1_all.deb
to main/s/samba/samba-doc_3.5.6~dfsg-3squeeze1_all.deb
samba-tools_3.5.6~dfsg-3squeeze1_i386.deb
to main/s/samba/samba-tools_3.5.6~dfsg-3squeeze1_i386.deb
samba_3.5.6~dfsg-3squeeze1.debian.tar.gz
to main/s/samba/samba_3.5.6~dfsg-3squeeze1.debian.tar.gz
samba_3.5.6~dfsg-3squeeze1.dsc
to main/s/samba/samba_3.5.6~dfsg-3squeeze1.dsc
samba_3.5.6~dfsg-3squeeze1_i386.deb
to main/s/samba/samba_3.5.6~dfsg-3squeeze1_i386.deb
smbclient_3.5.6~dfsg-3squeeze1_i386.deb
to main/s/samba/smbclient_3.5.6~dfsg-3squeeze1_i386.deb
swat_3.5.6~dfsg-3squeeze1_i386.deb
to main/s/samba/swat_3.5.6~dfsg-3squeeze1_i386.deb
winbind_3.5.6~dfsg-3squeeze1_i386.deb
to main/s/samba/winbind_3.5.6~dfsg-3squeeze1_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christian Perrier <[email protected]> (supplier of updated samba package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 15 Jan 2011 18:06:22 +0100
Source: samba
Binary: samba samba-common-bin samba-common samba-tools smbclient swat
samba-doc samba-doc-pdf libpam-smbpass libsmbclient libsmbclient-dev winbind
samba-dbg libwbclient0
Architecture: source all i386
Version: 2:3.5.6~dfsg-3squeeze1
Distribution: stable-proposed-updates
Urgency: low
Maintainer: Debian Samba Maintainers <[email protected]>
Changed-By: Christian Perrier <[email protected]>
Description:
libpam-smbpass - pluggable authentication module for Samba
libsmbclient - shared library for communication with SMB/CIFS servers
libsmbclient-dev - development files for libsmbclient
libwbclient0 - Samba winbind client library
samba - SMB/CIFS file, print, and login server for Unix
samba-common - common files used by both the Samba server and client
samba-common-bin - common files used by both the Samba server and client
samba-dbg - Samba debugging symbols
samba-doc - Samba documentation
samba-doc-pdf - Samba documentation in PDF format
samba-tools - Samba testing utilities
smbclient - command-line SMB/CIFS clients for Unix
swat - Samba Web Administration Tool
winbind - Samba nameservice integration server
Closes: 574468 607402
Changes:
samba (2:3.5.6~dfsg-3squeeze1) stable-proposed-updates; urgency=low
.
* Fix pam_winbind file descriptor leak with a patch
proposed in https://bugzilla.samba.org/show_bug.cgi?id=7265.
Upstream claim is that #7265 is fixed in 3.5.6 but our bug submitter
confirmed it is not while the patch applied here fixes the file
descriptor leak.
Closes: #574468
.
[ Debconf translations ]
* Brazilian Portuguese (Adriano Rafael Gomes). Closes: #607402
Checksums-Sha1:
de85444e52168689eeebb99180b6469f1bcc2f44 2957 samba_3.5.6~dfsg-3squeeze1.dsc
be93e8309c3a37bffd4130fb25e9cc1fd19669d8 26593319 samba_3.5.6~dfsg.orig.tar.bz2
a1069a47690b2489c2bf63208ce79bf13710ed57 497449
samba_3.5.6~dfsg-3squeeze1.debian.tar.gz
a0978c18cb863f0f7f83753eabc0324a6883c362 386942
samba-common_3.5.6~dfsg-3squeeze1_all.deb
87cb3a790b583b7c5441a157598a659b1157a620 1728516
samba-doc_3.5.6~dfsg-3squeeze1_all.deb
b8dfa8124932c70bcaae2f78aee625576f5f5ee5 7107834
samba-doc-pdf_3.5.6~dfsg-3squeeze1_all.deb
bb279697ea05f089c17a8c6e1c2f9d8f25beca06 7633676
samba_3.5.6~dfsg-3squeeze1_i386.deb
efb9a57351f142dac4a28a71530ec22ff85bc22a 5842674
samba-common-bin_3.5.6~dfsg-3squeeze1_i386.deb
9a1049bcab0a1cc8c2979fa0bf9c8af68e5aaa8a 10598390
samba-tools_3.5.6~dfsg-3squeeze1_i386.deb
35e38c7162fb2ad12dea63601377fc94033f7531 13834178
smbclient_3.5.6~dfsg-3squeeze1_i386.deb
5de7578db667c5f49290099a8be775627745847b 2266622
swat_3.5.6~dfsg-3squeeze1_i386.deb
ffec0329447b37d5733faa584e451c88735842ab 828226
libpam-smbpass_3.5.6~dfsg-3squeeze1_i386.deb
554d76ce56483785f6f36ef2e690d45182c8f830 1967986
libsmbclient_3.5.6~dfsg-3squeeze1_i386.deb
4d2bca69c088a392d21c26558c484fbc7e0e91b0 2896420
libsmbclient-dev_3.5.6~dfsg-3squeeze1_i386.deb
ece767640ef9d2d3ae720bcf3cb15ebe82c86047 5292338
winbind_3.5.6~dfsg-3squeeze1_i386.deb
10b940b80293c8d08755af274d1d4620fe1d3283 57292370
samba-dbg_3.5.6~dfsg-3squeeze1_i386.deb
3a8c1278956d3a95fafcc8ab30c34fcea1bcd0d9 112024
libwbclient0_3.5.6~dfsg-3squeeze1_i386.deb
Checksums-Sha256:
1351745872aedae3056ac7dc5fc9f16ae2a07a6b31574884c50e9e758333408b 2957
samba_3.5.6~dfsg-3squeeze1.dsc
fefa62897871877ceacdaece26b3dd3f0c19c8baae70970639b735f46e982e62 26593319
samba_3.5.6~dfsg.orig.tar.bz2
27cffe15acd7382d31add68d8b2ab4add4f96d192c42b891963632c7e71cc05d 497449
samba_3.5.6~dfsg-3squeeze1.debian.tar.gz
5f116f246e2d0191ef2b5654be8c482bc10b343102c5b7f63641dbcfea405afd 386942
samba-common_3.5.6~dfsg-3squeeze1_all.deb
11b889f7146a019a98e1e3105ebbb6f165581dfebd1b9a87213997554ecd30af 1728516
samba-doc_3.5.6~dfsg-3squeeze1_all.deb
e849d3ee876de3b8edecb5584d876066515f4406277e4aa0c808a4ac43595b9d 7107834
samba-doc-pdf_3.5.6~dfsg-3squeeze1_all.deb
ea6fcc46405da264bbe1f0ad10ed94115002c0e467a568a878e9449a31c5c64f 7633676
samba_3.5.6~dfsg-3squeeze1_i386.deb
40d264b0a19dc72cad9ffdccd8c1a03fa56be816d0e5391d261a0b579fa71a7e 5842674
samba-common-bin_3.5.6~dfsg-3squeeze1_i386.deb
d63a669e7f735dee0b6b8c36e8eaba694b9f1b9f1a6104beb61c16cc51823a0e 10598390
samba-tools_3.5.6~dfsg-3squeeze1_i386.deb
3ded7a8255b3477828e666d50393f53d61f12eaa7ecd7fc587cb396ad46ce69a 13834178
smbclient_3.5.6~dfsg-3squeeze1_i386.deb
e48f1b6226d4d0a6d02e93cd0f0c1d14570309fcbfd2ab00b360dc17e75cd22c 2266622
swat_3.5.6~dfsg-3squeeze1_i386.deb
e394ccc6eae2cce5cb705e0598e713f7b19d816ed6e2e2512fc249e2d4261b12 828226
libpam-smbpass_3.5.6~dfsg-3squeeze1_i386.deb
8eb49504ce6bed34bda002e1f494a71ec347860dcd1ecc93664be6bcd10d6dec 1967986
libsmbclient_3.5.6~dfsg-3squeeze1_i386.deb
fb25f3b0be23e33a31d6483daab1dfcfa01f4c9eec578e69eca15b74bd70e239 2896420
libsmbclient-dev_3.5.6~dfsg-3squeeze1_i386.deb
d91ac41275fab328b467e0a999520b6a242a6aa79c903657cbac268bf08d6f84 5292338
winbind_3.5.6~dfsg-3squeeze1_i386.deb
66fff4e0c3732bce6d462d9128ab3d40df1cfd54be7b21b319789a98ba3f8690 57292370
samba-dbg_3.5.6~dfsg-3squeeze1_i386.deb
2178e3b56e2b2312e8be7d6cb758a909fb130b4167d1856832446fa53a08f2f6 112024
libwbclient0_3.5.6~dfsg-3squeeze1_i386.deb
Files:
fed654fedfe7527d47e32a6cbbb6ba43 2957 net optional
samba_3.5.6~dfsg-3squeeze1.dsc
d58979841b8a252aea2223f37ec22de2 26593319 net optional
samba_3.5.6~dfsg.orig.tar.bz2
ab89303dbf6c65b18fbf5516eb7601d3 497449 net optional
samba_3.5.6~dfsg-3squeeze1.debian.tar.gz
1dc988a6a8ec1e91bd2c6aaee2999669 386942 net optional
samba-common_3.5.6~dfsg-3squeeze1_all.deb
6932b0a4be96d92335d58aec7bfb41eb 1728516 doc optional
samba-doc_3.5.6~dfsg-3squeeze1_all.deb
080e3d4d765405915a782c1b489f7d27 7107834 doc optional
samba-doc-pdf_3.5.6~dfsg-3squeeze1_all.deb
1c7e539b16eda866a5c3e4be76605751 7633676 net optional
samba_3.5.6~dfsg-3squeeze1_i386.deb
9f907ee3350018b7576cce70a9b7df52 5842674 net optional
samba-common-bin_3.5.6~dfsg-3squeeze1_i386.deb
a5ceebb4ba658e426f6f6707302bec81 10598390 net optional
samba-tools_3.5.6~dfsg-3squeeze1_i386.deb
d40f2c9ddbab7aab634f9b58e18046da 13834178 net optional
smbclient_3.5.6~dfsg-3squeeze1_i386.deb
5bae5fd8bb7be08feca43bb323ad5777 2266622 net optional
swat_3.5.6~dfsg-3squeeze1_i386.deb
75939555922fadb0e9b67539948ac352 828226 admin extra
libpam-smbpass_3.5.6~dfsg-3squeeze1_i386.deb
90e99e236a3f66ac1764b0b416f6e863 1967986 libs optional
libsmbclient_3.5.6~dfsg-3squeeze1_i386.deb
ea9073f6deac7e94dddc56423967d25c 2896420 libdevel extra
libsmbclient-dev_3.5.6~dfsg-3squeeze1_i386.deb
43ef077b7d5bc33da8d8769340097c49 5292338 net optional
winbind_3.5.6~dfsg-3squeeze1_i386.deb
fa05d87734845d77c5e9fc863a3a7c3f 57292370 debug extra
samba-dbg_3.5.6~dfsg-3squeeze1_i386.deb
96801e6dae47a0b82e6e21f4f7dd4fbb 112024 libs optional
libwbclient0_3.5.6~dfsg-3squeeze1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIVAwUBTVgdvocvcCxNbiWoAQITXg//V2sKzIqec7Jb0GaRia+bIX+kgpoNWRnZ
vQGGgArEvmFi7LUwHQBMQbNPHiF4AP6gfPpDWOHCEBaCk7WjDPvHLIbAFE/sldtJ
IDVQu6i1ArM/PqSEMzVfU+lwbgFwEuMLp3wlNVVOuf70wkqPp+paf+RqGSc9KZMw
pGrMWUdo8jjpayjtxlqsmXNZZTvgygIpu/aXhJSlU3XSClSCqZiWiOCSR2P1z7iL
/qUvx7KRhgT79jSBpY2fGkQbxRh0xzlbJQH2frvDrq+1pxOWNHvv8e4fJRWP5Zgd
O1lydPUMUKM/fK4woVYBuyV8bxwg6l+XBfQLXgDII9eap7GSe6rK6s0lyUwRidzU
GRPbaH91G8miyo882HqC3iaBccPt3bgmdE6Nx+tzVs51wMbl+f3y4mxnHYFjx6mW
tY0dSt2zuTfe8VX0+IEia0+homt2g/zRANpSAa9ul1iSfS27WMznKP/DopKPqHyN
1J2r5eimPbdGJQJf+4U/oRdjisplzE2G4wXBlyGuyjF7ngdo10+KBXM5z7Wn+GB5
hTcsVQ/5JrRe49QSBF+nFXQrDbnRXETYkSWkXzz6ua5Y0Sg0YLi1G9IuD6tYd8St
U9Cq3pgqaTMO4hqpRKtnFtq8XkD13vm1yhaobTCIw3DpN6VvvopSeO9S3gGRaRwK
n/MUIaQ1+zM=
=8ujH
-----END PGP SIGNATURE-----
--- End Message ---