Bug Fix Advisory samba bug fix and enhancement update

Advisory: RHBA-2008:0711-14
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2008-07-24
Last updated on: 2008-07-24
Affected Products: Red Hat Desktop (v. 4)
Red Hat Enterprise Linux AS (v. 4)
Red Hat Enterprise Linux ES (v. 4)
Red Hat Enterprise Linux WS (v. 4)
OVAL: N/A

Details

Updated samba packages that fix several bugs and add an enhancement are now
available.

Samba is a suite of programs used by machines to share files, printers, and
other information.

These updated packages fix the following bugs:

* it was possible to use the smbd and nmbd commands to specify invalid port
numbers (higher than 65536), causing invalid ports to be created, and, in
some cases, a "port number definition: unsigned short" error. Now, when an
invalid port number is specified, the default port number is used.

* in certain situations, Windows® clients intermittently lost access to
Samba shares. Errors relating to "secrets.tdb", such as "tdb_lock failed on
list" and "alarm (10) timed out for key replay cache mutex in tdb", were
logged to the Samba log file.

* the "/etc/pam.d/samba" file was missing the following line, which caused
authentication to fail when "smb.conf" was configured with the "obey pam
restrictions = yes" option:

session required /lib/security/pam_stack.so service=system-auth

* missing sections in "/etc/pam.d/samba" caused password changes to fail,
when "smb.conf" was configured with the "pam password change = yes" option.

* due to a change in libsmbclient, it was not possible to rebuild the
"gnome-vfs2-2.8.2-8.6.EL4" package.

* communication problems with trusted domains from a Samba Domain
Controller, which caused an "Error looking up domain users" error when
running the "wbinfo -u" command, have been resolved.

* when Windows® clients performed file operations on files stored on a
Samba share, various error messages popped-up, and the "Event ID: 4322"
error was logged on the Windows® clients:

NetBT failed to process a request because it encountered OutOfResources
exception(s) in the last 1 hour.

* in the previous samba packages, it was not possible for Windows Vista™
clients, who have installed Windows Vista™ Service Pack 1, to access Samba
shares.

* when "Change Notify" was enabled on a Samba server, notifications of file
changes were lost. Red Hat Enterprise Linux 4 users need to install the
"gamin" package, and set "vfs object = notify_fam" in "smb.conf" to
activate notifications. In these updated packages, "Change Notify"
correctly sends notifications, which resolves this issue.

* Samba servers using the "net ads join" command to connect to a Windows
Server® 2003-based domain failed with "failed to gets channel session key
from server" and "NT_STATUS_ACCESS_DENIED" errors.

Note: these updated packages upgrade Samba to version 3.0.28. For a full
list of bug fixes and enhancements, refer to the Samba release notes:
http://us3.samba.org/samba/history/samba-3.0.28a.html

Users of samba are advised to upgrade to these updated packages, which
resolve these issues and add this enhancement.


Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

Updated packages

Red Hat Desktop (v. 4)

SRPMS:
samba-3.0.28-0.el4.9.src.rpm     ca313cdc488c1a2bf04ec742ccf6ed62
 
IA-32:
samba-3.0.28-0.el4.9.i386.rpm     063a8964f29e01f4b0690b447ed90bfc
samba-client-3.0.28-0.el4.9.i386.rpm     fc4a9aa2f28bf5ffe224597ad26dde9e
samba-common-3.0.28-0.el4.9.i386.rpm     9685a88c3a0dd05faf897d6f19dda825
samba-swat-3.0.28-0.el4.9.i386.rpm     8c560aa1e2db475afd87ba5d9565af5d
 
x86_64:
samba-3.0.28-0.el4.9.x86_64.rpm     3d16c96afd6401a6f67da8b96455b253
samba-client-3.0.28-0.el4.9.x86_64.rpm     c2870a00df0a1a905d64a1e483a0b91a
samba-common-3.0.28-0.el4.9.i386.rpm     9685a88c3a0dd05faf897d6f19dda825
samba-common-3.0.28-0.el4.9.x86_64.rpm     db94fb8badea3897d2546e6451766622
samba-swat-3.0.28-0.el4.9.x86_64.rpm     76fb58304aea810fac30e895decd6eac
 
Red Hat Enterprise Linux AS (v. 4)

SRPMS:
samba-3.0.28-0.el4.9.src.rpm     ca313cdc488c1a2bf04ec742ccf6ed62
 
IA-32:
samba-3.0.28-0.el4.9.i386.rpm     063a8964f29e01f4b0690b447ed90bfc
samba-client-3.0.28-0.el4.9.i386.rpm     fc4a9aa2f28bf5ffe224597ad26dde9e
samba-common-3.0.28-0.el4.9.i386.rpm     9685a88c3a0dd05faf897d6f19dda825
samba-swat-3.0.28-0.el4.9.i386.rpm     8c560aa1e2db475afd87ba5d9565af5d
 
IA-64:
samba-3.0.28-0.el4.9.ia64.rpm     a3f8eb00c6fdf560e2ad1c9b7bfffbbd
samba-client-3.0.28-0.el4.9.ia64.rpm     ab54ad15a625b35884e5adc2d0313def
samba-common-3.0.28-0.el4.9.i386.rpm     9685a88c3a0dd05faf897d6f19dda825
samba-common-3.0.28-0.el4.9.ia64.rpm     fb2c7294f2381b7d3502b2ea6b91f31a
samba-swat-3.0.28-0.el4.9.ia64.rpm     30017ea4e9816349a7d051f0fbcb4f1e
 
PPC:
samba-3.0.28-0.el4.9.ppc.rpm     e98a82c152ed25809bacc0f86393db36
samba-client-3.0.28-0.el4.9.ppc.rpm     3011f0b4ad1c5b560a5c28e3b6f52fb0
samba-common-3.0.28-0.el4.9.ppc.rpm     058309d3ccd90f6a154f283c005f3f92
samba-common-3.0.28-0.el4.9.ppc64.rpm     5b7c78579fd629ae57023cd3e3ae6bc7
samba-swat-3.0.28-0.el4.9.ppc.rpm     6faf115e078c9409257cf967719b6106
 
s390:
samba-3.0.28-0.el4.9.s390.rpm     dd1806b780710131cbc03dc27c54c586
samba-client-3.0.28-0.el4.9.s390.rpm     f8acbb581acdbc359e7527b52456c32f
samba-common-3.0.28-0.el4.9.s390.rpm     08eed6dfd86b2ebdbcaec604c0017121
samba-swat-3.0.28-0.el4.9.s390.rpm     8e71ea674bb4dd80c9cdea12cb15bf5d
 
s390x:
samba-3.0.28-0.el4.9.s390x.rpm     bf6021c4e48d723500cee3ed2f1dcbed
samba-client-3.0.28-0.el4.9.s390x.rpm     eed75fc694b8425b01beb2c151049877
samba-common-3.0.28-0.el4.9.s390.rpm     08eed6dfd86b2ebdbcaec604c0017121
samba-common-3.0.28-0.el4.9.s390x.rpm     a8f8aaa1dcc7c2dbfa50b02b2abbaab9
samba-swat-3.0.28-0.el4.9.s390x.rpm     647c4f0a52e7001646fcb48658e8d996
 
x86_64:
samba-3.0.28-0.el4.9.x86_64.rpm     3d16c96afd6401a6f67da8b96455b253
samba-client-3.0.28-0.el4.9.x86_64.rpm     c2870a00df0a1a905d64a1e483a0b91a
samba-common-3.0.28-0.el4.9.i386.rpm     9685a88c3a0dd05faf897d6f19dda825
samba-common-3.0.28-0.el4.9.x86_64.rpm     db94fb8badea3897d2546e6451766622
samba-swat-3.0.28-0.el4.9.x86_64.rpm     76fb58304aea810fac30e895decd6eac
 
Red Hat Enterprise Linux ES (v. 4)

SRPMS:
samba-3.0.28-0.el4.9.src.rpm     ca313cdc488c1a2bf04ec742ccf6ed62
 
IA-32:
samba-3.0.28-0.el4.9.i386.rpm     063a8964f29e01f4b0690b447ed90bfc
samba-client-3.0.28-0.el4.9.i386.rpm     fc4a9aa2f28bf5ffe224597ad26dde9e
samba-common-3.0.28-0.el4.9.i386.rpm     9685a88c3a0dd05faf897d6f19dda825
samba-swat-3.0.28-0.el4.9.i386.rpm     8c560aa1e2db475afd87ba5d9565af5d
 
IA-64:
samba-3.0.28-0.el4.9.ia64.rpm     a3f8eb00c6fdf560e2ad1c9b7bfffbbd
samba-client-3.0.28-0.el4.9.ia64.rpm     ab54ad15a625b35884e5adc2d0313def
samba-common-3.0.28-0.el4.9.i386.rpm     9685a88c3a0dd05faf897d6f19dda825
samba-common-3.0.28-0.el4.9.ia64.rpm     fb2c7294f2381b7d3502b2ea6b91f31a
samba-swat-3.0.28-0.el4.9.ia64.rpm     30017ea4e9816349a7d051f0fbcb4f1e
 
x86_64:
samba-3.0.28-0.el4.9.x86_64.rpm     3d16c96afd6401a6f67da8b96455b253
samba-client-3.0.28-0.el4.9.x86_64.rpm     c2870a00df0a1a905d64a1e483a0b91a
samba-common-3.0.28-0.el4.9.i386.rpm     9685a88c3a0dd05faf897d6f19dda825
samba-common-3.0.28-0.el4.9.x86_64.rpm     db94fb8badea3897d2546e6451766622
samba-swat-3.0.28-0.el4.9.x86_64.rpm     76fb58304aea810fac30e895decd6eac
 
Red Hat Enterprise Linux WS (v. 4)

SRPMS:
samba-3.0.28-0.el4.9.src.rpm     ca313cdc488c1a2bf04ec742ccf6ed62
 
IA-32:
samba-3.0.28-0.el4.9.i386.rpm     063a8964f29e01f4b0690b447ed90bfc
samba-client-3.0.28-0.el4.9.i386.rpm     fc4a9aa2f28bf5ffe224597ad26dde9e
samba-common-3.0.28-0.el4.9.i386.rpm     9685a88c3a0dd05faf897d6f19dda825
samba-swat-3.0.28-0.el4.9.i386.rpm     8c560aa1e2db475afd87ba5d9565af5d
 
IA-64:
samba-3.0.28-0.el4.9.ia64.rpm     a3f8eb00c6fdf560e2ad1c9b7bfffbbd
samba-client-3.0.28-0.el4.9.ia64.rpm     ab54ad15a625b35884e5adc2d0313def
samba-common-3.0.28-0.el4.9.i386.rpm     9685a88c3a0dd05faf897d6f19dda825
samba-common-3.0.28-0.el4.9.ia64.rpm     fb2c7294f2381b7d3502b2ea6b91f31a
samba-swat-3.0.28-0.el4.9.ia64.rpm     30017ea4e9816349a7d051f0fbcb4f1e
 
x86_64:
samba-3.0.28-0.el4.9.x86_64.rpm     3d16c96afd6401a6f67da8b96455b253
samba-client-3.0.28-0.el4.9.x86_64.rpm     c2870a00df0a1a905d64a1e483a0b91a
samba-common-3.0.28-0.el4.9.i386.rpm     9685a88c3a0dd05faf897d6f19dda825
samba-common-3.0.28-0.el4.9.x86_64.rpm     db94fb8badea3897d2546e6451766622
samba-swat-3.0.28-0.el4.9.x86_64.rpm     76fb58304aea810fac30e895decd6eac
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

205353 - smbd allows ports higher than 65536.
291511 - update samba to 3.0.26a or later
377621 - Error acquiring lock on secrets.tdb
400581 - Incorrect /etc/pam.d/samba (causes authentication failure when obey pam restrictions = yes)
407101 - Critical Regression caused by CVE-2007-4572
422721 - Password change fails with samba pam module
428028 - samba 3.0.25b breaks rebuilds of stock RHEL4 packages
431709 - Adding a user to an ACL via Windows XP GUI gives away read access for owning group
431710 - After establish trust with AD, wbinfo -u does not work
431960 - 'Event ID: 4322' message appearing on windows systems that access samba shares (samba bug 4796)
438407 - 3.0.25b ntlmv2 auth compatibility with Vista SP1 clients
440463 - Notification of changes to files are lost
450652 - samba cannot join windows 2000 domains
450653 - Samba server can't authenticate to NT domain after 2008-05-28 update



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/