Update to Samba 3.6.6

=============================
                   Release Notes for Samba 3.6.6
                           June 25, 2012
                   =============================

This is is the latest stable release of Samba 3.6.

Major enhancements in Samba 3.6.6 include:

o  Fix possible memory leaks in the Samba master process (bug #8970).
o  Fix uninitialized memory read in talloc_free().
o  Fix joining of XP Pro workstations to 3.6 DCs (bug #8373).

Changes since 3.6.5:
--------------------

o   Michael Adam <obnox@samba.org>
    * BUG 8738: SMB2 server will not release unused shares.
    * BUG 8749: Sign non guest sessions in SessionSetup.
    * BUG 8921: Fix race writing registry values.

o   Jeremy Allison <jra@samba.org>
    * BUG 8373: Fix joining of XP Pro workstations to 3.6 DCs.
    * BUG 8627: Fix crash bug in dns_create_probe when dns_create_update fails.
    * BUG 8723: Add pthread-based aio VFS module.
    * BUG 8784: When calculating the share security mask, take priviliges into
      account for the connecting user.
    * BUG 8811: sd_has_inheritable_components segfaults on an SD that
      se_access_check accepts.
    * BUG 8837: Fix crash in smbd when deleting directory and veto files are
      enabled.
    * BUG 8857: Setting traverse rights fails to enable directory traversal when
      acl_xattr in use.
    * BUG 8882: Broken processing of %U with vfs_full_audit when force user is
      set.
    * BUG 8897: Make winbind_krb5_locator not only returning one IP address.
    * BUG 8910: resolve_ads() code can return zero addresses and miss valid
      DC IP addresses.
    * BUG 8922: smbclient's tarmode insists on listing excluded directories.
    * BUG 8953: Winbind can hang as nbt_getdc() has no timeout.
    * BUG 8957: Typo in pam_winbindd code MUST fix.
    * BUG 8970: Fix possible memory leaks in the Samba master process.
    * BUG 8971: cleanup_timeout_fn() is called too often, on exiting when an
      smbd is idle.
    * BUG 8972: Directory group write permission bit is set if unix extensions
      are enabled.

o   Christian Ambach <ambi@samba.org>
    * BUG 8406: Fix a return code check in Winbind.
    * BUG 8807: Fix crash in dcerpc_lsa_lookup_sids_noalloc() crashes when
      groups has more than 1000 groups.

o   Andrew Bartlett <abartlet@samba.org>
    * BUG 8599: Only use SamLogonEx when we can get unencrypted session keys.
    * BUG 8727: Fix smbclients with posix large reads.
    * BUG 8943: Slow but responsive DC can lock up Winbind for > 10 minutes
      at a time.

o   Björn Baumbach <bb@sernet.de>
    * BUG 7564: Fix default name resolve order in the manpage.
    * BUG 8554, 8612, 8748: Add new printers to registry.
    * BUG 8789: Remove whitespace in example samba.ldif.

o   Alexander Bokovoy <ab@samba.org>
    * BUG 8988: Avoid crash with MIT krb5 1.10.0 in gss_get_name_attribute().

o   Alejandro Escanero Blanco <aescanero@gmail.com>
    * BUG 8798: The primary rid should be in the groups rid array.

o   Ira Cooper <samba@ira.wakeful.net>
    * BUG 8729: Fix getpass regressions on Solaris/Illumos.
    * BUG 8743: Fix configure.developer builds on Solaris.
    * BUG 8910: Fix bad bugfix for bug #8910.
    * BUG 8952: Fix negative SID->uid/gid cache handling.
    * BUG 8995: Use fsp_persistent_id() as persistent_file_id part for SMB2.

o   David Disseldorp <ddiss@samba.org>
    * BUG 8762: Fix crash in printer_list_set_printer().

o   Olaf Flebbe <o.flebbe@science-computing.de>
    * BUG 8859: Fix assertion in reg_parse.

o   Björn Jacke <bj@sernet.de>
    * BUG 8732: Fix compile of krb5 locator on Solaris.
    * BUG 8869: Remove outdated netscape ds 5 schema file.
    * BUG 8978: Remove dependency on automake for 'make everything'.

o   Steve Langasek <steve.langasek@ubuntu.com>
    * BUG 8920: Fix null dereference in pdb_interface.

o   Volker Lendecke <vl@samba.org>
    * Fix uninitialized memory read in talloc_free().
    * BUG 8567: Fix segfault in dom_sid_compare.
    * BUG 8733: Delete streams on directories (streams_depot).
    * BUG 8760: Add SERVERID_UNIQUE_ID_NOT_TO_VERIFY.
    * BUG 8836: Fix segfaults on "smbcontrol close-share" in aio_fork.
    * BUG 8861: Fix a segfault with debug level 3 on Solaris.
    * BUG 8904: Fix Winbind crash triggered by 'wbinfo --lookup-sids ""'.
    * BUG 8998: Notify code can miss a ChDir.

o   Stefan Metzmacher <metze@samba.org>
    * BUG 8139: Ignore SMBecho errors (the server may not support it).
    * BUG 8527: db_ctdb_traverse fails to traverse records created within the
      current transaction.
    * BUG 8311: Winzip occasionally can not read files out of an open winzip
      dialog.
    * BUG 8739: Fill the sids array of the info in
      wbcAuthUserInfo_to_netr_SamInfo3().
    * BUG 8749: Sign non guest sessions in SessionSetup.
    * BUG 8995: Use fsp_persistent_id() as persistent_file_id part for SMB2.

o   Matthieu Patou <mat@matws.net>
    * BUG 8599: Set the can_do_validation6 also for trusted domain.
    * BUG 8714: Catch with pid filename's change when config file is not
      smb.conf.
    * BUG 8734: Don't try to do clever thing if the username is not found while
      authenticating through Winbind.
    * BUG 8771: Winbind takes up to 20 minutes to change from DC 1 to DC 2.
    * BUG 8975: Call dump_core_setup after command line option has been parsed.

o   SATOH Fumiyasu <fumiyas@osstech.co.jp>
    * BUG 8826: Prepend '/' to filename argument (docs).

o   Andreas Schneider <asn@samba.org>
    * BUG 8944 and 8567: Don't lookup the system user in pdb.

o   Richard Sharpe <realrichardsharpe@gmail.com>
    * BUG 8768: Honor SeTakeOwnershipPrivilege when file opened with
      SEC_STD_WRITE_OWNER.
    * BUG 8797: Correctly handle DENY ACEs when privileges apply.
    * BUG 8822: Fix building out-of-tree modules.
    * BUG 8945: vfs_acl_common discards errors from writing to the underlying
      storage.
    * BUG 8970: Fix possible memory leaks in the Samba master process.

o   Simo Sorce <idra@samba.org>
    * BUG 8915: Fix pam_winbind build against newer iniparser library.

o   Joseph Tam <jtam.home@gmail.com>
    * BUG 8877: Syslog broken owing to mistyping of debug_settings.syslog.

o   Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
    * BUG 8845: Move print_backend_init() behind init_system_info().
This commit is contained in:
asau 2012-07-06 23:32:59 +00:00
parent 6c52b7ed2e
commit a1c993684a
4 changed files with 131 additions and 35 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.219 2012/05/02 14:48:00 taca Exp $
# $NetBSD: Makefile,v 1.220 2012/07/06 23:32:59 asau Exp $
.include "../../net/samba/Makefile.mirrors"
@ -11,7 +11,7 @@ HOMEPAGE= http://www.samba.org/
COMMENT= SMB/CIFS protocol server suite
LICENSE= gnu-gpl-v3
VERSION= 3.6.5
VERSION= 3.6.6
CONFLICTS+= ja-samba-[0-9]* pam-smbpass-[0-9]* tdb-[0-9]* winbind-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.49 2012/02/01 08:30:39 sbd Exp $
@comment $NetBSD: PLIST,v 1.50 2012/07/06 23:32:59 asau Exp $
bin/eventlogadm
bin/findsmb
bin/net
@ -145,6 +145,7 @@ man/man8/tdbtool.8
man/man8/vfs_acl_tdb.8
man/man8/vfs_acl_xattr.8
man/man8/vfs_aio_fork.8
man/man8/vfs_aio_pthread.8
man/man8/vfs_audit.8
man/man8/vfs_cacheprime.8
man/man8/vfs_cap.8
@ -239,6 +240,60 @@ share/samba/swat/help/Samba3-ByExample/appendix.html
share/samba/swat/help/Samba3-ByExample/ch14.html
share/samba/swat/help/Samba3-ByExample/go01.html
share/samba/swat/help/Samba3-ByExample/happy.html
share/samba/swat/help/Samba3-ByExample/images/AccountingNetwork.png
share/samba/swat/help/Samba3-ByExample/images/Charity-Network.png
share/samba/swat/help/Samba3-ByExample/images/Domain-WorkgroupAnnouncement.png
share/samba/swat/help/Samba3-ByExample/images/HostAnnouncment.png
share/samba/swat/help/Samba3-ByExample/images/LocalMasterAnnouncement.png
share/samba/swat/help/Samba3-ByExample/images/NullConnect.png
share/samba/swat/help/Samba3-ByExample/images/UNIX-Samba-and-LDAP.png
share/samba/swat/help/Samba3-ByExample/images/UserConnect.png
share/samba/swat/help/Samba3-ByExample/images/UserMgrNT4.png
share/samba/swat/help/Samba3-ByExample/images/WINREPRESSME-Capture.png
share/samba/swat/help/Samba3-ByExample/images/WINREPRESSME-Capture2.png
share/samba/swat/help/Samba3-ByExample/images/Windows-ME-WINEPRESSME-Startup-30min-ProtocolStats.png
share/samba/swat/help/Samba3-ByExample/images/Windows-ME-WINEPRESSME-Startup-30min-TraceStats.png
share/samba/swat/help/Samba3-ByExample/images/WindowsXP-NullConnection.png
share/samba/swat/help/Samba3-ByExample/images/WindowsXP-UserConnection.png
share/samba/swat/help/Samba3-ByExample/images/XP-screen001.png
share/samba/swat/help/Samba3-ByExample/images/acct2net.png
share/samba/swat/help/Samba3-ByExample/images/ch7-dual-additive-LDAP-Ok.png
share/samba/swat/help/Samba3-ByExample/images/ch7-dual-additive-LDAP.png
share/samba/swat/help/Samba3-ByExample/images/ch7-fail-overLDAP.png
share/samba/swat/help/Samba3-ByExample/images/ch7-singleLDAP.png
share/samba/swat/help/Samba3-ByExample/images/ch8-migration.png
share/samba/swat/help/Samba3-ByExample/images/chap4-net.png
share/samba/swat/help/Samba3-ByExample/images/chap5-net.png
share/samba/swat/help/Samba3-ByExample/images/chap6-net.png
share/samba/swat/help/Samba3-ByExample/images/chap7-idresol.png
share/samba/swat/help/Samba3-ByExample/images/chap7-net-A.png
share/samba/swat/help/Samba3-ByExample/images/chap7-net-Ar.png
share/samba/swat/help/Samba3-ByExample/images/chap7-net.png
share/samba/swat/help/Samba3-ByExample/images/chap7-net2-B.png
share/samba/swat/help/Samba3-ByExample/images/chap7-net2-Br.png
share/samba/swat/help/Samba3-ByExample/images/chap7-net2.png
share/samba/swat/help/Samba3-ByExample/images/chap7-net2r.png
share/samba/swat/help/Samba3-ByExample/images/chap7-netr.png
share/samba/swat/help/Samba3-ByExample/images/chap9-ADSDC.png
share/samba/swat/help/Samba3-ByExample/images/chap9-SambaDC.png
share/samba/swat/help/Samba3-ByExample/images/imc-usermanager2.png
share/samba/swat/help/Samba3-ByExample/images/lam-config.png
share/samba/swat/help/Samba3-ByExample/images/lam-group-members.png
share/samba/swat/help/Samba3-ByExample/images/lam-groups.png
share/samba/swat/help/Samba3-ByExample/images/lam-hosts.png
share/samba/swat/help/Samba3-ByExample/images/lam-login.png
share/samba/swat/help/Samba3-ByExample/images/lam-users.png
share/samba/swat/help/Samba3-ByExample/images/openmag.png
share/samba/swat/help/Samba3-ByExample/images/wxpp001.png
share/samba/swat/help/Samba3-ByExample/images/wxpp004.png
share/samba/swat/help/Samba3-ByExample/images/wxpp006.png
share/samba/swat/help/Samba3-ByExample/images/wxpp007.png
share/samba/swat/help/Samba3-ByExample/images/wxpp008.png
share/samba/swat/help/Samba3-ByExample/images/wxpp010.png
share/samba/swat/help/Samba3-ByExample/images/wxpp011.png
share/samba/swat/help/Samba3-ByExample/images/wxpp012.png
share/samba/swat/help/Samba3-ByExample/images/wxpp013.png
share/samba/swat/help/Samba3-ByExample/images/wxpp015.png
share/samba/swat/help/Samba3-ByExample/index.html
share/samba/swat/help/Samba3-ByExample/ix01.html
share/samba/swat/help/Samba3-ByExample/kerberos.html
@ -314,6 +369,74 @@ share/samba/swat/help/Samba3-HOWTO/domain-member.html
share/samba/swat/help/Samba3-HOWTO/go01.html
share/samba/swat/help/Samba3-HOWTO/groupmapping.html
share/samba/swat/help/Samba3-HOWTO/idmapper.html
share/samba/swat/help/Samba3-HOWTO/images/10small.png
share/samba/swat/help/Samba3-HOWTO/images/11small.png
share/samba/swat/help/Samba3-HOWTO/images/12small.png
share/samba/swat/help/Samba3-HOWTO/images/13small.png
share/samba/swat/help/Samba3-HOWTO/images/14small.png
share/samba/swat/help/Samba3-HOWTO/images/1small.png
share/samba/swat/help/Samba3-HOWTO/images/2small.png
share/samba/swat/help/Samba3-HOWTO/images/3small.png
share/samba/swat/help/Samba3-HOWTO/images/4small.png
share/samba/swat/help/Samba3-HOWTO/images/5small.png
share/samba/swat/help/Samba3-HOWTO/images/6small.png
share/samba/swat/help/Samba3-HOWTO/images/7small.png
share/samba/swat/help/Samba3-HOWTO/images/8small.png
share/samba/swat/help/Samba3-HOWTO/images/9small.png
share/samba/swat/help/Samba3-HOWTO/images/WME001.png
share/samba/swat/help/Samba3-HOWTO/images/WME002.png
share/samba/swat/help/Samba3-HOWTO/images/WME003.png
share/samba/swat/help/Samba3-HOWTO/images/WME004.png
share/samba/swat/help/Samba3-HOWTO/images/WME005.png
share/samba/swat/help/Samba3-HOWTO/images/WME006.png
share/samba/swat/help/Samba3-HOWTO/images/WME007.png
share/samba/swat/help/Samba3-HOWTO/images/WME008.png
share/samba/swat/help/Samba3-HOWTO/images/WME009.png
share/samba/swat/help/Samba3-HOWTO/images/WME010.png
share/samba/swat/help/Samba3-HOWTO/images/WME011.png
share/samba/swat/help/Samba3-HOWTO/images/WME012.png
share/samba/swat/help/Samba3-HOWTO/images/WME013.png
share/samba/swat/help/Samba3-HOWTO/images/WME014.png
share/samba/swat/help/Samba3-HOWTO/images/WXPP002.png
share/samba/swat/help/Samba3-HOWTO/images/WXPP003.png
share/samba/swat/help/Samba3-HOWTO/images/WXPP005.png
share/samba/swat/help/Samba3-HOWTO/images/WXPP009.png
share/samba/swat/help/Samba3-HOWTO/images/WXPP014.png
share/samba/swat/help/Samba3-HOWTO/images/a_small.png
share/samba/swat/help/Samba3-HOWTO/images/access1.png
share/samba/swat/help/Samba3-HOWTO/images/browsing1.png
share/samba/swat/help/Samba3-HOWTO/images/cups1.png
share/samba/swat/help/Samba3-HOWTO/images/cups2.png
share/samba/swat/help/Samba3-HOWTO/images/domain.png
share/samba/swat/help/Samba3-HOWTO/images/ethereal1.png
share/samba/swat/help/Samba3-HOWTO/images/ethereal2.png
share/samba/swat/help/Samba3-HOWTO/images/idmap-gid2sid.png
share/samba/swat/help/Samba3-HOWTO/images/idmap-groups.png
share/samba/swat/help/Samba3-HOWTO/images/idmap-sid2gid.png
share/samba/swat/help/Samba3-HOWTO/images/idmap-sid2uid.png
share/samba/swat/help/Samba3-HOWTO/images/idmap-store-gid2sid.png
share/samba/swat/help/Samba3-HOWTO/images/idmap-uid2sid.png
share/samba/swat/help/Samba3-HOWTO/images/idmap.png
share/samba/swat/help/Samba3-HOWTO/images/idmap_winbind_no_loop.png
share/samba/swat/help/Samba3-HOWTO/images/pdftoepsonusb.png
share/samba/swat/help/Samba3-HOWTO/images/pdftosocket.png
share/samba/swat/help/Samba3-HOWTO/images/trusts1.png
share/samba/swat/help/Samba3-HOWTO/images/w2kp001.png
share/samba/swat/help/Samba3-HOWTO/images/w2kp002.png
share/samba/swat/help/Samba3-HOWTO/images/w2kp003.png
share/samba/swat/help/Samba3-HOWTO/images/w2kp004.png
share/samba/swat/help/Samba3-HOWTO/images/w2kp005.png
share/samba/swat/help/Samba3-HOWTO/images/w2kp006.png
share/samba/swat/help/Samba3-HOWTO/images/wxpp001.png
share/samba/swat/help/Samba3-HOWTO/images/wxpp004.png
share/samba/swat/help/Samba3-HOWTO/images/wxpp006.png
share/samba/swat/help/Samba3-HOWTO/images/wxpp007.png
share/samba/swat/help/Samba3-HOWTO/images/wxpp008.png
share/samba/swat/help/Samba3-HOWTO/images/wxpp010.png
share/samba/swat/help/Samba3-HOWTO/images/wxpp011.png
share/samba/swat/help/Samba3-HOWTO/images/wxpp012.png
share/samba/swat/help/Samba3-HOWTO/images/wxpp013.png
share/samba/swat/help/Samba3-HOWTO/images/wxpp015.png
share/samba/swat/help/Samba3-HOWTO/index.html
share/samba/swat/help/Samba3-HOWTO/install.html
share/samba/swat/help/Samba3-HOWTO/integrate-ms-networks.html
@ -390,6 +513,7 @@ share/samba/swat/help/manpages/testparm.1.html
share/samba/swat/help/manpages/vfs_acl_tdb.8.html
share/samba/swat/help/manpages/vfs_acl_xattr.8.html
share/samba/swat/help/manpages/vfs_aio_fork.8.html
share/samba/swat/help/manpages/vfs_aio_pthread.8.html
share/samba/swat/help/manpages/vfs_audit.8.html
share/samba/swat/help/manpages/vfs_cacheprime.8.html
share/samba/swat/help/manpages/vfs_cap.8.html

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.85 2012/05/02 14:48:00 taca Exp $
$NetBSD: distinfo,v 1.86 2012/07/06 23:32:59 asau Exp $
SHA1 (samba-3.6.5.tar.gz) = e41611c95b2bb91c7735928742b8aff4fc0da76e
RMD160 (samba-3.6.5.tar.gz) = 0180e8d4eda9634048d41de166fe7b6a07c38b45
Size (samba-3.6.5.tar.gz) = 29009444 bytes
SHA1 (samba-3.6.6.tar.gz) = f1516ce332fe11c68a052855edd745368ac4d8e9
RMD160 (samba-3.6.6.tar.gz) = 70a520012a1c02085f0d6209c2acac84512d9f8b
Size (samba-3.6.6.tar.gz) = 34061741 bytes
SHA1 (patch-aa) = 6c8497adce78e8b1dea2a0402d4a980b67b57b8e
SHA1 (patch-ab) = 0372ff2e3caca866dacd6ed25ae1d02e34a5b567
SHA1 (patch-ac) = 5b1c0fdb781cb75f81af71ed2695144d4a35e032
@ -30,4 +30,3 @@ SHA1 (patch-bc) = 857e2400c8852f3c878f8d82857e80f214be2aea
SHA1 (patch-bd) = b78324305bbf67fa4a7dd627e0af1618d2bf7b47
SHA1 (patch-be) = 2b298e596f2f57a595b83619ba68f6ad95febaaa
SHA1 (patch-bf) = 9511567bfe9b579ae0a1c85483e7fe3ad4866973
SHA1 (patch-client_client.c) = 5e9f25680273fc01c9a2276a09d560b0c9ee9d0d

View file

@ -1,27 +0,0 @@
$NetBSD: patch-client_client.c,v 1.3 2012/01/30 23:07:06 tron Exp $
Restore compatibility with CIFS server on Apple Time Capsule. Patch
take from here:
https://bugzilla.samba.org/show_bug.cgi?id=8139
--- client/client.c.orig 2012-01-29 19:40:43.000000000 +0000
+++ client/client.c 2012-01-30 22:39:12.000000000 +0000
@@ -4844,12 +4844,16 @@
memset(garbage, 0xf0, sizeof(garbage));
status = cli_echo(cli, 1, data_blob_const(garbage, sizeof(garbage)));
- if (!NT_STATUS_IS_OK(status)) {
+ if (NT_STATUS_EQUAL(status, NT_STATUS_PIPE_BROKEN) ||
+ NT_STATUS_EQUAL(status, NT_STATUS_END_OF_FILE) ||
+ NT_STATUS_EQUAL(status, NT_STATUS_IO_TIMEOUT)) {
DEBUG(0, ("SMBecho failed. Maybe server has closed "
"the connection\n"));
finished = true;
smb_readline_done();
}
+ /* Ignore all other errors - sometimes servers simply
+ don't implement SMBecho (Apple for example). */
}
}