Samba Changelog

What's new in Samba 4.19.5

Feb 19, 2024
  • Ralph Boehme :
  • BUG 13688: Windows 2016 fails to restore previous version of a file from a shadow_copy2 snapshot.
  • BUG 15549: Symlinks on AIX are broken in 4.19 (and a few version before that).
  • Bjoern Jacke :
  • BUG 12421: Fake directory create times has no effect.
  • Björn Jacke :
  • BUG 15550: ctime mixed up with mtime by smbd.
  • David Mulder :
  • BUG 15548: samba-gpupdate --rsop fails if machine is not in a site.
  • Gabriel Nagy :
  • BUG 15557: gpupdate: The root cert import when NDES is not available is broken.
  • Andreas Schneider :
  • BUG 15552: samba-gpupdate should print a useful message if cepces-submit can't be found.
  • BUG 15558: samba-gpupdate logging doesn't work.
  • Jones Syue :
  • BUG 15555: smbpasswd reset permissions only if not 0600.

New in Samba 4.19.4 (Jan 9, 2024)

  • Samuel Cabrero :
  • BUG 13577: net changesecretpw cannot set the machine account password if secrets.tdb is empty.
  • Björn Jacke :
  • BUG 15540: For generating doc, take, if defined, env XML_CATALOG_FILES.
  • BUG 15541: Trivial C typo in nsswitch/winbind_nss_netbsd.c.
  • BUG 15542: vfs_linux_xfs is incorrectly named.
  • Björn Jacke :
  • BUG 15377: systemd stumbled over copyright-message at smbd startup.
  • Volker Lendecke :
  • BUG 15505: Following intermediate abolute share-local symlinks is broken.
  • BUG 15523: ctdb RELEASE_IP causes a crash in release_ip if a connection to a non-public address disconnects first.
  • BUG 15544: shadow_copy2 broken when current fileset's directories are removed.
  • Stefan Metzmacher :
  • BUG 15377: systemd stumbled over copyright-message at smbd startup.
  • BUG 15523: ctdb RELEASE_IP causes a crash in release_ip if a connection to a non-public address disconnects first.
  • BUG 15534: smbd does not detect ctdb public ipv6 addresses for multichannel exclusion.
  • Andreas Schneider :
  • BUG 15469: 'force user = localunixuser' doesn't work if 'allow trusted domains = no' is set.
  • BUG 15525: smbget debug logging doesn't work.
  • BUG 15532: smget: username in the smburl and interactive password entry doesn't work.
  • BUG 15538: smbget auth function doesn't set values for password prompt correctly.
  • Martin Schwenke :
  • BUG 15523: ctdb RELEASE_IP causes a crash in release_ip if a connection to a non-public address disconnects first.
  • Shachar Sharon :
  • BUG 15440: Unable to copy and write files from clients to Ceph cluster via
  • SMB Linux gateway with Ceph VFS module.
  • Jones Syue :
  • BUG 15547: Multichannel refresh network information.

New in Samba 4.19.3 (Nov 28, 2023)

  • Douglas Bagnall :
  • BUG 15520: sid_strings test broken by unix epoch > 1700000000.
  • Ralph Boehme :
  • BUG 15487: smbd crashes if asked to return full information on close of a stream handle with delete on close disposition set.
  • BUG 15521: smbd: fix close order of base_fsp and stream_fsp in smb_fname_fsp_destructor().
  • Pavel Filipenský :
  • BUG 15499: Improve logging for failover scenarios.
  • Björn Jacke :
  • BUG 15093: Files without "read attributes" NFS4 ACL permission are not listed in directories.
  • Stefan Metzmacher :
  • BUG 13595: CVE-2018-14628 [SECURITY] Deleted Object tombstones visible in AD LDAP to normal users.
  • BUG 15492: Kerberos TGS-REQ with User2User does not work for normal accounts.
  • Christof Schmitt :
  • BUG 15507: vfs_gpfs stat calls fail due to file system permissions.
  • Andreas Schneider :
  • BUG 15513: Samba doesn't build with Python 3.12.

New in Samba 4.19.2 (Oct 16, 2023)

  • Jeremy Allison
  • BUG 15423: Use-after-free in aio_del_req_from_fsp during smbd shutdown after failed IPC FSCTL_PIPE_TRANSCEIVE.
  • BUG 15426: clidfs.c do_connect() missing a "return" after a cli_shutdown() call.
  • Ralph Boehme
  • BUG 15463: macOS mdfind returns only 50 results.
  • Volker Lendecke
  • BUG 15481: GETREALFILENAME_CACHE can modify incoming new filename with previous cache entry value.
  • Stefan Metzmacher
  • BUG 15464: libnss_winbind causes memory corruption since samba-4.18, impacts sendmail, zabbix, potentially more.
  • Martin Schwenke
  • BUG 15479: ctdbd: setproctitle not initialized messages flooding logs.
  • Joseph Sutton
  • BUG 15491: CVE-2023-5568 Heap buffer overflow with freshness tokens in the Heimdal KDC in Samba 4.19
  • BUG 15477: The heimdal KDC doesn't detect s4u2self correctly when fast is in use.

New in Samba 4.19.1 (Oct 11, 2023)

  • This is a security release in order to address the following defects:
  • CVE-2023-3961: Unsanitized pipe names allow SMB clients to connect as root to existing unix domain sockets on the file system. https://www.samba.org/samba/security/CVE-2023-3961.html
  • CVE-2023-4091: SMB client can truncate files to 0 bytes by opening files with OVERWRITE disposition when using the acl_xattr Samba VFS module with the smb.conf setting "acl_xattr:ignore system acls = yes" https://www.samba.org/samba/security/CVE-2023-4091.html
  • CVE-2023-4154: An RODC and a user with the GET_CHANGES right can view all attributes, including secrets and passwords. Additionally, the access check fails open on error conditions. https://www.samba.org/samba/security/CVE-2023-4154.html
  • CVE-2023-42669: Calls to the rpcecho server on the AD DC can request that the server block for a user-defined amount of time, denying service. https://www.samba.org/samba/security/CVE-2023-42669.html
  • CVE-2023-42670: Samba can be made to start multiple incompatible RPC listeners, disrupting service on the AD DC. https://www.samba.org/samba/security/CVE-2023-42670.html

New in Samba 4.19.0 (Sep 6, 2023)

  • NEW FEATURES/CHANGES:
  • Migrated smbget to use common command line parser:
  • The smbget utility implemented its own command line parsing logic. After discovering an issue we decided to migrate it to use the common command line parser. This has some advantages as you get all the feature it provides like Kerberos authentication. The downside is that breaks the options interface. The support for smbgetrc has been removed. You can use an authentication file if needed, this is documented in the manpage.
  • Please check the smbget manpage or --help output:
  • gpupdate changes:
  • The libgpo.get_gpo_list function has been deprecated in favor of an implementation written in python. The new function can be imported via `import samba.gp`. The python implementation connects to Active Directory using the SamDB module, instead of ADS (which is what libgpo uses).
  • Improved winbind logging and a new tool for parsing the winbind logs:
  • Winbind logs (if smb.conf 'winbind debug traceid = yes' is set) contain new trace header fields 'traceid' and 'depth'. Field 'traceid' allows to track the trace records belonging to the same request. Field 'depth' allows to track the request nesting level. A new tool samba-log-parser is added for better log parsing.
  • AD database prepared to FL 2016 standards for new domains:
  • While Samba still provides only Functional Level 2008R2 by default, Samba as an AD DC will now, in provision ensure that the blank database is already prepared for Functional Level 2016, with AD Schema 2019.
  • This preparation is of the default objects in the database, adding containers for Authentication Policies, Authentication Silos and AD claims in particular. These DB objects must be updated to allow operation of the new features found in higher functional levels.
  • Kerberos Claims, Authentication Silos and NTLM authentication policies:
  • An initial, partial implementation of Active Directory Functional Level 2012, 2012R2 and 2016 is available in this release.
  • In particular Samba will issue Active Directory "Claims" in the PAC, for member servers that support these, and honour in-directory configuration for Authentication Policies and Authentication Silos.
  • The primary limitation is that while Samba can read and write claims in the directory, and populate the PAC, Samba does not yet use them for access control decisions.
  • While we continue to develop these features, existing domains can test the feature by selecting the functional level in provision or raising the DC functional level by setting
  • ad dc functional level = 2016
  • in the smb.conf:
  • The smb.conf file on each DC must have 'ad dc functional level = 2016' set to have the partially complete feature available. This will also, at first startup, update the server's own AD entry with the configured functional level.
  • For new domains, add these parameters to 'samba-tool provision'
  • --option="ad dc functional level = 2016" --function-level=2016
  • The second option, setting the overall domain functional level indicates that all DCs should be at this functional level.
  • To raise the domain functional level of an existing domain, after updating the smb.conf and restarting Samba run samba-tool domain schemaupgrade --schema=2019 samba-tool domain functionalprep --function-level=2016 samba-tool domain level raise --domain-level=2016 --forest-level=2016
  • Improved KDC Auditing:
  • As part of the auditing required to allow successful deployment of Authentication Policies and Authentication Silos, our KDC now provides Samba-style JSON audit logging of all issued Kerberos tickets, including if they would fail a policy that is not yet enforced. Additionally most failures are audited, (after the initial pre-validation of the request).
  • Kerberos Armoring (FAST) Support for Windows clients:
  • In domains where the domain controller functional level is set, as above, to 2012, 2012_R2 or 2016, Windows clients will, if configured via GPO, use FAST to protect user passwords between (in particular) a workstation and the KDC on the AD DC. This is a significant security improvement, as weak passwords in an AS-REQ are no longer available for offline attack.
  • Claims compression in the AD PAC:
  • Samba as an AD DC will compress "AD claims" using the same compression algorithm as Microsoft Windows.
  • Resource SID compression in the AD PAC:
  • Samba as an AD DC will now correctly populate the various PAC group membership buffers, splitting global and local groups correctly.
  • Additionally, Samba marshals Resource SIDs, being local groups in the member server's own domain, to only consume a header and 4 bytes per group in the PAC, not a full-length SID worth of space each. This is known as "Resource SID compression".
  • Resource Based Constrained Delegation (RBCD) support in both MIT and Heimdal:
  • Samba AD DC built with MIT Kerberos (1.20 and later) has offered RBCD support since Samba 4.17. Samba 4.19 brings this feature to the default Heimdal KDC.
  • Samba 4.17 added to samba-tool delegation the 'add-principal' and 'del-principal' subcommands in order to manage RBCD, and the database changes made by these tools are now honoured by the Heimdal KDC once Samba is upgraded.
  • Likewise, now both MIT (1.20 and later) and Heimdal KDCs add the Asserted Identity [1] SID into the PAC for constrained delegation.
  • [1] https://docs.microsoft.com/en-us/windows-server/security/kerberos/kerberos constrained-delegation-overview
  • New samba-tool support for silos, claims, sites and subnets:
  • samba-tool can now list, show, add and manipulate Authentication Silos (silos) and Active Directory Authentication Claims (claims).
  • samba-tool can now list and show Active Directory sites and subnets.
  • A new Object Relational Model (ORM) based architecture, similar to that used with Django, has been built to make adding new samba-tool subcommands simpler and more consistent, with JSON output available standard on these new commands.
  • Updated GnuTLS requirement / in-tree cryptography removal:
  • Samba requires GnuTLS 3.6.13 and prefers GnuTLS 3.6.14 or later.
  • This has allowed Samba to remove all of our in-tree cryptography, except that found in our Heimdal import. Samba's runtime cryptography needs are now all provided by GnuTLS.
  • (The GnuTLS vesion requirement is raised to 3.7.2 on systems without the Linux getrandom())
  • We also use Python's cryptography module for our testing.
  • The use of well known cryptography libraries makes Samba easier for end-users to validate and deploy, and for distributors to ship. This is the end of a very long journey for Samba.
  • Updated Heimdal import:
  • Samba's Heimdal branch (known as lorikeet-heimdal) has been updated to the current pre-8.0 (master) tree from upstream Heimdal, ensuring that this vendored copy, included in our release remains as close as possible to the current upstream code.
  • Revocation support in Heimdal KDC for PKINIT certificates:
  • Samba will now correctly honour the revocation of 'smart card' certificates used for PKINIT Kerberos authentication.
  • This list is reloaded each time the file changes, so no further action other than replacing the file is required. The additional krb5.conf option is:
  • [kdc]
  • pkinit_revoke = FILE:/path/to/crl.pem
  • Information on the "Smart Card login" feature as a whole is at:
  • https://wiki.samba.org/index.php/Samba_AD_Smart_Card_Login
  • Protocol level testsuite for (Smart Card Logon) PKINIT:
  • Previously Samba's PKINIT support in the KDC was tested by use of shell scripts around the client tools of MIT or Heimdal Kerberos. Samba's independently written python testsuite has been extended to validate KDC behaviour for PKINIT.
  • Require encrypted connection to modify unicodePwd on the AD DC:
  • Setting the password on an AD account on should never be attempted over a plaintext or signed-only LDAP connection. If the unicodePwd (or userPassword) attribute is modified without encryption (as seen by Samba), the request will be rejected. This is to encourage the administrator to use an encrypted connection in the future.
  • NOTE WELL: If Samba is accessed via a TLS frontend or load balancer, the LDAP request will be regarded as plaintext.
  • Samba AD TLS Certificates can be reloaded:
  • The TLS certificates used for Samba's AD DC LDAP server were previously only read on startup, and this meant that when then expired it was required to restart Samba, disrupting service to other users.
  • smbcontrol ldap_server reload-certs
  • This will now allow these certificates to be reloaded 'on the fly'

New in Samba 4.18.6 (Aug 16, 2023)

  • Jeremy Allison :
  • BUG 15420: reply_sesssetup_and_X() can dereference uninitialized tmp pointer.
  • BUG 15430: Missing return in reply_exit_done().
  • Andrew Bartlett :
  • BUG 15289: post-exec password redaction for samba-tool is more reliable for fully random passwords as it no longer uses regular expressions containing the password value itself.
  • BUG 9959: Windows client join fails if a second container CN=System exists somewhere.
  • Ralph Boehme :
  • BUG 15342: Spotlight sometimes returns no results on latest macOS.
  • BUG 15417: Renaming results in NT_STATUS_SHARING_VIOLATION if previously attempted to remove the destination.
  • BUG 15427: Spotlight results return wrong date in result list.
  • Günther Deschner :
  • BUG 15414: "net offlinejoin provision" does not work as non-root user.
  • Pavel Filipenský :
  • BUG 15400: rpcserver no longer accepts double backslash in dfs pathname.
  • BUG 15433: cm_prepare_connection() calls close(fd) for the second time.
  • Stefan Metzmacher :
  • BUG 15346: 2-3min delays at reconnect with smb2_validate_sequence_number: bad message_id 2.
  • BUG 15441: samba-tool ntacl get segfault if aio_pthread appended.
  • BUG 15446: DCERPC_PKT_CO_CANCEL and DCERPC_PKT_ORPHANED can't be parsed.
  • Noel Power :
  • BUG 15390: Python tarfile extraction needs change to avoid a warning (CVE-2007-4559 mitigation).
  • BUG 15435: Regression DFS not working with widelinks = true.
  • Arvid Requate :
  • BUG 9959: Windows client join fails if a second container CN=System exists somewhere.
  • Jones Syue :
  • BUG 15441: samba-tool ntacl get segfault if aio_pthread appended.
  • BUG 15449: mdssvc: Do an early talloc_free() in _mdssvc_open().

New in Samba 4.18.5 (Jul 19, 2023)

  • Ralph Boehme :
  • BUG 15072: CVE-2022-2127.
  • BUG 15340: CVE-2023-34966.
  • BUG 15341: CVE-2023-34967.
  • BUG 15388: CVE-2023-34968.
  • BUG 15397: CVE-2023-3347.
  • Volker Lendecke :
  • BUG 15072: CVE-2022-2127.
  • Stefan Metzmacher :
  • BUG 15418: Secure channel faulty since Windows 10/11 update 07/2023.

New in Samba 4.18.4 (Jul 7, 2023)

  • Douglas Bagnall :
  • BUG 15404: Backport --pidl-developer fixes.
  • Samuel Cabrero :
  • BUG 14030: Named crashes on DLZ zone update.
  • Björn Jacke :
  • BUG 2312: smbcacls and smbcquotas do not check // before the server.
  • Volker Lendecke :
  • BUG 15382: cli_list loops 100% CPU against pre-lanman2 servers.
  • BUG 15391: smbclient leaks fds with showacls.
  • BUG 15402: smbd returns NOT_FOUND when creating files on a r/o filesystem.
  • Stefan Metzmacher :
  • BUG 15355: NSS_WRAPPER_HOSTNAME doesn't match NSS_WRAPPER_HOSTS entry and causes test timeouts.
  • Noel Power :
  • BUG 15384: net ads lookup (with unspecified realm) fails.
  • Christof Schmitt :
  • BUG 15381: Register Samba processes with GPFS.
  • Andreas Schneider :
  • BUG 15390: Python tarfile extraction needs change to avoid a warning (CVE-2007-4559 mitigation).
  • BUG 15398: The winbind child segfaults when listing users with `winbind scan trusted domains = yes`.
  • Jones Syue :
  • BUG 15383: Remove comments about deprecated 'write cache size'.
  • BUG 15403: smbget memory leak if failed to download files recursively.

New in Samba 4.18.3 (May 31, 2023)

  • Ralph Boehme :
  • BUG 15375: Symlinks to files can have random DOS mode information in a directory listing.
  • BUG 15378: vfs_fruit might cause a failing open for delete.
  • Volker Lendecke :
  • BUG 15361: winbind recurses into itself via rpcd_lsad.
  • BUG 15366: wbinfo -u fails on ad dc with >1000 users.
  • Stefan Metzmacher :
  • BUG 15338: DS ACEs might be inherited to unrelated object classes.
  • BUG 15362: a lot of messages: get_static_share_mode_data: get_static_share_mode_data_fn failed: NT_STATUS_NOT_FOUND.
  • BUG 15374: aes256 smb3 encryption algorithms are not allowed in smb3_sid_parse().
  • Andreas Schneider :
  • BUG 15360: Setting veto files = /.*/ break listing directories.
  • Joseph Sutton :
  • BUG 15363: "samba-tool domain provision" does not run interactive mode if no arguments are given.
  • Nathaniel W. Turner :
  • BUG 15325: dsgetdcname: assumes local system uses IPv4.

New in Samba 4.18.2 (Apr 19, 2023)

  • Jeremy Allison :
  • BUG 15302: Log flood: smbd_calculate_access_mask_fsp: Access denied: message level should be lower.
  • BUG 15306: Floating point exception (FPE) via cli_pull_send at source3/libsmb/clireadwrite.c.
  • Andrew Bartlett :
  • BUG 15328: test_tstream_more_tcp_user_timeout_spin fails intermittently on Rackspace GitLab runners.
  • BUG 15329: Reduce flapping of ridalloc test.
  • BUG 15351: large_ldap test is unreliable.
  • Ralph Boehme :
  • BUG 15143: New filename parser doesn't check veto files smb.conf parameter.
  • BUG 15354: mdssvc may crash when initializing.
  • Volker Lendecke :
  • BUG 15313: large directory optimization broken for non-lcomp path elements.
  • BUG 15357: streams_depot fails to create streams.
  • BUG 15358: shadow_copy2 and streams_depot don't play well together.
  • Rob van der Linde :
  • BUG 15316: Flapping tests in samba_tool_drs_show_repl.py.
  • Stefan Metzmacher :
  • BUG 15317: winbindd idmap child contacts the domain controller without a need.
  • BUG 15318: idmap_autorid may fail to map sids of trusted domains for the first time.
  • BUG 15319: idmap_hash doesn't use ID_TYPE_BOTH for reverse mappings.
  • BUG 15323: net ads search -P doesn't work against servers in other domains.
  • BUG 15353: Temporary smbXsrv_tcon_global.tdb can't be parsed.
  • Joseph Sutton :
  • BUG 15316: Flapping tests in samba_tool_drs_show_repl.py.
  • BUG 15343: Tests use depricated and removed methods like assertRegexpMatches.

New in Samba 4.18.1 (Mar 30, 2023)

  • Douglas Bagnall :
  • BUG 15276: CVE-2023-0225.
  • Andrew Bartlett :
  • BUG 15270: CVE-2023-0614.
  • BUG 15331: ldb wildcard matching makes excessive allocations.
  • BUG 15332: large_ldap test is inefficient.
  • Rob van der Linde :
  • BUG 15315: CVE-2023-0922.
  • Joseph Sutton :
  • BUG 15270: CVE-2023-0614.
  • BUG 15276: CVE-2023-0225.

New in Samba 4.18.0 (Mar 8, 2023)

  • NEW FEATURES/CHANGES:
  • SMB Server performance improvements:
  • The security improvements in recent releases (4.13, 4.14, 4.15, 4.16), mainly as protection against symlink races, caused performance regressions for metadata heavy workloads.
  • While 4.17 already improved the situation quite a lot, with 4.18 the locking overhead for contended path based operations is reduced by an additional factor of ~ 3 compared to 4.17. It means the throughput of open/close operations reached the level of 4.12 again.
  • More succinct samba-tool error messages:
  • Historically samba-tool has reported user error or misconfiguration by means of a Python traceback, showing you where in its code it noticed something was wrong, but not always exactly what is amiss. Now it tries harder to identify the true cause and restrict its output to describing that. Particular cases include:
  • a username or password is incorrect
  • an ldb database filename is wrong (including in smb.conf)
  • samba-tool dns: various zones or records do not exist
  • samba-tool ntacl: certain files are missing
  • the network seems to be down
  • bad --realm or --debug arguments
  • Accessing the old samba-tool messages:
  • This is not new, but users are reminded they can get the full Python stack trace, along with other noise, by using the argument '-d3'. This may be useful when searching the web.
  • The intention is that when samba-tool encounters an unrecognised problem (especially a bug), it will still output a Python traceback. If you encounter a problem that has been incorrectly identified by samba-tool, please report it on https://bugzilla.samba.org.
  • Colour output with samba-tool --color:
  • For some time a few samba-tool commands have had a --color=yes|no|auto option, which determines whether the command outputs ANSI colour codes. Now all samba-tool commands support this option, which now also accepts 'always' and 'force' for 'yes', 'never' and 'none' for 'no', and 'tty' and 'if-tty' for 'auto' (this more closely matches convention). With --color=auto, or when --color is omitted, colour codes are only used when output is directed to a terminal.
  • Most commands have very little colour in any case. For those that already used it, the defaults have changed slightly.
  • samba-tool drs showrepl: default is now 'auto', not 'no'
  • samba-tool visualize: the interactions between --color-scheme, --color, and --output have changed slightly. When --color-scheme is set it overrides --color for the purpose of the output diagram, but not for other output like error messages.
  • New samba-tool dsacl subcommand for deleting ACES:
  • The samba-tool dsacl tool can now delete entries in directory access control lists. The interface for 'samba-tool dsacl delete' is similar to that of 'samba-tool dsacl set', with the difference being that the ACEs described by the --sddl argument are deleted rather than added.
  • No colour with NO_COLOR environment variable:
  • With both samba-tool --color=auto (see above) and some other places where we use ANSI colour codes, the NO_COLOR environment variable will disable colour output. See https://no-color.org/ for a description of this variable. `samba-tool --color=always` will use colour regardless of NO_COLOR.
  • New wbinfo option --change-secret-at:
  • The wbinfo command has a new option, --change-secret-at= which forces the trust account password to be changed at a specified domain controller. If the specified domain controller cannot be contacted the password change fails rather than trying other DCs.
  • New option to change the NT ACL default location:
  • Usually the NT ACLs are stored in the security.NTACL extended attribute (xattr) of files and directories. The new "acl_xattr:security_acl_name" option allows to redefine the default location. The default "security.NTACL" is a protected location, which means the content of the security.NTACL attribute is not accessible from normal users outside of Samba. When this option is set to use a user-defined value, e.g. user.NTACL then any user can potentially access and overwrite this information. The module prevents access to this xattr over SMB, but the xattr may still be accessed by other means (eg local access, SSH, NFS). This option must only be used when this consequence is clearly understood and when specific precautions are taken to avoid compromising the ACL content.
  • Azure Active Directory / Office365 synchronisation improvements:
  • Use of the Azure AD Connect cloud sync tool is now supported for password hash synchronisation, allowing Samba AD Domains to synchronise passwords with this popular cloud environment.

New in Samba 4.17.5 (Jan 27, 2023)

  • Jeremy Allison :
  • BUG 14808: smbc_getxattr() return value is incorrect.
  • BUG 15172: Compound SMB2 FLUSH+CLOSE requests from MacOSX are not handled correctly.
  • BUG 15210: synthetic_pathref AFP_AfpInfo failed errors.
  • BUG 15226: samba-tool gpo listall fails IPv6 only - finddcs() fails to find DC when there is only an AAAA record for the DC in DNS.
  • BUG 15236: smbd crashes if an FSCTL request is done on a stream handle.
  • BUG 15277: DFS links don't work anymore on Mac clients since 4.17.
  • BUG 15283: vfs_virusfilter segfault on access, directory edgecase (accessing NULL value).
  • Samuel Cabrero :
  • BUG 15240: CVE-2022-38023 [SECURITY] Samba should refuse RC4 (aka md5) based SChannel on NETLOGON (additional changes).
  • Volker Lendecke
  • BUG 15243: %U for include directive doesn't work for share listing (netshareenum).
  • BUG 15266: Shares missing from netshareenum response in samba 4.17.4.
  • BUG 15269: ctdb: use-after-free in run_proc.
  • Stefan Metzmacher
  • BUG 15243: %U for include directive doesn't work for share listing (netshareenum).
  • BUG 15266: Shares missing from netshareenum response in samba 4.17.4.
  • BUG 15280: irpc_destructor may crash during shutdown.
  • BUG 15286: auth3_generate_session_info_pac leaks wbcAuthUserInfo.
  • Andreas Schneider
  • BUG 15268: smbclient segfaults with use after free on an optimized build.
  • Jones Syue
  • BUG 15282: smbstatus leaking files in msg.sock and msg.lock.
  • Andrew Walker
  • BUG 15164: Leak in wbcCtxPingDc2.
  • BUG 15265: Access based share enum does not work in Samba 4.16+.
  • BUG 15267: Crash during share enumeration.
  • BUG 15271: rep_listxattr on FreeBSD does not properly check for reads off end of returned buffer.
  • Florian Weimer
  • BUG 15281: Avoid relying on C89 features in a few places.

New in Samba 4.17.3 (Nov 15, 2022)

  • Joseph Sutton :
  • BUG 15203: CVE-2022-42898
  • Nicolas Williams :
  • BUG 15203: CVE-2022-42898

New in Samba 4.17.2 (Oct 26, 2022)

  • Volker Lendecke :
  • BUG 15207: CVE-2022-3592.
  • Joseph Sutton :
  • BUG 15134: CVE-2022-3437.

New in Samba 4.17.1 (Oct 20, 2022)

  • Jeremy Allison :
  • BUG 14611: CVE-2021-20251 [SECURITY] Bad password count not incremented atomically.
  • BUG 15174: smbXsrv_connection_shutdown_send result leaked.
  • BUG 15182: Flush on a named stream never completes.
  • BUG 15195: Permission denied calling SMBC_getatr when file not exists.
  • Douglas Bagnall :
  • BUG 15189: Samba 4.5 sometimes cannot be upgraded to Samba 4.6 or later over DRS: WERROR_DS_DRA_MISSING_PARENT due to faulty GET_ANC.
  • BUG 15191: pytest: add file removal helpers for TestCaseInTempDir.
  • Andrew Bartlett :
  • BUG 14611: CVE-2021-20251 [SECURITY] Bad password count not incremented atomically.
  • BUG 15189: Samba 4.5 sometimes cannot be upgraded to Samba 4.6 or later. over DRS: WERROR_DS_DRA_MISSING_PARENT due to faulty GET_ANC.
  • Ralph Boehme :
  • BUG 15182: Flush on a named stream never completes.
  • Volker Lendecke :
  • BUG 15151: vfs_gpfs silently garbles timestamps > year 2106.
  • Gary Lockyer :
  • BUG 14611: CVE-2021-20251 [SECURITY] Bad password count not incremented atomically.
  • Stefan Metzmacher :
  • BUG 15200: multi-channel socket passing may hit a race if one of the involved processes already existed.
  • BUG 15201: memory leak on temporary of struct imessaging_post_state and struct tevent_immediate on struct imessaging_context (in rpcd_spoolss and maybe others).
  • Noel Power :
  • BUG 15205: Since popt1.19 various use after free errors using result of poptGetArg are now exposed.
  • Anoop C S :
  • BUG 15192: Remove special case for O_CREAT in SMB_VFS_OPENAT from vfs_glusterfs.
  • Andreas Schneider :
  • BUG 15169: GETPWSID in memory cache grows indefinetly with each NTLM auth.
  • Joseph Sutton :
  • BUG 14611: CVE-2021-20251 [SECURITY] Bad password count not incremented atomically.

New in Samba 4.17.0 (Sep 14, 2022)

  • Ralph Boehme :
  • BUG 15126: acl_xattr VFS module may unintentionally use filesystem permissions instead of ACL from xattr.
  • BUG 15153: Missing SMB2-GETINFO access checks from MS-SMB2 3.3.5.20.1.
  • BUG 15161: assert failed: !is_named_stream(smb_fname)") at ../../lib/util/fault.c:197.
  • Volker Lendecke :
  • BUG 15126: acl_xattr VFS module may unintentionally use filesystem permissions instead of ACL from xattr.
  • BUG 15161: assert failed: !is_named_stream(smb_fname)") at ../../lib/util/fault.c:197.
  • Stefan Metzmacher :
  • BUG 15159: Cross-node multi-channel reconnects result in SMB2 Negotiate returning NT_STATUS_NOT_SUPPORTED.
  • Noel Power :
  • BUG 15160: winbind at info level debug can coredump when processing wb_lookupusergroups.
  • Anoop C S :
  • BUG 15157: Make use of glfs_*at() API calls in vfs_glusterfs.
  • Jeremy Allison :
  • BUG 15128: Possible use after free of connection_struct when iterating smbd_server_connection->connections.
  • Christian Ambach :
  • BUG 15145: `net usershare add` fails with flag works with --long but fails with -l.
  • Ralph Boehme :
  • BUG 15126: acl_xattr VFS module may unintentionally use filesystem permissions instead of ACL from xattr.
  • Stefan Metzmacher :
  • BUG 15125: Performance regression on contended path based operations.
  • BUG 15148: Missing READ_LEASE break could cause data corruption.
  • Andreas Schneider :
  • BUG 15141: libsamba-errors uses a wrong version number.
  • Joseph Sutton :
  • BUG 15152: SMB1 negotiation can fail to handle connection errors.
  • Jeremy Allison :
  • BUG 15143: New filename parser doesn't check veto files smb.conf parameter.
  • BUG 15144: 4.17.rc1 still uses symlink-race prone unix_convert()
  • BUG 15146: Backport fileserver related changed to 4.17.0rc2
  • Jule Anger :
  • BUG 15147: Manpage for smbstatus json is missing
  • Volker Lendecke :
  • BUG 15146: Backport fileserver related changed to 4.17.0rc2
  • Stefan Metzmacher :
  • BUG 15125: Performance regression on contended path based operations
  • BUG 15146: Backport fileserver related changed to 4.17.0rc2
  • Andreas Schneider :
  • BUG 15140: Fix issues found by coverity in smbstatus json code
  • BUG 15146: Backport fileserver related changed to 4.17.0rc2

New in Samba 4.16.5 (Sep 8, 2022)

  • Jeremy Allison :
  • BUG 15128: Possible use after free of connection_struct when iterating smbd_server_connection->connections.
  • Ralph Boehme :
  • BUG 15086: Spotlight RPC service returns wrong response when Spotlight is disabled on a share.
  • BUG 15126: acl_xattr VFS module may unintentionally use filesystem permissions instead of ACL from xattr.
  • BUG 15153: Missing SMB2-GETINFO access checks from MS-SMB2 3.3.5.20.1.
  • BUG 15161: assert failed: !is_named_stream(smb_fname)") at ../../lib/util/fault.c:197.
  • Stefan Metzmacher :
  • BUG 15148: Missing READ_LEASE break could cause data corruption.
  • Andreas Schneider :
  • BUG 15124: rpcclient can crash using setuserinfo(2).
  • BUG 15132: Samba fails to build with glibc 2.36 caused by including in libreplace.
  • Joseph Sutton :
  • BUG 15152: SMB1 negotiation can fail to handle connection errors.
  • Michael Tokarev :
  • BUG 15078: samba-tool domain join segfault when joining a samba ad domain.

New in Samba 4.16.4 (Jul 27, 2022)

  • This is a security release in order to address the following defects:
  • CVE-2022-2031: Samba AD users can bypass certain restrictions associated with changing passwords. https://www.samba.org/samba/security/CVE-2022-2031.html
  • CVE-2022-32744: Samba AD users can forge password change requests for any user. https://www.samba.org/samba/security/CVE-2022-32744.html
  • CVE-2022-32745: Samba AD users can crash the server process with an LDAP add or modify request. https://www.samba.org/samba/security/CVE-2022-32745.html
  • CVE-2022-32746: Samba AD users can induce a use-after-free in the server process with an LDAP add or modify request. https://www.samba.org/samba/security/CVE-2022-32746.html
  • CVE-2022-32742: Server memory information leak via SMB1. https://www.samba.org/samba/security/CVE-2022-32742.html
  • Changes since 4.16.3:
  • Jeremy Allison :
  • BUG 15085: CVE-2022-32742.
  • Andrew Bartlett :
  • BUG 15009: CVE-2022-32746.
  • Andreas Schneider :
  • BUG 15047: CVE-2022-2031.
  • Joseph Sutton :
  • BUG 15008: CVE-2022-32745.
  • BUG 15009: CVE-2022-32746.
  • BUG 15047: CVE-2022-2031.
  • BUG 15074: CVE-2022-32744.

New in Samba 4.16.3 (Jul 18, 2022)

  • Jeremy Allison :
  • BUG 15099: Using vfs_streams_xattr and deleting a file causes a panic.
  • Douglas Bagnall :
  • BUG 14986: Add support for bind 9.18.
  • BUG 15076: logging dsdb audit to specific files does not work.
  • Samuel Cabrero
  • BUG 14979: Problem when winbind renews Kerberos.
  • BUG 15095: Samba with new lorikeet-heimdal fails to build on gcc 12.1 in developer mode.
  • Volker Lendecke :
  • BUG 15105: Crash in streams_xattr because fsp->base_fsp->fsp_name is NULL.
  • BUG 15118: Crash in rpcd_classic - NULL pointer deference in mangle_is_mangled().
  • Noel Power :
  • BUG 15100: smbclient commands del & deltree fail with NT_STATUS_OBJECT_PATH_NOT_FOUND with DFS.
  • Christof Schmitt :
  • BUG 15120: Fix check for chown when processing NFSv4 ACL.
  • Andreas Schneider :
  • BUG 15082: The pcap background queue process should not be stopped.
  • BUG 15097: testparm: Fix typo in idmap rangesize check.
  • BUG 15106: net ads info returns LDAP server and LDAP server name as null.
  • BUG 15108: ldconfig: /lib64/libsmbconf.so.0 is not a symbolic link.
  • Martin Schwenke :
  • BUG 15090: CTDB child process logging does not work as expected.

New in Samba 4.16.2 (Jun 15, 2022)

  • BUG 15042: Use pathref fd instead of io fd in vfs_default_durable_cookie.
  • BUG 15069: vfs_gpfs with vfs_shadowcopy2 fail to restore file if original file had been deleted.
  • BUG 15087: netgroups support removed.
  • BUG 14674: net ads info shows LDAP Server: 0.0.0.0 depending on contacted server.
  • BUG 15062: Update from 4.15 to 4.16 breaks discovery of [homes] on standalone server from Win and IOS.
  • BUG 15071: waf produces incorrect names for python extensions with Python 3.11.
  • BUG 15075: smbclient -E doesn't work as advertised.
  • BUG 15071: waf produces incorrect names for python extensions with Python 3.11.
  • BUG 15081: The samba background daemon doesn't refresh the printcap cache on startup.
  • BUG 14443: Out-by-4 error in smbd read reply max_send clamp..

New in Samba 4.16.1 (May 3, 2022)

  • Jeremy Allison :
  • BUG 14831: Share and server swapped in smbget password prompt.
  • BUG 15022: Durable handles won't reconnect if the leased file is written to.
  • BUG 15023: rmdir silently fails if directory contains unreadable files and hide unreadable is yes.
  • BUG 15038: SMB2_CLOSE_FLAGS_FULL_INFORMATION fails to return information on renamed file handle.
  • Andrew Bartlett :
  • BUG 8731: Need to describe --builtin-libraries= better (compare with --bundled-libraries).
  • Ralph Boehme :
  • BUG 14957: vfs_shadow_copy2 breaks "smbd async dosmode" sync fallback.
  • BUG 15035: shadow_copy2 fails listing snapshotted dirs with shadow:fixinodes.
  • Samuel Cabrero :
  • BUG 15046: PAM Kerberos authentication incorrectly fails with a clock skew error.
  • Pavel Filipenský :
  • BUG 15041: Username map - samba erroneously applies unix group memberships to user account entries.
  • Stefan Metzmacher :
  • BUG 14951: KVNO off by 100000.
  • Christof Schmitt :
  • BUG 15027: Uninitialized litemask in variable in vfs_gpfs module.
  • BUG 15055: vfs_gpfs recalls=no option prevents listing files.
  • Andreas Schneider :
  • BUG 15054: smbd doesn't handle UPNs for looking up names.

New in Samba 4.15.0 (Sep 20, 2021)

  • Andrew Bartlett :
  • BUG 14791: All the ways to specify a password are not documented.
  • Ralph Boehme :
  • BUG 14790: vfs_btrfs compression support broken.
  • BUG 14828: Problems with commandline parsing.
  • BUG 14829: smbd crashes when "ea support" is set to no.
  • Stefan Metzmacher :
  • BUG 14825: "{client,server} smb3 {signing,encryption} algorithms" should use the same strings as smbstatus output.
  • BUG 14828: Problems with commandline parsing.
  • Alex Richardson :
  • BUG 8773: smbd fails to run as root because it belongs to more than 16 groups on MacOS X.
  • Martin Schwenke :
  • BUG 14784: Fix CTDB flag/status update race conditions.

New in Samba 4.14.7 (Aug 26, 2021)

  • Jeremy Allison :
  • BUG 14769: smbd panic on force-close share during offload write.
  • Ralph Boehme :
  • BUG 12033: smbd should support copy_file_range() for FSCTL_SRV_COPYCHUNK.
  • BUG 14731: Fix returned attributes on fake quota file handle and avoid hitting the VFS.
  • BUG 14756: vfs_shadow_copy2 fix inodes not correctly updating inode numbers.
  • David Gajewski :
  • BUG 14774: Fix build on Solaris.
  • Björn Jacke :
  • BUG 14654: Make dos attributes available for unreadable files.
  • Stefan Metzmacher : 7.3.7.
  • BUG 14793: Start the SMB encryption as soon as possible.

New in Samba 4.14.6 (Jul 13, 2021)

  • Jeremy Allison :
  • BUG 14722: s3: lib: Fix talloc heirarcy error in parent_smb_fname().
  • BUG 14732: smbd: Fix pathref unlinking in create_file_unixpath().
  • BUG 14734: s3: VFS: default: Add proc_fd's fallback for vfswrap_fchown().
  • BUG 14736: s3: smbd: Remove erroneous TALLOC_FREE(smb_fname_parent) in change_file_owner_to_parent() error path.
  • Ralph Boehme :
  • BUG 14730: NT_STATUS_FILE_IS_A_DIRECTORY error messages when using glusterfs VFS module.
  • BUG 14734: s3/modules: fchmod: Fallback to path based chmod if pathref.
  • BUG 14740: Spotlight RPC service doesn't work with vfs_glusterfs.
  • Stefan Metzmacher :
  • BUG 14750: gensec_krb5: Restore ipv6 support for kpasswd.
  • BUG 14752: smbXsrv_{open,session,tcon}: protect smbXsrv_{open,session,tcon}_global_traverse_fn against invalid records.
  • Joseph Sutton :
  • BUG 14027: samba-tool domain backup offline doesn't work against bind DLZ backend.
  • BUG 14669: netcmd: Use next_free_rid() function to calculate a SID for restoring a backup.

New in Samba 4.14.5 (Jun 1, 2021)

  • Jeremy Allison :
  • BUG 14696: s3: smbd: SMB1 SMBsplwr doesn't send a reply packet on success.
  • BUG 14708: s3: smbd: Ensure POSIX default ACL is mapped into returned Windows ACL for directory handles.
  • BUG 14721: s3: smbd: Fix uninitialized memory read in process_symlink_open() when used with vfs_shadow_copy2().
  • Andrew Bartlett :
  • BUG 14689: docs: Expand the "log level" docs on audit logging.
  • Ralph Boehme :
  • BUG 14714: smbd: Correctly initialize close timestamp fields.
  • Günther Deschner :
  • BUG 14699: Fix gcc11 compiler issues.
  • Pavel Filipenský :
  • BUG 14718: docs-xml: Update smbcacls manpage.
  • BUG 14719: docs: Update list of available commands in rpcclient.
  • Volker Lendecke :
  • BUG 14475: ctdb: Fix a crash in run_proc_signal_handler().
  • Andreas Schneider :
  • * BUG 14695: s3:winbind: For 'security = ADS' require realm/workgroup to be set.
  • * BUG 14699: lib:replace: Do not build strndup test with gcc 11 or newer.

New in Samba 4.14.3 (Apr 20, 2021)

  • Trever L. Adams :
  • BUG 14671: s3:modules:vfs_virusfilter: Recent New_VFS changes break vfs_virusfilter_openat.
  • Andrew Bartlett :
  • BUG 14586: build: Notice if flex is missing at configure time.
  • Ralph Boehme :
  • BUG 14672: Fix smbd panic when two clients open same file.
  • BUG 14675: Fix memory leak in the RPC server.
  • BUG 14679: s3: smbd: fix deferred renames.
  • Samuel Cabrero :
  • BUG 14675: s3-iremotewinspool: Set the per-request memory context.
  • Volker Lendecke :
  • BUG 14675: Fix memory leak in the RPC server.
  • Stefan Metzmacher :
  • BUG 11899: third_party: Update socket_wrapper to version 1.3.2.
  • BUG 14640: third_party: Update socket_wrapper to version 1.3.3.
  • David Mulder :
  • BUG 14665: samba-gpupdate: Test that sysvol paths download in case-insensitive way.
  • Sachin Prabhu :
  • BUG 14662: smbd: Ensure errno is preserved across fsp destructor.
  • Christof Schmitt :
  • BUG 14663: idmap_rfc2307 and idmap_nss return wrong mapping for uid/gid conflict.
  • Martin Schwenke :
  • BUG 14288: build: Only add -Wl,--as-needed when supported.

New in Samba 4.13.4 (Jan 26, 2021)

  • Jeremy Allison :
  • BUG 14607: Work around special SMB2 IOCTL response behavior of NetApp Ontap 7.3.7.
  • BUG 14612: Temporary DFS share setup doesn't set case parameters in the same way as a regular share definition does.
  • Dimitry Andric
  • BUG 14605: lib: Avoid declaring zero-length VLAs in various messaging functions.
  • Andrew Bartlett
  • BUG 14579: Do not create an empty DB when accessing a sam.ldb.
  • Ralph Boehme
  • BUG 14596: vfs_fruit may close wrong backend fd.
  • BUG 14612: Temporary DFS share setup doesn't set case parameters in the same way as a regular share definition does.
  • Arne Kreddig
  • BUG 14606: vfs_virusfilter: Allocate separate memory for config char*.
  • Stefan Metzmacher
  • BUG 14596: vfs_fruit may close wrong backend fd.
  • BUG 14607: Work around special SMB2 IOCTL response behavior of NetApp Ontap 7.3.7.
  • Andreas Schneider
  • BUG 14601: The cache directory for the user gencache should be created recursively.
  • Martin Schwenke
  • BUG 14594: Be more flexible with repository names in CentOS 8 test environments.

New in Samba 4.13.3 (Dec 15, 2020)

  • Jeremy Allison :
  • BUG 14210: libcli: smb2: Never print length if smb2_signing_key_valid() fails for crypto blob.
  • BUG 14486: s3: modules: gluster. Fix the error I made in preventing talloc leaks from a function.
  • BUG 14515: s3: smbd: Don't overwrite contents of fsp->aio_requests[0] with NULL via TALLOC_FREE().
  • BUG 14568: s3: spoolss: Make parameters in call to user_ok_token() match all other uses.
  • BUG 14590: s3: smbd: Quiet log messages from usershares for an unknown share.
  • Ralph Boehme :
  • BUG 14248: samba process does not honor max log size.
  • BUG 14587: vfs_zfsacl: Add missing inherited flag on hidden "magic" everyone@ ACE.
  • Isaac Boukris :
  • BUG 13124: s3-libads: Pass timeout to open_socket_out in ms.
  • Günther Deschner :
  • BUG 14486: s3-vfs_glusterfs: Always disable write-behind translator.
  • Volker Lendecke :
  • BUG 14517: smbclient: Fix recursive mget.
  • BUG 14581: clitar: Use do_list()'s recursion in clitar.c.
  • Anoop C S :
  • BUG 14486: manpages/vfs_glusterfs: Mention silent skipping of write-behind translator.
  • BUG 14573: vfs_shadow_copy2: Preserve all open flags assuming ROFS.
  • Jones Syue :
  • BUG 14514: interface: Fix if_index is not parsed correctly.

New in Samba 4.13.2 (Nov 3, 2020)

  • Jeremy Allison :
  • BUG 14486: s3: modules: vfs_glusterfs: Fix leak of char **lines onto mem_ctx on return.
  • Ralph Boehme :
  • BUG 14471: RN: vfs_zfsacl: Only grant DELETE_CHILD if ACL tag is special.
  • Alexander Bokovoy :
  • BUG 14538: smb.conf.5: Add clarification how configuration changes reflected by Samba.
  • BUG 14552: daemons: Report status to systemd even when running in foreground.
  • BUG 14553: DNS Resolver: Support both dnspython before and after 2.0.0.
  • Günther Deschner :
  • BUG 14486: s3-vfs_glusterfs: Refuse connection when write-behind xlator is present.
  • Amitay Isaacs :
  • BUG 14487: provision: Add support for BIND 9.16.x.
  • BUG 14537: ctdb-common: Avoid aliasing errors during code optimization.
  • BUG 14541: libndr: Avoid assigning duplicate versions to symbols.
  • Björn Jacke :
  • BUG 14522: docs: Fix default value of spoolss:architecture.
  • Laurent Menase :
  • BUG 14388: winbind: Fix a memleak.
  • Stefan Metzmacher :
  • BUG 14531: s4:dsdb:acl_read: Implement "List Object" mode feature.
  • Sachin Prabhu :
  • BUG 14486: docs-xml/manpages: Add warning about write-behind translator for vfs_glusterfs.
  • Khem Raj :
  • nsswitch/nsstest.c: Avoid nss function conflicts with glibc nss.h.
  • Anoop C S :
  • BUG 14530: vfs_shadow_copy2: Avoid closing snapsdir twice.
  • Andreas Schneider :
  • BUG 14547: third_party: Update resolv_wrapper to version 1.1.7.
  • BUG 14550: examples:auth: Do not install example plugin.
  • Martin Schwenke :
  • BUG 14513: ctdb-recoverd: Drop unnecessary and broken code.
  • Andrew Walker :
  • BUG 14471: RN: vfs_zfsacl: Only grant DELETE_CHILD if ACL tag is special.

New in Samba 4.13.1 (Oct 29, 2020)

  • These are security releases in order to address CVE-2020-14318 (Missing handle permissions check in SMB1/2/3 ChangeNotify), CVE-2020-14323 (Unprivileged user can crash winbind) and CVE-2020-14383 (An authenticated user can crash the DCE/RPC DNS with easily crafted records).
  • The uncompressed tarballs have been signed using GnuPG (ID 6F33915B6568B7EA).
  • The 4.13.1 source code can be downloaded now. A patch against Samba 4.13.0 is also available. See the 4.13.1 release notes for more info.
  • The 4.12.9 source code can be downloaded now. A patch against Samba 4.12.8 is also available. See the 4.12.9 release notes for more info.
  • The 4.11.15 source code can be downloaded now. A patch against Samba 4.11.14 is also available. See the 4.11.15 release notes for more info.

New in Samba 4.12.7 (Sep 18, 2020)

  • Jeremy Allison :
  • BUG 14497: CVE-2020-1472(ZeroLogon): s3:rpc_server/netlogon: Protect netr_ServerPasswordSet2 against unencrypted passwords.
  • Günther Deschner :
  • BUG 14497: CVE-2020-1472(ZeroLogon): s3:rpc_server/netlogon: Support "server require schannel:WORKSTATION$ = no" about unsecure configurations.
  • Gary Lockyer :
  • BUG 14497: CVE-2020-1472(ZeroLogon): s4 torture rpc: repeated bytes in client challenge.
  • Stefan Metzmacher :
  • BUG 14497: CVE-2020-1472(ZeroLogon): libcli/auth: Reject weak client challenges in netlogon_creds_server_init() "server require schannel:WORKSTATION$ = no".

New in Samba 4.12.6 (Aug 13, 2020)

  • Jeremy Allison :
  • BUG 14403: s3: libsmb: Fix SMB2 client rename bug to a Windows server.
  • Andrew Bartlett :
  • BUG 14424: dsdb: Allow "password hash userPassword schemes = CryptSHA256" to work on RHEL7.
  • BUG 14450: dbcheck: Allow a dangling forward link outside our known NCs.
  • Ralph Boehme :
  • BUG 14426: lib/debug: Set the correct default backend loglevel to MAX_DEBUG_LEVEL.
  • BUG 14428: PANIC: Assert failed in get_lease_type().
  • Bjoern Jacke :
  • BUG 14422: util: Fix build on AIX by fixing the order of replace.h include.
  • Volker Lendecke :
  • BUG 14355: srvsvc_NetFileEnum asserts with open files.
  • Stefan Metzmacher :
  • BUG 14354: KDC breaks with DES keys still in the database and msDS-SupportedEncryptionTypes 31 indicating support for it.
  • BUG 14427: s3:smbd: Make sure vfs_ChDir() always sets conn->cwd_fsp->fh->fd = AT_FDCWD.
  • BUG 14428: PANIC: Assert failed in get_lease_type().
  • Andreas Schneider :
  • BUG 14358: docs: Fix documentation for require_membership_of of pam_winbind.conf.
  • Martin Schwenke :
  • BUG 14444: ctdb-scripts: Use nfsconf utility for variable values in CTDB NFS scripts.
  • Andrew Walker :
  • BUG 14425: s3:winbind:idmap_ad: Make failure to get attrnames for schema mode fatal.

New in Samba 4.12.5 (Jul 2, 2020)

  • Jeremy Allison :
  • BUG 14301: Fix smbd panic on force-close share during async io.
  • BUG 14374: Fix segfault when using SMBC_opendir_ctx() routine for share folder that contains incorrect symbols in any file name.
  • BUG 14391: Fix DFS links.
  • Andrew Bartlett :
  • BUG 14310: Can't use DNS functionality after a Windows DC has been in domain.
  • Alexander Bokovoy :
  • BUG 14413: ldapi search to FreeIPA crashes.
  • Isaac Boukris :
  • BUG 14396: Add net-ads-join dnshostname=fqdn option.
  • BUG 14406: Fix adding msDS-AdditionalDnsHostName to keytab with Windows DC.
  • Björn Jacke
  • BUG 14386: docs-xml: Update list of posible VFS operations for vfs_full_audit.
  • Volker Lendecke :
  • BUG 14382: winbindd: Fix a use-after-free when winbind clients exit.
  • Andreas Schneider :
  • BUG 14370: Client tools are not able to read gencache anymore.

New in Samba 4.12.4 (Jul 2, 2020)

  • Douglas Bagnall :
  • BUG 14378: CVE-2020-10745: Invalid DNS or NBT queries containing dots use several seconds of CPU each.
  • Andrew Bartlett :
  • BUG 14364: CVE-2020-10730: NULL de-reference in AD DC LDAP server when ASQ and VLV combined.
  • BUG 14402: CVE-2020-10760: Fix use-after-free in AD DC Global Catalog LDAP server with paged_result or VLV.
  • BUG 14417: CVE-2020-14303: Fix endless loop from empty UDP packet sent to AD DC nbt_server.
  • Gary Lockyer :
  • BUG 14364: CVE-2020-10730: NULL de-reference in AD DC LDAP server when ASQ and VLV combined, ldb: Bump version to 2.1.4.

New in Samba 4.12.3 (May 19, 2020)

  • Jeremy Allison :
  • BUG 14301: Fix smbd panic on force-close share during async io.
  • BUG 14343: s3: vfs_full_audit: Add missing fcntl entry in vfs_op_names[] array.
  • BUG 14361: vfs_io_uring: Fix data corruption with Windows clients.
  • BUG 14372: Fix smbd crashes when MacOS Catalina connects if iconv initialization fails.
  • Ralph Boehme :
  • BUG 14150: Exporting from macOS Adobe Illustrator creates multiple copies.
  • BUG 14256: smbd does a chdir() twice per request.
  • BUG 14320: smbd mistakenly updates a file's write-time on close.
  • BUG 14350: vfs_shadow_copy2: implement case canonicalisation in shadow_copy2_get_real_filename().
  • BUG 14375: Fix Windows 7 clients problem after upgrading samba file server.
  • Alexander Bokovoy :
  • BUG 14359: s3: Pass DCE RPC handle type to create_policy_hnd.
  • Isaac Boukris :
  • BUG 14155: Fix uxsuccess test with new MIT krb5 library 1.18.
  • BUG 14342: mit-kdc: Explicitly reject S4U requests.
  • Anoop C S :
  • BUG 14352: dbwrap_watch: Set rec->value_valid while returning nested share_mode_do_locked().
  • Amit Kumar :
  • BUG 14345: lib:util: Fix smbclient -l basename dir.
  • Volker Lendecke :
  • BUG 14336: s3:libads: Fix ads_get_upn().
  • BUG 14348: ctdb: Fix a memleak.
  • BUG 14366: Malicous SMB1 server can crash libsmbclient.
  • Gary Lockyer :
  • BUG 14330: ldb: Bump version to 2.1.3, LMDB databases can grow without bounds
  • Stefan Metzmacher :
  • BUG 14361: vfs_io_uring: Fix data corruption with Windows clients.
  • Noel Power :
  • BUG 14344: s3/librpc/crypto: Fix double free with unresolved credential cache.
  • Andreas Schneider :
  • BUG 14358: docs-xml: Fix usernames in pam_winbind manpages.

New in Samba 4.12.2 (Apr 28, 2020)

  • These are security releases in order to address CVE-2020-10700 (Use-after-free in Samba AD DC LDAP Server with ASQ). CVE-2020-10704 (LDAP Denial of Service (stack overflow) in Samba AD DC).

New in Samba 4.12.1 (Apr 7, 2020)

  • Douglas Bagnall :
  • BUG 14295: nmblib: Avoid undefined behaviour in handle_name_ptrs().
  • Björn Baumbach
  • BUG 14296: samba-tool group: Handle group names with special chars correctly.
  • Ralph Boehme :
  • BUG 14293: Add missing check for DMAPI offline status in async DOS attributes.
  • BUG 14295: Starting ctdb node that was powered off hard before results in recovery loop.
  • BUG 14307: smbd: Ignore set NTACL requests which contain S-1-5-88 NFS ACEs.
  • BUG 14316: vfs_recycle: Prevent flooding the log if we're called on non-existant paths.
  • Günther Deschner :
  • BUG 14313: librpc: Fix IDL for svcctl_ChangeServiceConfigW.
  • BUG 14327: nsswitch: Fix use-after-free causing segfault in _pam_delete_cred.
  • Art M. Gallagher :
  • BUG 13622: fruit:time machine max size is broken on arm.
  • Amitay Isaacs :
  • BUG 14294: CTDB recovery corner cases can cause record resurrection and node banning.
  • Noel Power :
  • BUG 14332: s3/utils: Fix double free error with smbtree.
  • Martin Schwenke :
  • BUG 14294: CTDB recovery corner cases can cause record resurrection and node banning.
  • BUG 14295: Starting ctdb node that was powered off hard before results in recovery loop.
  • BUG 14324: CTDB recovery daemon can crash due to dereference of NULL pointer.

New in Samba 4.12.0 (Mar 3, 2020)

  • Andrew Bartlett :
  • BUG 14258: dsdb: Correctly handle memory in objectclass_attrs.
  • Jeremy Allison :
  • BUG 14269: s3: DFS: Don't allow link deletion on a read-only share.
  • Douglas Bagnall :
  • BUG 14284: pidl/wscript: configure should insist on Parse::Yapp::Driver.
  • Andrew Bartlett :
  • BUG 14270: ldb: Fix search with scope ONE and small result sets.
  • BUG 14284: build: Do not check if system perl modules should be bundled.
  • Volker Lendecke :
  • BUG 14285: smbd fails to handle EINTR from open(2) properly.
  • Stefan Metzmacher :
  • BUG 14270: ldb: version 2.1.1.
  • Jeremy Allison :
  • BUG 14282: Set getting and setting of MS-DFS redirects on the filesystem to go through two new VFS functions SMB_VFS_CREATE_DFS_PATHAT() and SMB_VFS_READ_DFS_PATHAT().
  • Andrew Bartlett :
  • BUG 14255: bootstrap: Remove un-used dependency python3-crypto.
  • Volker Lendecke :
  • BUG 14247: Fix CID 1458418 and 1458420.
  • BUG 14281: lib: Fix a shutdown crash with "clustering = yes".
  • Stefan Metzmacher :
  • BUG 14247: Winbind member (source3) fails local SAM auth with empty domain name.
  • BUG 14265: winbindd: Handle missing idmap in getgrgid().
  • BUG 14271: Don't use forward declaration for GnuTLS typedefs.
  • BUG 14280: Add io_uring vfs module.
  • Andreas Schneider :
  • BUG 14250: libcli:smb: Improve check for gnutls_aead_cipher_(en|de)cryptv2.
  • Jeremy Allison :
  • BUG 14239: s3: lib: nmblib. Clean up and harden nmb packet processing.
  • Andreas Schneider :
  • BUG 14253: lib:util: Log mkdir error on correct debug levels.

New in Samba 4.11.6 (Jan 29, 2020)

  • Douglas Bagnall:
  • BUG 14209: pygpo: Use correct method flags.
  • David Disseldorp:
  • BUG 14216: vfs_ceph_snapshots: Fix root relative path handling.
  • Torsten Fohrer:
  • BUG 14209: Avoiding bad call flags with python 3.8, using METH_NOARGS instead of zero.
  • Fabrice Fontaine:
  • BUG 14218: source4/utils/oLschema2ldif: Include stdint.h before cmocka.h.
  • Björn Jacke:
  • BUG 14122: docs-xml/winbindnssinfo: Clarify interaction with idmap_ad etc.
  • Volker Lendecke:
  • BUG 14251: smbd: Fix the build with clang.
  • Gary Lockyer:
  • BUG 14199: upgradedns: Ensure lmdb lock files linked.
  • Anoop C S:
  • BUG 14182: s3: VFS: glusterfs: Reset nlinks for symlink entries during readdir.
  • Andreas Schneider:
  • BUG 14101: smbc_stat() doesn't return the correct st_mode and also the uid/gid is not filled (SMBv1) file.
  • BUG 14219: librpc: Fix string length checking in ndr_pull_charset_to_null().
  • Martin Schwenke:
  • BUG 14227: ctdb-scripts: Strip square brackets when gathering connection info.

New in Samba 4.11.5 (Jan 21, 2020)

  • Andrew Bartlett
  • BUG 12497: CVE-2019-14902: Replication of ACLs down subtree on AD Directory not automatic.
  • BUG 14208: CVE-2019-14907: lib/util: Do not print the failed to convert string into the logs.
  • Gary Lockyer
  • BUG 14050: CVE-2019-19344: kcc dns scavenging: Fix use after free in dns_tombstone_records_zone.

New in Samba 4.11.4 (Dec 17, 2019)

  • Jeremy Allison:
  • BUG 14161: s3: libsmb: Ensure SMB1 cli_qpathinfo2() doesn't return an inode number.
  • BUG 14174: s3: utils: smbtree. Ensure we don't call cli_RNetShareEnum() on an SMB1 connection.
  • BUG 14176: NT_STATUS_ACCESS_DENIED becomes EINVAL when using SMB2 in SMBC_opendir_ctx.
  • BUG 14189: s3: smbd: SMB2 - Ensure we use the correct session_id if encrypting an interim response.
  • BUG 14205: Prevent smbd crash after invalid SMB1 negprot.
  • Ralph Boehme:
  • BUG 13745: s3:printing: Fix %J substition.
  • BUG 13925: s3: Remove now unneeded call to cmdline_messaging_context().
  • BUG 14069: Incomplete conversion of former parametric options.
  • BUG 14070: Fix sync dosmode fallback in async dosmode codepath.
  • BUG 14171: vfs_fruit returns capped resource fork length.
  • Isaac Boukris:
  • BUG 14116: libnet_join: Add SPNs for additional-dns-hostnames entries.
  • Volker Lendecke:
  • BUG 14211: smbd: Increase a debug level.
  • Stefan Metzmacher:
  • BUG 14153: Prevent azure ad connect from reporting discovery errors: reference-value-not-ldap-conformant.
  • Christof Schmitt:
  • BUG 14179: krb5_plugin: Fix developer build with newer heimdal system library.
  • Andreas Schneider:
  • BUG 14168: replace: Only link libnsl and libsocket if requrired.
  • Martin Schwenke:
  • BUG 14175: ctdb: Incoming queue can be orphaned causing communication breakdown.
  • Uri Simchoni:
  • BUG 13846: ldb: Release ldb 2.0.8. Cross-compile will not take cross-answers or cross-execute.
  • BUG 13856: heimdal-build: Avoid hard-coded /usr/include/heimdal in asn1_compile-generated code.

New in Samba 4.11.3 (Dec 10, 2019)

  • BUG 14138: CVE-2019-14861: Fix DNSServer RPC server crash.
  • BUG 14187: CVE-2019-14870: DelegationNotAllowed not being enforced.

New in Samba 4.11.2 (Oct 29, 2019)

  • BUG 14071: CVE-2019-10218 - s3: libsmb: Protect SMB1 and SMB2 client code from evil server returned names.
  • BUG 12438: CVE-2019-14833: Use utf8 characters in the unacceptable password.
  • BUG 14040: CVE-2019-14847 dsdb: Correct behaviour of ranged_results when combined with dirsync.
  • BUG 12438: CVE-2019-14833 dsdb: Send full password to check password script.

New in Samba 4.11.1 (Oct 18, 2019)

  • BUG 14141: getpwnam and getpwuid need to return data for ID_TYPE_BOTH group.
  • BUG 14094: smbc_readdirplus() is incompatible with smbc_telldir() and smbc_lseekdir().
  • BUG 14152: s3: smbclient: Stop an SMB2-connection from blundering into SMB1-specific calls.
  • BUG 14137: Fix stale file handle error when using mkstemp on a share.
  • BUG 14106: Fix spnego fallback from kerberos to ntlmssp in smbd server.
  • BUG 14140: Overlinking libreplace against librt and pthread against every binary or library causes issues.
  • BUG 14130: s3-winbindd: Fix forest trusts with additional trust attributes.
  • BUG 14134: auth/gensec: Fix non-AES schannel seal.
  • BUG 14147: Deleted records can be resurrected during recovery.
  • BUG 14136: Fix uncaught exception in classicupgrade.
  • BUG 14139: fault.c: Improve fault_report message text pointing to our wiki.
  • BUG 14128: s3:client: Use DEVICE_URI, instead of argv[0], for Device URI.
  • BUG 14124: pam_winbind with krb5_auth or wbinfo -K doesn't work for users of trusted domains/forests.
  • BUG 14131: Remove 'pod2man' as it is no longer needed.
  • BUG 13884: Joining Active Directory should not use SAMR to set the password.
  • BUG 14140: Overlinking libreplace against librt and pthread against every binary or library causes issues.
  • BUG 14155: 'kpasswd' fails when built with MIT Kerberos.
  • BUG 14129: Exit code of ctdb nodestatus should not be influenced by deleted nodes.

New in Samba 4.11 (Oct 9, 2019)

  • AD Database compatibility:
  • Samba 4.11 has changed how the AD database is stored on disk. AD users should
  • not really be affected by this change when upgrading to 4.11. However, AD
  • users should be extremely careful if they need to downgrade from Samba 4.11 to
  • an older release.
  • Samba 4.11 maintains database compatibility with older Samba releases. The database will automatically get rewritten in the new 4.11 format when you
  • first start the upgraded samba executable.
  • However, when downgrading from 4.11 you will need to manually downgrade the AD
  • database yourself. Note that you will need to do this step before you install
  • the downgraded Samba packages.
  • When either upgrading or downgrading, users should also avoid making any
  • database modifications between installing the new Samba packages and starting
  • the samba executable.
  • SMB1 is disabled by default
  • The defaults of 'client min protocol' and 'server min protocol' have been changed to SMB2_02.
  • This means clients without support for SMB2 or SMB3 are no longer able to connect to smbd (by default).
  • It also means client tools like smbclient and other, as well as applications making use of libsmbclient are no longer able to connect to servers without SMB2 or SMB3 support (by default).
  • It's still possible to allow SMB1 dialects, e.g. NT1, LANMAN2 and LANMAN1 for client and server, as well as CORE and COREPLUS on the client.
  • Note that most commandline tools e.g. smbclient, smbcacls and others also support the '--option' argument to overwrite smb.conf options, e.g. --option='client min protocol=NT1' might be useful.
  • As Microsoft no longer installs SMB1 support in recent releases or uninstalls it after 30 days without usage, the Samba Team tries to get remove the SMB1 usage as much as possible.
  • SMB1 is officially deprecated and might be removed step by step in the following years. If you have a strong requirement for SMB1 (except for supporting old Linux Kernels), please file a bug
  • LanMan and plaintext authentication deprecated:
  • The "lanman auth" and "encrypt passwords" parameters are deprecated with this release as both are only applicable to SMB1 and are quite insecure. NTLM, NTLMv2 and Kerberos authentication are unaffected, as "encrypt passwords = yes" has been the default since Samba 3.0.0.
  • If you have a strong requirement for these authentication protocols, please file a bug at https://bugzilla.samba.org and let us know about the details.
  • BIND9_FLATFILE deprecated:
  • The BIND9_FLATFILE DNS backend is deprecated in this release and will be removed in the future. This was only practically useful on a single domain controller or under expert care and supervision.
  • This release therefore deprecates the "rndc command" smb.conf parameter, which is used to support this configuration. After writing out a list of DCs permitted to make changes to the DNS Zone "rndc command" is called with reload to tell the 'named' server if a DC was added/removed to to the domain.
  • NEW FEATURES/CHANGES:
  • Default samba process model:
  • The default for the '--model' argument passed to the samba executable has changed from 'standard' to 'prefork'. This means a difference in the number of samba child processes that are created to handle client connections. The previous
  • default would create a separate process for every LDAP or NETLOGON client
  • connection. For a network with a lot of persistent client connections, this
  • could result in significant memory overhead. Now, with the new default of
  • 'prefork', the LDAP, NETLOGON, and KDC services will create a fixed number of
  • worker processes at startup and share the client connections amongst these
  • workers. The number of worker processes can be configured by the 'prefork
  • children' setting in the smb.conf (the default is 4).
  • Authentication Logging:
  • Winbind now logs PAM_AUTH and NTLM_AUTH events, a new attribute "logonId" has
  • been added to the Authentication JSON log messages. This contains a random logon id that is generated for each PAM_AUTH and NTLM_AUTH request and is passed to SamLogon, linking the windbind and SamLogon requests.
  • The serviceDescription of the messages is set to "winbind", the authDescription
  • is set to one of:
  • LDAP referrals:
  • The scheme of returned LDAP referrals now reflects the scheme of the original
  • request, i.e. referrals received via ldap are prefixed with "ldap://"
  • and those over ldaps are prefixed with "ldaps://".
  • Previously all referrals were prefixed with "ldap://".
  • Bind9 logging:
  • It is now possible to log the duration of DNS operations performed by Bind9.
  • This should aid future diagnosis of performance issues and could be used to
  • monitor DNS performance. The logging is enabled by setting log level to
  • "dns:10" in smb.conf.
  • The logs are currently human readable text only, i.e. no JSON formatted output.
  • Default schema updated to 2012_R2:
  • Default AD schema changed from 2008_R2 to 2012_R2. 2012_R2 functional level
  • is not yet available. Older schemas can be used by provisioning with the '--base-schema' argument. Existing installations can be updated with the samba-tool command "domain schemaupgrade".
  • Samba's replication code has also been improved to handle replication with the 2012 schema (the core of this replication fix has also been backported to 4.9.11 and will be in a 4.10.x release).
  • GnuTLS 3.2 required:
  • Samba is making efforts to remove in-tree cryptographic functionality, and to instead rely on externally maintained libraries. To this end, Samba has chosen GnuTLS as our standard cryptographic provider.
  • Samba now requires GnuTLS 3.2 to be installed (including development headers at build time) for all configurations, not just the Samba AD DC.
  • NOTE WELL: The use of GnuTLS means that Samba will honour the system-wide 'FIPS mode' (a reference to the US FIPS-140 cryptographic standard) and so will not operate in many still common situations if this system-wide parameter is in effect, as many of our protocols rely on outdated cryptography.
  • A future Samba version will mitigate this to some extent where good cryptography effectively wraps bad cryptography, but for now that above applies.
  • samba-tool improvements:
  • A new "samba-tool contact" command has been added to allow the command-line manipulation of contacts, as used for address book lookups in LDAP.
  • The "samba-tool [user|group|computer|group|contact] edit" command has been
  • improved to operate more pleasantly on international character sets.
  • 100,000 USER and LARGER Samba AD DOMAINS:
  • Extensive efforts have been made to optimise Samba for use in organisations (for example) targeting 100,000 users, plus 120,000 computer objects, as well as large number of group memberships.
  • Many of the specific efforts are detailed below, but the net results is to remove barriers to significantly larger Samba deployments compared to previous releases.
  • Reindex performance improvements:
  • The performance of samba-tool dbcheck --reindex has been improved, especially for large domains.
  • join performance improvements:
  • The performance of samba-tool domain join has been improved, especially for large domains.
  • LDAP Server memory improvements:
  • The LDAP server has improved memory efficiency, ensuring that large LDAP responses (for example a search for all objects) is not copied multiple times into memory.
  • Setting lmdb map size:
  • It is now possible to set the lmdb map size (the maximum permitted size for the database). "samba-tool" now accepts the "--backend-store-size" i.e. --backend-store-size=4Gb. If not specified it defaults to 8Gb.
  • This option is avaiable for the following sub commands:
  • domain provision
  • domain join
  • domain dcpromo
  • drs clone-dc-database
  • LDB "batch_mode":
  • To improve performance during batch operations i.e. joins, ldb now accepts a "batch_mode" option. However to prevent any index or database inconsistencies if an operation fails, the entire transaction will be aborted at commit.
  • New LDB pack format:
  • On first use (startup of 'samba' or the first transaction write) Samba's sam.ldb will be updated to a new more efficient pack format. This will take a few moments.
  • New LDB = index mode to improve replication performance
  • As well as a new pack format, Samba's sam.ldb uses a new index format allowing Samba to efficiently select objects changed since the last replication cycle. This in turn improves performance during replication of large domains.
  • Improvements to ldb search performance:
  • Search performance on large LDB databases has been improved by reducing memory allocations made on each object.
  • Improvements to subtree rename performance:
  • Improvements have been made to Samba's handling of subtree renames, for example of containers and organisational units, however large renames are still not recommended.
  • CTDB changes:
  • nfs-linux-kernel-callout now defaults to using systemd service names
  • The Red Hat service names continue to be the default.
  • Other distributions should patch this file when packaging it.
  • The onnode -o option has been removed
  • ctdbd logs when it is using more than 90% of a CPU thread
  • ctdbd is single threaded, so can become saturated if it uses the full capacity of a CPU thread. To help detect this situation, ctdbd now logs messages when CPU utilisation exceeds 90%. Each change in CPU utilisation over 90% is logged. A message is also logged when CPU utilisation drops below the 90% threshold.
  • Script configuration variable CTDB_MONITOR_SWAP_USAGE has been removed 05.system.script now monitors total memory (i.e. physical memory + swap) utilisation using the existing CTDB_MONITOR_MEMORY_USAGE script configuration variable.
  • CephFS Snapshot Integration:
  • CephFS snapshots can now be exposed as previous file versions using the new
  • ceph_snapshots VFS module. See the vfs_ceph_snapshots(8) man page for details.
  • REMOVED FEATURES:
  • Web server:
  • As a leftover from work related to the Samba Web Administration Tool (SWAT), Samba still supported a Python WSGI web server (which could still be turned on from the 'server services' smb.conf parameter). This service was unused and has
  • now been removed from Samba.
  • samba-tool join subdomain:
  • The subdomain role has been removed from the join command. This option did
  • not work and has no tests.
  • Python2 support:
  • Samba 4.11 will not have any runtime support for Python 2.
  • If you are building Samba using the '--disable-python' option (i.e. you're excluding all the run-time Python support), then this will continue to work on a system that supports either python2 or python3.
  • To build Samba with python2 you *must* set the 'PYTHON' environment variable for both the 'configure' and 'make' steps, i.e.
  • 'PYTHON=python2 ./configure'
  • 'PYTHON=python2 make'
  • This will override the python3 default.
  • Except for this specific build-time use of python2, Samba now requires Python 3.4 as a minimum.

New in Samba 4.10.8 (Sep 3, 2019)

  • BUG 14035: CVE-2019-10197: Permissions check deny can allow user to escape from the share.
  • BUG 14035: CVE-2019-10197: Permissions check deny can allow user to escape from the share.

New in Samba 4.10.7 (Aug 22, 2019)

  • BUG 14010: Unable to create or rename file/directory inside shares configured with vfs_glusterfs_fuse module.
  • BUG 13844: build: Allow build when '--disable-gnutls' is set.
  • BUG 13973: samba-tool: Add 'import samba.drs_utils' to fsmo.py.
  • BUG 14008: Fix 'Error 32 determining PSOs in system' message on old DB with FL upgrade.
  • BUG 14021: s4/libnet: Fix joining a Windows pre-2008R2 DC.
  • BUG 14046: join: Use a specific attribute order for the DsAddEntry nTDSDSA object.
  • BUG 14015: vfs_catia: Pass stat info to synthetic_smb_fname().
  • BUG 14091: lookup_name: Allow own domain lookup when flags == 0.
  • BUG 13932: s4 librpc rpc pyrpc: Ensure tevent_context deleted last.
  • BUG 13915: DEBUGC and DEBUGADDC doesn't print into a class specific log file.
  • BUG 13949: Request to keep deprecated option "server schannel", VMWare Quickprep requires "auto".
  • BUG 13967: dbcheck: Fallback to the default tombstoneLifetime of 180 days.
  • BUG 13969: dnsProperty fails to decode values from older Windows versions.
  • BUG 13973: samba-tool: Use only one LDAP modify for dns partition fsmo role transfer.
  • BUG 13960: third_party: Update waf to version 2.0.17.
  • BUG 14051: netcmd: Allow 'drs replicate --local' to create partitions.
  • BUG 14017: ctdb-config: Depend on /etc/ctdb/nodes file.

New in Samba 4.10.6 (Jul 8, 2019)

  • BUG 13956: s3: winbind: Fix crash when invoking winbind idmap scripts.
  • BUG 13964: smbd does not correctly parse arguments passed to dfree and quota scripts.
  • BUG 13965: samba-tool dns: use bytes for inet_ntop.
  • BUG 13828: samba-tool domain provision: Fix --interactive module in python3.
  • BUG 13893: ldb_kv: Skip @ records early in a search full scan.
  • BUG 13981: docs: Improve documentation of "lanman auth" and "ntlm auth" connection.
  • BUG 14002: python/ntacls: Use correct "state directory" smb.conf option instead of "state dir".
  • BUG 13840: registry: Add a missing include.
  • BUG 13944: Fix SMB guest authentication.
  • BUG 13958: AppleDouble conversion breaks Resourceforks.
  • BUG 13968: vfs_fruit makes direct use of syscalls like mmap() and pread().
  • BUG 13987: s3:mdssvc: Fix flex compilation error.
  • BUG 13872: s3/vfs_glusterfs[_fuse]: Avoid using NAME_MAX directly:
  • BUG 13799: dsdb:samdb: schemainfo update with relax control.
  • BUG 13964: s3:util: Move static file_pload() function to lib/util.
  • BUG 13957: smbd: Fix a panic.
  • BUG 12478: ldap server: Generate correct referral schemes.
  • BUG 13941: s4 dsdb/repl_meta_data: fix use after free in dsdb_audit_add_ldb_value.
  • BUG 13942: s4 dsdb: Fix use after free in samldb_rename_search_base_callback.
  • BUG 12204: dsdb/repl: we need to replicate the whole schema before we can apply it.
  • BUG 12478: ldb: Release ldb 1.5.5
  • BUG 13713: Schema replication fails if link crosses chunk boundary backwards.
  • BUG 13799: 'samba-tool domain schemaupgrade' uses relax control and skips the schemaInfo update provision.
  • BUG 13916: dsdb_audit: avoid printing "... remote host [Unknown] SID [(NULL SID)] ..."
  • BUG 13917: python/ntacls: We only need security.SEC_STD_READ_CONTROL in order to get the ACL.
  • BUG 13947: s3:loadparm: Ensure to truncate FS Volume Label at multibyte boundary.
  • BUG 13939: Using Kerberos credentials to print using spoolss doesn't work.
  • BUG 13998: wafsamba: Use native waf timer.
  • BUG 13984: ctdb-scripts: Fix tcp_tw_recycle existence check.

New in Samba 4.10.5 (Jun 19, 2019)

  • BUG 13922: CVE-2019-12435 rpc/dns: Avoid NULL deference if zone not found in DnssrvOperation2.
  • BUG 13951: CVE-2019-12436 dsdb/paged_results: Ignore successful results without messages.

New in Samba 4.10.4 (May 22, 2019)

  • BUG 13938: s3: SMB1: Don't allow recvfile on stream fsp's.
  • BUG 13882: py/provision: Fix for Python 2.6.
  • BUG 13873: netcmd: Fix 'passwordsettings --max-pwd-age' command.
  • BUG 13938: s3:smbd: Don't use recvfile on streams.
  • BUG 13861: s3-libnet_join: 'net ads join' to child domain fails when using "-U admin@forestroot".
  • BUG 13896: vfs_ceph: Explicitly enable libcephfs POSIX ACL support.
  • BUG 13940: vfs_ceph: Fix cephwrap_flistxattr() debug message.
  • BUG 13895: ctdb-common: Avoid race between fd and signal events.
  • BUG 13943: ctdb-common: Fix memory leak in run_proc.
  • BUG 13892: lib: Initialize getline() arguments.
  • BUG 13903: winbind: Fix overlapping id ranges.
  • BUG 13902: lib util debug: Increase format buffer to 4KiB.
  • BUG 13927: nsswitch pam_winbind: Fix Asan use after free.
  • BUG 13929: s4 lib socket: Ensure address string owned by parent struct.
  • BUG 13936: s3 rpc_client: Fix Asan stack use after scope.
  • BUG 10097: s3:smbd: Handle IO_REPARSE_TAG_DFS in SMB_FIND_FILE_FULL_DIRECTORY_INFO.
  • BUG 10344: smb2_tcon: Avoid STATUS_PENDING completely on tdis.
  • BUG 12845: smb2_sesssetup: avoid STATUS_PENDING responses for session setup.
  • BUG 13698: smb2_tcon: Avoid STATUS_PENDING completely on tdis.
  • BUG 13796: smb2_sesssetup: avoid STATUS_PENDING responses for session setup.
  • BUG 13843: dbcheck: Fix the err_empty_attribute() check.
  • BUG 13858: vfs_snapper: Drop unneeded fstat handler.
  • BUG 13862: vfs_default: Fix vfswrap_offload_write_send() NT_STATUS_INVALID_VIEW_SIZE check.
  • BUG 13863: smb2_server: Grant all 8192 credits to clients.
  • BUG 13919: smbd: Implement SMB_FILE_NORMALIZED_NAME_INFORMATION handling.
  • BUG 13872: s3/vfs_glusterfs: Dynamically determine NAME_MAX.
  • BUG 13918: s3: modules: ceph: Use current working directory instead of share path.
  • BUG 13831: winbind: Use domain name from lsa query for sid_to_name cache entry.
  • BUG 13865: memcache: Increase size of default memcache to 512k.
  • BUG 13857: docs: Update smbclient manpage for "--max-protocol".
  • BUG 13861: 'net ads join' to child domain fails when using "-U admin@forestroot".
  • BUG 13937: s3:utils: If share is NULL in smbcacls, don't print it.
  • BUG 13939: s3:smbspool: Fix regression printing with Kerberos credentials.
  • BUG 13860: ctdb-scripts: CTDB restarts failed NFS RPC services by hand, which is incompatible with systemd.
  • BUG 13888: ctdb-daemon: Revert "We can not assume that just because we could complete a TCP handshake".
  • BUG 13930: ctdb-daemon: Never use 0 as a client ID.
  • BUG 13943: ctdb-common: Fix memory leak.
  • BUG 13904: s3:debug: Enable logging for early startup failures.

New in Samba 4.10.3 (May 14, 2019)

  • BUG 13685: CVE-2018-16860: Heimdal KDC: Reject PA-S4U2Self with unkeyed checksum.

New in Samba 4.10.2 (Apr 8, 2019)

  • Andrew Bartlett :
  • BUG 13834: CVE-2019-3870: pysmbd: Ensure a zero umask is set for smbd.mkdir().
  • Jeremy Allison :
  • BUG 13851: CVE-2018-14629: rpc: winreg: Remove implementations of SaveKey/RestoreKey.

New in Samba 4.10.1 (Apr 3, 2019)

  • Douglas Bagnall :
  • BUG 13837: py/kcc_utils: py2.6 compatibility.
  • Philipp Gesang :
  • BUG 13869: libcli: permit larger values of DataLength in SMB2_ENCRYPTION_CAPABILITIES of negotiate response.
  • Michael Hanselmann :
  • BUG 13840: regfio: Improve handling of malformed registry hive files.
  • Amitay Isaacs :
  • BUG 13789: ctdb-version: Simplify version string usage.
  • Volker Lendecke :
  • BUG 13859: lib: Make fd_load work for non-regular files.
  • Stefan Metzmacher :
  • BUG 13816: dbcheck in the middle of the tombstone garbage collection causes replication failures, dbcheck: add --selftest-check-expired-tombstones cmdline option.
  • BUG 13818: ndr_spoolss_buf: Fix out of scope use of stack variable in NDR_SPOOLSS_PUSH_ENUM_OUT().
  • Anoop C S :
  • BUG 13854: s4/messaging: Fix undefined reference in linking libMESSAGING-samba4.so.
  • Garming Sam :
  • BUG 13836: acl_read: Fix regression for empty lists.
  • Michael Saxl :
  • BUG 13841: s4:dlz make b9_has_soa check dc=@ node.
  • Andreas Schneider :
  • BUG 13832: s3:client: Fix printing via smbspool backend with kerberos auth.
  • BUG 13847: s4:librpc: Fix installation of Samba.
  • BUG 13848: s3:lib: Fix the debug message for adding cache entries.
  • BUG 13793: s3:utils: Add 'smbstatus -L --resolve-uids' to show username.
  • BUG 13848: s3:lib: Fix the debug message for adding cache entries.
  • BUG 13853: s3:waf: Fix the detection of makdev() macro on Linux.
  • Martin Schwenke :
  • BUG 13789: ctdb-build: Drop creation of .distversion in tarball.
  • BUG 13838: ctdb-packaging: Test package requires tcpdump, ctdb package should not own system library directory.

New in Samba 4.9.5 (Mar 12, 2019)

  • BUG 13714: audit_logging: Remove debug log header and JSON Authentication: prefix.
  • BUG 13760: Fix upgrade from 4.7 (or earlier) to 4.9.
  • BUG 11495: s3: lib: nmbname: Ensure we limit the NetBIOS name correctly. CID: 1433607.
  • BUG 13690: smbd: uid: Don't crash if 'force group' is added to an existing share connection.
  • BUG 13770: s3: VFS: vfs_fruit. Fix the NetAtalk deny mode compatibility code.
  • BUG 13803: s3: SMB1 POSIX mkdir does case insensitive name lookup.
  • BUG 13199: s3:utils/smbget fix recursive download with empty source directories.
  • BUG 13716: samba-tool drs showrepl: Do not crash if no dnsHostName found.
  • BUG 13736: s3:libsmb: cli_smb2_list() can sometimes fail initially on a connection.
  • BUG 13747: join: Throw CommandError instead of Exception for simple errors.
  • BUG 13762: ldb: Avoid inefficient one-level searches.
  • BUG 13736: s3: libsmb: use smb2cli_conn_max_trans_size() in cli_smb2_list().
  • BUG 13776: tldap: Avoid use after free errors.
  • BUG 13802: Fix idmap xid2sid cache churn.
  • BUG 13812: access_check_max_allowed() doesn't process "Owner Rights" ACEs.
  • BUG 13720: s3-smbd: Avoid assuming fsp is always intact after close_file call.
  • BUG 13725: s3-vfs-fruit: Add close call.
  • BUG 13746: s3-smbd: Use fruit:model string for mDNS registration.
  • BUG 13774: s3-vfs: add glusterfs_fuse vfs module.
  • BUG 13766: printing: Check lp_load_printers() prior to pcap cache update.
  • BUG 13807: vfs_ceph: vfs_ceph strict_allocate_ftruncate calls (local FS) ftruncate and fallocate.
  • BUG 13737: lib/audit_logging: Actually create talloc.
  • BUG 13728: netcmd/user: python[3]-gpgme unsupported and replaced by python[3]-gpg.
  • BUG 13738: dns: Changing onelevel search for wildcard to subtree.
  • BUG 13721: samba-tool: Don't print backtrace on simple DNS errors.
  • BUG 13759: sambaundoguididx: Use the right escaped oder unescaped sam ldb files.
  • BUG 13742: ctdb: Print locks latency in machinereadable stats.
  • BUG 13786: messages_dgm: Messaging gets stuck when pids are recycled.
  • BUG 13715: audit_logging: auth_json_audit required auth_json.
  • BUG 13765: man pages: Document prefork process model.
  • BUG 13773: CVE-2019-3824 ldb: Release ldb 1.4.6.
  • BUG 13697: s3:auth: ignore create_builtin_guests() failing without a valid idmap configuration.
  • BUG 13722: s3:auth_winbind: Ignore a missing winbindd as NT4 PDC/BDC without trusts.
  • BUG 13723: s3:auth_winbind: return NT_STATUS_NO_LOGON_SERVERS if winbindd is not available.
  • BUG 13752: s4:server: Add support for 'smbcontrol samba shutdown' and 'smbcontrol debug/debuglevel'.
  • BUG 13616: Python: Ensure ldb.Dn can doesn't rencoded str with py2.
  • BUG 13330: vfs_glusterfs: Adapt to changes in libgfapi signatures.
  • BUG 13774: s3-vfs: Use ENOATTR in errno comparison for getxattr.
  • BUG 13704: notifyd: Fix SIGBUS on sparc.
  • BUG 13787: waf: Check for libnscd.
  • BUG 13770: s3:vfs: Correctly check if OFD locks should be enabled or not.
  • BUG 13717: lib/util: Count a trailing line that doesn't end in a newline.
  • BUG 13800: Recovery lock bug fixes.
  • BUG 13726: s3: net: Do not set NET_FLAGS_ANONYMOUS with -k.
  • BUG 13727: s3:libsmb: Honor disable_netbios option in smbsock_connect_send.
  • BUG 13741: vfs_fileid: Fix get_connectpath_ino.
  • BUG 13744: vfs_fileid: Fix fsname_norootdir algorithm.

New in Samba 4.9.3 (Dec 13, 2018)

  • Security release in order to address:
  • CVE-2018-14629 (Unprivileged adding of CNAME record causing loop in AD Internal DNS server),
  • CVE-2018-16841 (Double-free in Samba AD DC KDC with PKINIT),
  • CVE-2018-16851 (NULL pointer de-reference in Samba AD DC LDAP server),
  • CVE-2018-16852 (NULL pointer de-reference in Samba AD DC DNS servers),
  • CVE-2018-16853 (Samba AD DC S4U2Self crash in experimental MIT Kerberos configuration (unsupported)) and
  • CVE-2018-16857 (Bad password count in AD DC not always effective).

New in Samba 4.9.0 (Sep 14, 2018)

  • BUG 13605: samba_dnsupdate: Honor 'dns zone scavenging' option, only update if needed.
  • BUG 13606: wafsamba: Fix 'make -j'.

New in Samba 4.9.0 RC 5 (Sep 10, 2018)

  • BUG 13565: s3: VFS: vfs_full_audit: Ensure smb_fname_str_do_log() only returns absolute pathnames.
  • BUG 13578: s3: util: Do not take over stderr when there is no log file.
  • BUG 13549: Durable Reconnect fails because cookie.allow_reconnect is not set.
  • BUG 13539: krb5-samba: Interdomain trust uses different salt principal.
  • BUG 13441: vfs_fruit: Don't unlink the main file.
  • BUG 13602: smbd: Fix a memleak in async search ask sharemode.
  • BUG 11517: Fix Samba GPO issue when Trust is enabled.
  • BUG 13539: samba-tool: Add "virtualKerberosSalt" attribute to 'user getpassword/syncpasswords'.
  • BUG 13589: Fix CTDB configuration issues.
  • BUG 13592: ctdbd logs an error until it can successfully connect to eventd.

New in Samba 4.9.0 RC 4 (Aug 29, 2018)

  • BUG 13585: s3: smbd: Ensure get_real_filename() copes with empty pathnames.
  • BUG 13566: samba domain backup online/rename commands force user to specify password on CLI.
  • BUG 13579: wafsamba/samba_abi: Always hide ABI symbols which must be local.
  • BUG 13584: Fix a panic if fruit_access_check detects a locking conflict.
  • BUG 13567: Fix memory and resource leaks.
  • BUG 13580: python: Fix print in dns_invalid.py.
  • BUG 13588: Aliasing issue causes incorrect IPv6 checksum.
  • BUG 13589: Fix CTDB configuration issues.
  • BUG 13568: s3: vfs: time_audit: fix handling of token_blob in smb_time_audit_offload_read_recv().

New in Samba 4.8.5 (Aug 24, 2018)

  • BUG 13474: python: pysmbd: Additional error path leak fix.
  • BUG 13511: libsmbclient: Initialize written value before use.
  • BUG 13519: ldb: Refuse to build Samba against a newer minor version of ldb.
  • BUG 13527: s3: libsmbclient: Fix cli_splice() fallback when reading less than a complete file.
  • BUG 13537: Using "sendfile = yes" with SMB2 can cause CPU spin.
  • BUG 13575: ldb: Release LDB 1.3.6.
  • BUG 13511: libsmbclient: Initialize written in cli_splice_fallback().
  • BUG 13318: Durable Handles reconnect fails in a cluster when the cluster fs uses different device ids.
  • BUG 13351: s3: smbd: Always set vuid in check_user_ok().
  • BUG 13441: vfs_fruit: Delete 0 byte size streams if AAPL is enabled.
  • BUG 13451: Fail renaming file if that file has open streams.
  • BUG 13505: lib: smb_threads: Fix access before init bug.
  • BUG 13535: s3: smbd: Fix path check in smbd_smb2_create_durable_lease_check().
  • BUG 13538: samba-tool trust: Support discovery via netr_GetDcName.
  • BUG 13540: ctdb_mutex_ceph_rados_helper: Set SIGINT signal handler.
  • BUG 13506: vfs_ceph: Don't lie about flock support.
  • BUG 13540: Fix deadlock with ctdb_mutex_ceph_rados_helper.
  • BUG 13493: ctdb: Fix build on FreeBSD and AIX.
  • BUG 13553: libsmb: Fix CID 1438243 (Unchecked return value), CID 1438244 (Unsigned compared against 0), CID 1438245 (Dereference before null check), CID 1438246 (Unchecked return value).
  • BUG 13584: vfs_fruit: Fix a panic if fruit_access_check detects a locking conflict.
  • BUG 13536: The current position in the dns name was not advanced past the '.' character.
  • BUG 13308: samba-tool domain trust: Fix trust compatibility to Windows Server 1709 and FreeIPA.
  • BUG 13559: systemd: Only start smb when network interfaces are up.
  • BUG 13553: Fix quotas with SMB2.
  • BUG 13563: s3/smbd: Ensure quota code is only called when quota support detected.
  • BUG 13204: s3/libsmb: Explicitly set delete_on_close token for rmdir.
  • BUG 13489: krb5_plugin: Install plugins to krb5 modules dir.
  • BUG 13503: s3:winbind: Do not lookup local system accounts in AD.
  • BUG 13499: Don't use CTDB_BROADCAST_VNNMAP.
  • BUG 13500: ctdb-daemon: Only consider client ID for local database attach.
  • BUG 13485: s3:client: Add "--quiet" option to smbclient.
  • BUG 13568: s3: vfs: time_audit: Fix handling of token_blob in smb_time_audit_offload_read_recv().

New in Samba 4.8.4 (Aug 14, 2018)

  • Security release in order to address the following defects:
  • CVE-2018-1139 (Weak authentication protocol allowed.)
  • CVE-2018-1140 (Denial of Service Attack on DNS and LDAP server.)
  • CVE-2018-10858 (Insufficient input validation on client directory listing in libsmbclient.)
  • CVE-2018-10918 (Denial of Service Attack on AD DC DRSUAPI server.)
  • CVE-2018-10919 (Confidential attribute disclosure from the AD LDAP server.)

New in Samba 4.9.0 RC 2 (Aug 1, 2018)

  • BUG 13537: s3: smbd: Using "sendfile = yes" with SMB2 can cause CPU spin.
  • BUG 13535: s3: smbd: Fix path check in smbd_smb2_create_durable_lease_check().
  • BUG 13538: samba-tool trust: Support discovery via netr_GetDcName.
  • BUG 13542: s4-dsdb: Only build dsdb Python modules for AD DC.
  • BUG 13520: Fix portability issues on freebsd.
  • BUG 13536: DNS wildcard search does not handle multiple labels correctly.
  • BUG 13308: samba-tool domain trust: Fix trust compatibility to Windows Server 1709 and FreeIPA.
  • BUG 13520: Fix portability issues on freebsd.
  • BUG 13545: ctdb-protocol: Fix CTDB compilation issues.
  • BUG 13546: ctdb-docs: Replace obsolete reference to CTDB_DEBUG_HUNG_SCRIPT option.
  • BUG 13550: ctdb-doc: Provide an example script for migrating old configuration.
  • BUG 13551: ctdb-event: Implement event tool "script list" command.

New in Samba 4.8.3 (Jul 13, 2018)

  • BUG 13428: s3: smbd: Fix SMB2-FLUSH against directories.
  • BUG 13457: s3: smbd: printing: Re-implement delete-on-close semantics for print files missing since 3.5.x.
  • BUG 13474: python: Fix talloc frame use in make_simple_acl().
  • BUG 11573: heimdal: lib/krb5: Do not fail set_config_files due to parse error.
  • ldb: version 1.3.4
  • BUG 13448: ldb: One-level search was incorrectly falling back to full DB scan.
  • BUG 13452: ldb: Save a copy of the index result before calling the callbacks.
  • BUG 13454: No Backtrace given by Samba's AD DC by default.
  • BUG 13471: ldb_tdb: Use mem_ctx and so avoid leak onto long-term memory on duplicated add.
  • BUG 13432: s3:smbd: Fix interaction between chown and SD flags.
  • BUG 13437: Fix building Samba with gcc 8.1.
  • BUG 13475: Fix several mem leaks in ldb_index ldb_search ldb_tdb.
  • BUG 13331: libgpo: Fix the build --without-ads.
  • BUG 13369: Looking up the user using the UPN results in user name with the REALM instead of the DOMAIN.
  • BUG 13427: Fix broken server side GENSEC_FEATURE_LDAP_STYLE handling (NTLMSSP NTLM2 packet check failed due to invalid signature!).
  • BUG 13446: smbd: Flush dfree memcache on service reload.
  • BUG 13478: krb5_wrap: Fix keep_old_entries logic for older Kerberos libraries.
  • BUG 13369: Looking up the user using the UPN results in user name with the REALM instead of the DOMAIN.
  • BUG 13437: Fix building Samba with gcc 8.1.
  • BUG 13440: s3:utils: Do not segfault on error in DoDNSUpdate().
  • BUG 13480: krb5_plugin: Add winbind localauth plugin for MIT Kerberos.
  • BUG 13459: ldb: Fix memory leak on module context.

New in Samba 4.8.2 (May 20, 2018)

  • Major bug fixes:
  • After update to 4.8.0 DC failed with "Failed to find our own NTDS Settings objectGUID" (bug #13335).
  • Changes since 4.8.1:
  • BUG 13380: s3: smbd: Generic fix for incorrect reporting of stream dos attributes on a directory.
  • BUG 13412: ceph: VFS: Add asynchronous fsync to ceph module, fake using synchronous call.
  • BUG 13419: s3: libsmbclient: Fix hard-coded connection error return of ETIMEDOUT.
  • BUG 13306: ldb: Release ldb 1.3.3: Fix failure to upgrade to the GUID index DB format. Add tests for GUID index behaviour.
  • BUG 13420: s4-lsa: Fix use-after-free in LSA server.
  • BUG 13430: winbindd: Do re-connect if the RPC call fails in the passdb case.
  • BUG 13416: s3:cleanupd: Sends MSG_SMB_UNLOCK twice to interested peers.
  • BUG 13414: s3:cleanupd: Use MSG_SMB_BRL_VALIDATE to signal cleanupd unclean process shutdown.
  • BUG 13425: vfs_ceph: add fake async pwrite/pread send/recv hooks.
  • BUG 13411: ctdb-client: Remove ununsed functions from old client code.
  • BUG 13395: printing: Return the same error code as windows does on upload failures.
  • BUG 13335: After update to 4.8.0 DC failed with "Failed to find our own NTDS Settings objectGUID".
  • BUG 13400: nsswitch: Fix memory leak in winbind_open_pipe_sock() when the privileged pipe is not accessable.
  • BUG 13420: s4:lsa_lookup: remove TALLOC_FREE(state) after all dcesrv_lsa_Lookup{Names,Sids}_base_map() calls.
  • BUG 13424: s3: VFS: Fix memory leak in vfs_ceph.
  • BUG 13407: rpc_server: Fix NetSessEnum with stale sessions.
  • BUG 13417: s3:smbspool: Fix cmdline argument handling.

New in Samba 4.8.1 (Apr 26, 2018)

  • BUG 13244: s3: ldap: Ensure the ADS_STRUCT pointer doesn't get freed on error, we don't own it here.
  • BUG 13270: s3: smbd: Fix possible directory fd leak if the underlying OS doesn't support fdopendir().
  • BUG 13319: Round-tripping ACL get/set through vfs_fruit will increase the number of ACE entries without limit.
  • BUG 13347: s3: smbd: SMB2: Add DBGC_SMB2_CREDITS class to specifically debug credit issues.
  • BUG 13358: s3: smbd: Files or directories can't be opened DELETE_ON_CLOSE without delete access.
  • BUG 13372: s3: smbd: Fix memory leak in vfswrap_getwd().
  • BUG 13375: s3: smbd: Unix extensions attempts to change wrong field in fchown call.
  • BUG 13337: ms_schema/samba-tool visualize: Fix python2.6 incompatibility.
  • BUG 13352: Fix invocation of gnutls_aead_cipher_encrypt().
  • BUG 13328: Windows 10 cannot logon on Samba NT4 domain.
  • BUG 13332: winbindd: Recover loss of netlogon secure channel in case the peer DC is rebooted.
  • BUG 13363: s3:smbd: Don't use the directory cache for SMB2/3.
  • BUG 13356: ctdb-client: Fix bugs in client code.
  • BUG 13359: ctdb-scripts: Drop "net serverid wipe" from 50.samba event script.
  • BUG 13368: s3: lib: messages: Don't use the result of sec_init() before calling sec_init().
  • BUG 13273: libads: Fix the build '--without-ads'.
  • BUG 13332: winbind: Keep "force_reauth" in invalidate_cm_connection, add 'smbcontrol disconnect-dc'.
  • BUG 13343: vfs_virusfilter: Fix CIDs 1428738-1428740.
  • BUG 13367: dsdb: Fix CID 1034966 Uninitialized scalar variable.
  • BUG 13370: rpc_server: Fix core dump in dfsgetinfo.
  • BUG 13382: smbclient: Fix notify.
  • BUG 13215: Fix smbd panic if the client-supplied channel sequence number wraps.
  • BUG 13328: Windows 10 cannot logon on Samba NT4 domain.
  • BUG 13342: lib/util: Remove unused '#include ' from tests/tfork.c.
  • BUG 13343: Fix build errors with cc from developerstudio 12.5 on Solaris.
  • BUG 13344: Fix the picky-developer build on FreeBSD 11.
  • BUG 13345: s3:modules: Fix the build of vfs_aixacl2.c.
  • BUG 13338: s3:smbd: map nterror on smb2_flush errorpath.
  • BUG 13341: lib:replace: Fix linking when libtirpc-devel overwrites system headers.
  • BUG 13312: winbindd: 'wbinfo --name-to-sid' returns misleading result on invalid query.
  • BUG 13376: s3:passdb: Do not return OK if we don't have pinfo set up.
  • BUG 13302: Allow AESNI to be used on all processor supporting AESNI.

New in Samba 4.8.0 (Apr 13, 2018)

  • CHANGES SINCE 4.8.0rc4:
  • BUG 11343: CVE-2018-1050: Codenomicon crashes in spoolss server code.
  • BUG 13272: CVE-2018-1057: Unprivileged user can change any user (and admin) password.
  • BUG 13313: nsswitch: Fix wbinfo -m --verbose trust type "Local".
  • BUG 13272: CVE-2018-1057: Unprivileged user can change any user (and admin) password.
  • BUG 13310: libsmb: Use smb2 tcon if conn_protocol >= SMB2_02.
  • BUG 13315: s3:smbd: Do not crash if we fail to init the session table.

New in Samba 4.8.0 RC 4 (Mar 5, 2018)

  • BUG 13287: Fix numerous trust related bugs in winbindd and s4 LSA RPC server.
  • BUG 13296: vfs_fruit: Use off_t, not size_t for TM size calculations.
  • BUG 13304: mit-kdb: Support MIT Kerberos 1.16 KDB API changes.
  • BUG 13277: build: Fix libceph-common detection.
  • BUG 13297: vfs_glusterfs: Fix the wrong pointer being sent in glfs_fsync_async.
  • BUG 13305: vfs_fileid: Fix the 32-bit build.
  • BUG 13206: Unable to authenticate with an empty string domain ''.
  • BUG 13276: configure aborts without libnettle/gnutls.
  • BUG 13278: winbindd (on an AD DC) should only use netlogon/lsa against trusted domains.
  • BUG 13287: Fix numerous trust related bugs in winbindd and s4 LSA RPC server.
  • BUG 13290: A disconnecting winbind client can cause a problem in the winbind parent child communication.
  • BUG 13291: tevent: version 0.9.36.
  • BUG 13292: winbind requests could get stuck in the queue of a busy child, while later requests could get served fine by other children.
  • BUG 13293: Minimize the lifetime of winbindd_cli_state->{pw,gr}ent_state.
  • BUG 13294: Avoid using fstrcpy(domain->dcname,...) on a char *.
  • BUG 13295: winbind parent should find the dc of a foreign domain via the primary domain.
  • BUG 13299: Disable support for CROSS_ORGANIZATION domains.
  • BUG 13306: ldb: version 1.3.2.
  • BUG 13303: vfs_glusterfs: Add fallocate support for vfs_glusterfs.
  • BUG 13031: subnet: Avoid a segfault when renaming subnet objects.
  • BUG 13269: RODC may skip objects during replication due to naming conflicts.

New in Samba 4.8.0 RC 3 (Feb 13, 2018)

  • BUG 13246: Backport Samba VirusFilter.
  • BUG 13228: dbcheck: Add support for restoring missing forward links.
  • BUG 13221: python: fix the build with python3.
  • BUG 13228: dbcheck: Add support for restoring missing forward links.

New in Samba 4.7.5 (Feb 7, 2018)

  • Major enhancements include:
  • BUG 13228: This is a major issue in Samba's ActiveDirectory domain controller code. It might happen that AD objects have missing or broken linked attributes. This could lead to broken group memberships e.g. All Samba AD domain controllers set up with Samba 4.6 or lower and then upgraded to 4.7 are affected. The corrupt database can be fixed with 'samba-tool dbcheck --cross-ncs --fix'.
  • Changes since 4.7.4:
  • BUG 13193: smbd tries to release not leased oplock during oplock II downgrade.
  • BUG 13181: Fix copying file with empty FinderInfo from Windows client to Samba share with fruit.
  • BUG 10976: build: Deal with recent glibc sunrpc header removal.
  • BUG 13238: Make Samba work with tirpc and libnsl2.
  • BUG 13208: vfs_ceph: Add fs_capabilities hook to avoid local statvfs.
  • BUG 12986: Kerberos: PKINIT: Can't decode algorithm parameters in clientPublicValue.
  • BUG 13188: ctdb-recovery-helper: Deregister message handler in error paths.
  • BUG 13240: samba: Only use async signal-safe functions in signal handler.
  • BUG 12986: Kerberos: PKINIT: Can't decode algorithm parameters in clientPublicValue.
  • BUG 13228: repl_meta_data: Fix linked attribute corruption on databases with unsorted links on expunge. dbcheck: Add functionality to fix the corrupt database.
  • BUG 13189: Fix smbd panic when chdir returns error during exit.
  • BUG 13238: Make Samba work with tirpc and libnsl2.
  • BUG 13176: Fix POSIX ACL support on HPUX and possibly other big-endian OSs.

New in Samba 4.8.0 RC 2 (Jan 26, 2018)

  • BUG 13227: packaging: Fix default systemd-dir path.
  • BUG 13238: build: Deal with recent glibc sunrpc header removal.
  • BUG 13228: repl_meta_data: fix linked attribute corruption on databases with unsorted links on expunge.
  • BUG 13217: s3/smbd: Remove file system sharemode before calling unlink.
  • BUG 13209: Small improvements in winbindd for the resource cleanup in error cases.
  • BUG 13238: Make Samba work with tirpc and libnsl2.

New in Samba 4.8.0 RC 1 (Jan 16, 2018)

  • NEW FEATURES/CHANGES:
  • KDC GPO application:
  • Adds Group Policy support for the Samba kdc. Applies password policies (minimum/maximum password age, minimum password length, and password complexity) and kerberos policies (user/service ticket lifetime and
  • renew lifetime).
  • Adds the samba_gpoupdate script for applying and unapplying policy. Can be applied automatically by setting 'server services = +gpoupdate'.
  • Time Machine Support with vfs_fruit:
  • Samba can be configured as a Time Machine target for Apple Mac devices through the vfs_fruit module. When enabling a share for Time Machine support the relevant Avahi records to support discovery will be published for installations that have been built against the Avahi client library.
  • Shares can be designated as a Time Machine share with the following setting: 'fruit:time machine = yes'
  • Support for lower casing the MDNS Name:
  • Allows the server name that is advertised through MDNS to be set to the hostname rather than the Samba NETBIOS name. This allows an administrator to make Samba registered MDNS records match the case of the hostname rather than being in all capitals.
  • This can be set with the following settings: 'mdns name = mdns'
  • Encrypted secrets:
  • Attributes deemed to be sensitive are now encrypted on disk. The sensitive values are currently: pekList, msDS-ExecuteScriptPassword, currentValue, dBCSPwd, initialAuthIncoming, initialAuthOutgoing, lmPwdHistory, ntPwdHistory, priorValue, supplementalCredentials, trustAuthIncoming, trustAuthOutgoing, unicodePwd, clearTextPassword.
  • This encryption is enabled by default on a new provision or join, it can be disabled at provision or join time with the new option '--plaintext-secrets'.
  • However, an in-place upgrade will not encrypt the database.
  • Once encrypted, it is not possible to do an in-place downgrade (eg to 4.7) of the database. To obtain an unencrypted copy of the database a new DC join should be performed, specifying the '--plaintext-secrets' option.
  • The key file "encrypted_secrets.key" is created in the same directory as the database and should NEVER be disclosed. It is included by the samba_backup script.
  • NT4-style replication based net commands removed:
  • The following commands and sub-commands have been removed from the "net" utility: net rpc samdump, net rpc vampire ldif.
  • Also, replicating from a real NT4 domain with "net rpc vampire" and "net rpc vampire keytab" has been removed.
  • The NT4-based commands were accidentially broken in 2013, and nobody noticed the breakage. So instead of fixing them including tests (which would have meant writing a server for the protocols, which we don't have) we decided to remove them.
  • For the same reason, the "samsync", "samdeltas" and "database_redo" commands have been removed from rpcclient.
  • "net rpc vampire keytab" from Active Directory domains continues to be supported.
  • vfs_aio_linux module removed:
  • The current Linux kernel aio does not match what Samba would do. Shipping code that uses it leads people to false assumptions. Samba implements async I/O based on threads by default, there is no special module required to see benefits of read and write request being sent do the disk in parallel.
  • smbclient reparse point symlink parameters reversed:
  • A bug in smbclient caused the 'symlink' command to reverse the meaning of the new name and link target parameters when creating a reparse point symlink against a Windows server. As this is a little used feature the ordering of these parameters has been
  • reversed to match the parameter ordering of the UNIX extensions 'symlink' command. The usage message for this command has also been improved to remove confusion.
  • Winbind changes:
  • The dependency to global list of trusted domains within the winbindd processes has been reduced a lot.
  • The construction of that global list is not reliable and often incomplete in complex trust setups. In most situations the list is not needed any more for winbindd to operate correctly. E.g. for plain file serving via SMB using a simple idmap setup with autorid, tdb or ad. However some more complex setups require the list, e.g. if you specify idmap backends for specific domains. Some pam_winbind setups may also require the global list.
  • If you have a setup that doesn't require the global list, you should set "winbind scan trusted domains = no".
  • REMOVED FEATURES:
  • The two commands 'net serverid list' and 'net serverid wipe' have been removed, because the file serverid.tdb is not used anymore.
  • 'net serverid list' can be replaced by listing all files in the subdirectory "msg.lock" of Samba's "lock directory". The unique id listed by 'net serverid list' is stored in every process' lockfile in "msg.lock".
  • 'net serverid wipe' is not necessary anymore. It was meant primarily for clustered environments, where the serverid.tdb file was not properly cleaned up after single node crashes. Nowadays smbd and winbind take care of cleaning up the msg.lock and msg.sock directories automatically.

New in Samba 4.7.4 (Dec 23, 2017)

  • smbclient reparse point symlink parameters reversed:
  • A bug in smbclient caused the 'symlink' command to reverse the meaning of the new name and link target parameters when creating a reparse point symlink against a Windows server.
  • This only affects using the smbclient 'symlink' command against a Windows server, not a Samba server using the UNIX extensions (the parameter order is correct in that case) so no existing user scripts that depend on creating symlinks on Samba servers need to change.
  • As this is a little used feature the ordering of these parameters has been reversed to match the parameter ordering of the UNIX extensions 'symlink' command. This means running 'symlink' against both Windows and Samba now uses the same paramter ordering in both cases.
  • The usage message for this command has also been improved to remove confusion.
  • Fixes:
  • BUG 13140: s3: smbclient: Implement 'volume' command over SMB2.
  • BUG 13171: s3: libsmb: Fix valgrind read-after-free error in cli_smb2_close_fnum_recv().
  • BUG 13172: s3: libsmb: Fix reversing of oldname/newname paths when creating a reparse point symlink on Windows from smbclient.
  • BUG 12934: Build man page for vfs_zfsacl.8 with Samba.
  • BUG 13095: repl_meta_data: Allow delete of an object with dangling backlinks.
  • BUG 13129: s4:samba: Fix default to be running samba as a deamon.
  • BUG 13191: Performance regression in DNS server with introduction of DNS wildcard, ldb: Release 1.2.3
  • BUG 6133: vfs_zfsacl: Fix compilation error.
  • BUG 13051: "smb encrypt" setting changes are not fully applied until full smbd restart.
  • BUG 13052: winbindd: Fix idmap_rid dependency on trusted domain list.
  • BUG 13155: vfs_fruit: Proper VFS-stackable conversion of FinderInfo.
  • BUG 13173: winbindd: Dependency on trusted-domain list in winbindd in critical auth codepath.
  • BUG 13120: repl_meta_data: Fix removing of backlink on deleted objects.
  • BUG 13153: ctdb: sock_daemon leaks memory.
  • BUG 13154: TCP tickles not getting synchronised on CTDB restart.
  • BUG 13150: winbindd: winbind parent and child share a ctdb connection.
  • BUG 13170: pthreadpool: Fix deadlock.
  • BUG 13179: pthreadpool: Fix starvation after fork.
  • BUG 13180: messaging: Always register the unique id.
  • 13129: s4/smbd: set the process group.
  • BUG 13095: Fix broken linked attribute handling.
  • BUG 13132: The KDC on an RWDC doesn't send error replies in some situations.
  • BUG 13149: libnet_join: Fix 'net rpc oldjoin'.
  • BUG 13195: g_lock conflict detection broken when processing stale entries.
  • BUG 13197: s3:smb2_server: allow logoff, close, unlock, cancel and echo on expired sessions.
  • BUG 13166: s3:libads: net ads keytab list fails with "Key table name malformed".
  • BUG 13170: Fix crash in pthreadpool thread after failure from pthread_create.
  • BUG 13129: s4:samba: Allow samba daemon to run in foreground.
  • BUG 13174: third_party: Link the aesni-intel library with "-z noexecstack".
  • BUG 13125: vfs_glusterfs: include glusterfs/api/glfs.h without relying on "-I" options.

New in Samba 4.7.3 (Nov 22, 2017)

  • This is a security release in order to address the following defects:
  • CVE-2017-14746 (Use-after-free vulnerability.)
  • CVE-2017-15275 (Server heap memory information leak.)

New in Samba 4.7.1 (Nov 3, 2017)

  • BUG 13091: vfs_glusterfs: Fix exporting subdirs with shadow_copy2.
  • BUG 13027: s3: smbd: Currently if getwd() fails after a chdir(), we panic.
  • BUG 13068: s3: VFS: Ensure default SMB_VFS_GETWD() call can't return a partially completed struct smb_filename.
  • BUG 13069: sys_getwd() can leak memory or possibly return the wrong errno on older systems.
  • BUG 13093: 'smbclient' doesn't correctly canonicalize all local names before use.
  • BUG 13095: Fix broken linked attribute handling.
  • BUG 12994: Missing LDAP query escapes in DNS rpc server.
  • BUG 13087: replace: Link to -lbsd when building replace.c by hand.
  • BUG 6133: Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem.
  • BUG 7909: Map SYNCHRONIZE acl permission statically in zfs_acl vfs module.
  • BUG 7933: Samba fails to honor SEC_STD_WRITE_OWNER bit with the acl_xattr module.
  • BUG 12991: s3/mdssvc: Missing assignment in sl_pack_float.
  • BUG 12995: Wrong Samba access checks when changing DOS attributes.
  • BUG 13062: samba_runcmd_send() leaves zombie processes on timeout
  • BUG 13065: net: groupmap cleanup should not delete BUILTIN mappings.
  • BUG 13076: Enabling vfs_fruit results in loss of Finder tags and other xattrs.
  • BUG 9613: man pages: Properly ident lists.
  • BUG 13081: smb.conf.5: Sort parameters alphabetically.
  • BUG 12993: s3: spoolss: Fix GUID string format on GetPrinter info.
  • BUG 13042: Remote serverid check doesn't check for the unique id.
  • BUG 13056: CTDB starts consuming memory if there are dead nodes in the cluster.
  • BUG 13070: ctdb-common: Ignore event scripts with multiple '.'s.
  • BUG 13046: libgpo doesn't sort the GPOs in the correct order.
  • BUG 13042: Remote serverid check doesn't check for the unique id.
  • BUG 13090: vfs_catia: Fix a potential memleak.
  • BUG 12903: Fix file change notification for renames.
  • BUG 12952: Samba DNS server does not honour wildcards.
  • BUG 13079: Can't change password in samba from a Windows client if Samba runs on IPv6 only interface.
  • BUG 13086: vfs_fruit: Replace closedir() by SMB_VFS_CLOSEDIR.
  • BUG 13047: Apple client can't cope with SMB2 async replies when creating symlinks.
  • BUG 12959: s4:rpc_server:backupkey: Move variable into scope.
  • BUG 13099: s4:scripting: Fix ntstatus_gen.h generation on 32bit.
  • BUG 13100: s3:vfs_glusterfs: Fix a double free in vfs_gluster_getwd().
  • BUG 13101: Fix resouce leaks and pointer issues.
  • BUG 13049: vfs_solarisacl: Fix build for samba 4.7 and up.

New in Samba 4.7.0 (Oct 6, 2017)

  • Bug fixes:
  • CVE-2017-12150: A man in the middle attack may hijack client connections.
  • CVE-2017-12151: A man in the middle attack can read and may alter confidential documents transferred via a client connection, which are reached via DFS redirect when the original connection used SMB3.
  • CVE-2017-12163: Client with write access to a share can cause server memory contents to be written into a file or printer.
  • BUG 13003: s3: vfs: catia: compression get/set must act only on base file, and must cope with fsp==NULL.
  • BUG 13008: lib: crypto: Make smbd use the Intel AES instruction set for signing and encryption.
  • BUG 12946: s4-drsuapi: Avoid segfault when replicating as a non-admin with GUID_DRS_GET_CHANGES.
  • BUG 13015: Allow re-index of newer databases with binary GUID TDB keys (this officially removes support for re-index of the original pack format 0, rather than simply segfaulting).
  • BUG 13017: Add ldb_ldif_message_redacted_string() to allow debug of redacted log messages, avoiding showing secret values.
  • BUG 13023: ldb: version 1.2.2.
  • BUG 13025: schema: Rework dsdb_schema_set_indices_and_attributes() db operations.
  • BUG 13030: Install dcerpc/__init__.py for all Python environments.
  • BUG 13024: s3/smbd: Sticky write time offset miscalculation causes broken timestamps
  • BUG 13037: lib/util: Only close the event_fd in tfork if the caller didn't call tfork_event_fd().
  • BUG 13006: messaging: Avoid a socket leak after fork.
  • BUG 13018: charset: Fix str[n]casecmp_m() by comparing lower case values.
  • BUG 13037: util_runcmd: Free the fde in event handler.
  • BUG 13012: ctdb-daemon: Fix implementation of process_exists control.
  • BUG 13021: GET_DB_SEQNUM control can cause ctdb to deadlock when databases are frozen.
  • BUG 13029: ctdb-daemon: Free up record data if a call request is deferred.
  • BUG 13036: ctdb-client: Initialize ctdb_ltdb_header completely for empty record.
  • BUG 13032: vfs_streams_xattr: Fix segfault when running with log level 10.
  • BUG 12929: smb.conf: Explain that "ntlm auth" is a per-passdb setting.
  • BUG 12953: s4/lib/tls: Use SHA256 to sign the TLS certificates.
  • BUG 12932: Get rid of talloc_autofree_context().
  • BUG 12978: After restarting CTDB, it attaches replicated databases with wrong flags.
  • BUG 12863: s3:smbclient: Don't try any workgroup listing with "client min protocol = SMB2".
  • BUG 12876: s3:libsmb: Don't call cli_NetServerEnum() on SMB2/3 connections in SMBC_opendir_ctx().
  • BUG 12881: s3:libsmb: Let do_connect() debug the negotiation result similar to "session request ok".
  • BUG 12919: s4:http/gensec: add missing tevent_req_done() to gensec_http_ntlm_update_done().
  • BUG 12968: Fix 'smbclient tarmode' with SMB2/3.
  • BUG 12973: 'smbd': Don't use a lot of CPU on startup of a connection.
  • BUG 12983: vfs_default: Fix passing of errno from async calls.
  • BUG 12629: s3:utils: Do not report an invalid range for AD DC role.
  • BUG 12704: s3:libsmb: Let get_ipc_connect() use CLI_FULL_CONNECTION_FORCE_SMB1.
  • BUG 12930: Fix build issues with GCC 7.1.
  • BUG 12950: s3:script: Untaint user supplied data in modprinter.pl.
  • BUG 12956: s3:libads: Fix changing passwords with Kerberos.
  • BUG 12975: Fix changing the password with 'smbpasswd' as a local user on a domain member.
  • BUG 12913: Implement cli_smb2_setatr() by calling cli_smb2_setpathinfo().
  • BUG 11392: s4-cldap/netlogon: Match Windows 2012R2 and return NETLOGON_NT_VERSION_5 when version unspecified.
  • BUG 12855: dsdb: Do not force a re-index of sam.ldb on upgrade to 4.7.
  • BUG 12904: dsdb: Fix dsdb_next_callback to correctly use ldb_module_done() etc.
  • BUG 12939: s4-rpc_server: Improve debug of new endpoints.
  • BUG 12791: Fix kernel oplocks issues with named streams.
  • BUG 12944: vfs_gpfs: Handle EACCES when fetching DOS attributes from xattr.
  • BUG 12842: samdb/cracknames: Support user and service principal as desired format.
  • BUG 12911: vfs_ceph: Fix cephwrap_chdir().
  • BUG 12865: Track machine account ServerAuthenticate3.
  • BUG 12947: python: Fix incorrect kdc.conf parameter name in kerberos.py.
  • BUG 12937: s3/utils: 'smbcacls' failed to detect DIRECTORIES using SMB2 (Windows only).
  • BUG 11392: s4-dsdb/netlogon: Allow missing ntver in cldap ping.
  • BUG 12936: source3/client: Fix typo in help message displayed by default.
  • BUG 12930: Fix building with GCC 7.1.1.
  • BUG 12836: s3: smbd: Fix a read after free if a chained SMB1 call goes async.
  • BUG 12899: s3: libsmb: Reverse sense of 'clear all attributes', ignore attribute change in SMB2 to match SMB1.
  • BUG 12914: s3: smbclient: Add new command deltree.
  • BUG 12885: s3/smbd: Let non_widelink_open() chdir() to directories directly.
  • BUG 12887: Remove SMB_VFS_STRICT_UNLOCK noop from the VFS.
  • BUG 12891: Enable TDB mutexes in dbwrap and ctdb.
  • BUG 12897: vfs_fruit: don't use MS NFS ACEs with Windows clients.
  • BUG 12910: s3/notifyd: Ensure notifyd doesn't return from smbd_notifyd_init.
  • BUG 12905: Build py3 versions of other rpc modules.
  • BUG 12840: vfs_fruit: Add "fruit:model = " parametric option.
  • BUG 12720: idmap_ad: Retry query_user exactly once if we get TLDAP_SERVER_DOWN.
  • BUG 12891: dbwrap_ctdb: Fix calculation of persistent flag.
  • BUG 12927: s3: libsmb: Fix use-after-free when accessing pointer *p.
  • BUG 12925: smbd: Fix a connection run-down race condition.
  • tevent: version 0.9.33: make tevent_req_print() more robust against crashes.
  • ldb: version 1.2.1
  • BUG 12882: Do not install _ldb_text.py if we have system libldb.
  • BUG 12890: s3:smbd: consistently use talloc_tos() memory for rpc_pipe_open_interface().
  • BUG 12900: Fix index out of bound in ldb_msg_find_common_values.
  • BUG 12884: Easily edit a users object in AD, as if using 'ldbedit'.
  • BUG 12906: s3: drop build_env
  • BUG 12882: waf: Do not install _ldb_text.py if we have system libldb.
  • BUG 12898: ctdb-common: Set close-on-exec when creating PID file.
  • BUG 12894: CVE-2017-11103: Orpheus' Lyre KDC-REP service name validation
  • More details regarding this release at:
  • https://www.samba.org/samba/history/samba-4.7.0.html

New in Samba 4.6.8 (Sep 20, 2017)

  • Security release in order to address the following defects:
  • CVE-2017-12150 (SMB1/2/3 connections may not require signing where they should)
  • CVE-2017-12151 (SMB3 connections don't keep encryption across DFS redirects)
  • CVE-2017-12163 (CVE-2017-12163 (Server memory information leak over SMB1)

New in Samba 4.7.0 RC 6 (Sep 18, 2017)

  • BUG 13003: s3: vfs: catia: compression get/set must act only on base file, and must cope with fsp==NULL.
  • BUG 13008: lib: crypto: Make smbd use the Intel AES instruction set for signing and encryption.
  • BUG 12946: s4-drsuapi: Avoid segfault when replicating as a non-admin with GUID_DRS_GET_CHANGES.
  • BUG 13015: Allow re-index of newer databases with binary GUID TDB keys (this officially removes support for re-index of the original pack format 0, rather than simply segfaulting).
  • BUG 13017: Add ldb_ldif_message_redacted_string() to allow debug of redacted log messages, avoiding showing secret values.
  • BUG 13023: ldb: version 1.2.2.
  • BUG 13025: schema: Rework dsdb_schema_set_indices_and_attributes() db operations.
  • BUG 13030: Install dcerpc/__init__.py for all Python environments.
  • BUG 13024: s3/smbd: Sticky write time offset miscalculation causes broken timestamps
  • BUG 13037: lib/util: Only close the event_fd in tfork if the caller didn't call tfork_event_fd().
  • BUG 13006: messaging: Avoid a socket leak after fork.
  • BUG 13018: charset: Fix str[n]casecmp_m() by comparing lower case values.
  • BUG 13037: util_runcmd: Free the fde in event handler.
  • BUG 13012: ctdb-daemon: Fix implementation of process_exists control.
  • BUG 13021: GET_DB_SEQNUM control can cause ctdb to deadlock when databases are frozen.
  • BUG 13029: ctdb-daemon: Free up record data if a call request is deferred.
  • BUG 13036: ctdb-client: Initialize ctdb_ltdb_header completely for empty record.
  • BUG 13032: vfs_streams_xattr: Fix segfault when running with log level 10.

New in Samba 4.7.0 RC 5 (Aug 29, 2017)

  • BUG 12929: smb.conf: Explain that "ntlm auth" is a per-passdb setting.
  • BUG 12953: s4/lib/tls: Use SHA256 to sign the TLS certificates.
  • BUG 12932: Get rid of talloc_autofree_context().
  • BUG 12978: After restarting CTDB, it attaches replicated databases with wrong flags.
  • BUG 12863: s3:smbclient: Don't try any workgroup listing with "client min protocol = SMB2".
  • BUG 12876: s3:libsmb: Don't call cli_NetServerEnum() on SMB2/3 connections in SMBC_opendir_ctx().
  • BUG 12881: s3:libsmb: Let do_connect() debug the negotiation result similar to "session request ok".
  • BUG 12919: s4:http/gensec: add missing tevent_req_done() to gensec_http_ntlm_update_done().
  • BUG 12968: Fix 'smbclient tarmode' with SMB2/3.
  • BUG 12973: 'smbd': Don't use a lot of CPU on startup of a connection.
  • BUG 12983: vfs_default: Fix passing of errno from async calls.
  • BUG 12629: s3:utils: Do not report an invalid range for AD DC role.
  • BUG 12704: s3:libsmb: Let get_ipc_connect() use CLI_FULL_CONNECTION_FORCE_SMB1.
  • BUG 12930: Fix build issues with GCC 7.1.
  • BUG 12950: s3:script: Untaint user supplied data in modprinter.pl.
  • BUG 12956: s3:libads: Fix changing passwords with Kerberos.
  • BUG 12975: Fix changing the password with 'smbpasswd' as a local user on a domain member.

New in Samba 4.6.7 (Aug 9, 2017)

  • BUG 12836: s3: smbd: Fix a read after free if a chained SMB1 call goes async.
  • BUG 11392: s4-cldap/netlogon: Match Windows 2012R2 and return NETLOGON_NT_VERSION_5 when version unspecified.
  • BUG 12885: s3/smbd: Let non_widelink_open() chdir() to directories directly.
  • BUG 12910: s3/notifyd: Ensure notifyd doesn't return from smbd_notifyd_init.
  • BUG 12840: vfs_fruit: Add fruit:model = parametric option.
  • BUG 12911: vfs_ceph: Fix cephwrap_chdir().
  • BUG 12720: idmap_ad: Retry query_user exactly once if we get TLDAP_SERVER_DOWN.
  • BUG 12927: s3: libsmb: Fix use-after-free when accessing pointer *p.
  • BUG 12925: smbd: Fix a connection run-down race condition.
  • BUG 12782: winbindd changes the local password and gets NT_STATUS_WRONG_PASSWORD for the remote change.
  • BUG 12890: s3:smbd: consistently use talloc_tos() memory for rpc_pipe_open_interface().
  • BUG 12937: smbcacls: Don't fail against a directory on Windows using SMB2.
  • BUG 11392: s4-dsdb/netlogon: Allow missing ntver in cldap ping.
  • BUG 12813: dnsserver: Stop dns_name_equal doing OOB read.
  • BUG 12886: s3:client: The smbspool krb5 wrapper needs negotiate for authentication.
  • BUG 12898: ctdb-common: Set close-on-exec when creating PID file.

New in Samba 4.6.6 / 4.7.0 RC 2 (Jul 13, 2017)

  • Fixed bugs:
  • BUG 12894: CVE-2017-11103: Orpheus' Lyre KDC-REP service name validation.
  • CVE-2017-11103 (Heimdal):
  • All versions of Samba from 4.0.0 onwards using embedded Heimdal Kerberos are vulnerable to a man-in-the-middle attack impersonating a trusted server, who may gain elevated access to the domain by returning malicious replication or authorization data.
  • Samba binaries built against MIT Kerberos are not vulnerable.

New in Samba 4.6.5 (Jun 6, 2017)

  • BUG 12804: s3: VFS: Catia: Ensure path name is also converted.
  • BUG 12765: s3:smbcacls add prompt for password.
  • BUG 12562: vfs_acl_xattr|tdb: Ensure create mask is at least 0666 if ignore_system_acls is set.
  • BUG 12702: Wrong sid->uid mapping for SIDs residing in sIDHistory.
  • BUG 12749: vfs_fruit: lp_case_sensitive() does not return a bool.
  • BUG 12766: s3/smbd: Update exclusive oplock optimisation to the lease area.
  • BUG 12798: s3/smbd: Fix exclusive lease optimisation.
  • BUG 12751: Allow passing trusted domain password as plain-text to PASSDB layer.
  • BUG 12764: systemd: Fix detection of libsystemd.
  • BUG 12697: ctdb-readonly: Avoid a tight loop waiting for revoke to complete.
  • BUG 12770: ctdb-logging: Initialize DEBUGLEVEL before changing the value.
  • BUG 12756: notify: Fix ordering of events in notifyd.
  • BUG 12757: idmap_rfc2307: Lookup of more than two SIDs fails.
  • BUG 12767: samba-tool: Let 'samba-tool user syncpasswords' report deletions immediately.
  • BUG 12760: s3: smbd: inotify_map_mask_to_filter incorrectly indexes an array.
  • BUG 12687: vfs_expand_msdfs tries to open the remote address as a file path.
  • BUG 12802: 'ctdb nodestatus' incorrectly displays status for all nodes with wrong exit code.
  • BUG 12814: ctdb-common: Fix crash in logging initialisation.

New in Samba 4.6.4 (May 24, 2017)

  • Fixed bugs:
  • BUG 12780: CVE-2017-7494: Avoid remote code execution from a writable share. All versions of Samba from 3.5.0 onwards are vulnerable to a remote code execution vulnerability, allowing a malicious client to upload a shared library to a writable share, and then cause the server to load and execute it.

New in Samba 4.6.3 (Apr 25, 2017)

  • BUG 12743: s3:vfs:shadow_copy2: vfs_shadow_copy2 fails to list snapshots from shares with GlusterFS backend.
  • BUG 12559: Fix for Solaris C compiler.
  • BUG 12628: s3: locking: Update oplock optimization for the leases era.
  • BUG 12693: Make the Solaris C compiler happy.
  • BUG 12695: s3: libgpo: Allow skipping GPO objects that don't have the expected LDAP attributes.
  • BUG 12747: Fix buffer overflow caused by wrong use of getgroups.
  • BUG 12746: lib: debug: Avoid negative array access.
  • BUG 12748: cleanupdb: Fix a memory read error.
  • BUG 7537: streams_xattr and kernel oplocks results in NT_STATUS_NETWORK_BUSY.
  • BUG 11961: winbindd: idmap_autorid allocates ids for unknown SIDs from other backends.
  • BUG 12565: vfs_fruit: Resource fork open request with flags=O_CREAT|O_RDONLY.
  • BUG 12615: manpages/vfs_fruit: Document global options.
  • BUG 12624: lib/pthreadpool: Fix a memory leak.
  • BUG 12727: Lookup-domain for well-known SIDs on a DC.
  • BUG 12728: winbindd: Fix error handling in rpc_lookup_sids().
  • BUG 12729: winbindd: Trigger possible passdb_dsdb initialisation.
  • BUG 12611: credentials_krb5: use gss_acquire_cred for client-side GSSAPI use case.
  • BUG 12690: lib/crypto: Implement samba.crypto Python module for RC4.
  • BUG 12697: ctdb-readonly: Avoid a tight loop waiting for revoke to complete.
  • BUG 12723: ctdb_event monitor command crashes if event is not specified.
  • BUG 12733: ctdb-docs: Fix documentation of "-n" option to 'ctdb tool'.
  • BUG 12558: smbd: Fix smb1 findfirst with DFS.
  • BUG 12610: smbd: Do an early exit on negprot failure.
  • BUG 12699: winbindd: Fix substitution for 'template homedir'.
  • BUG 12554: s4:kdc: Disable principal based autodetected referral detection.
  • BUG 12613: idmap_autorid: Allocate new domain range if the callers knows the sid is valid.
  • BUG 12724: LINKFLAGS_PYEMBED should not contain -L/some/path.
  • BUG 12725: PAM auth with WBFLAG_PAM_GET_PWD_POLICY returns wrong policy for trusted domain.
  • BUG 12731: rpcclient: Allow -U'OTHERDOMAINuser' again.
  • BUG 12725: winbindd: Fix password policy for pam authentication.
  • BUG 12554: s3:gse: Correctly handle external trusts with MIT.
  • BUG 12611: auth/credentials: Always set the realm if we set the principal from the ccache.
  • BUG 12686: replace: Include sysmacros.h.
  • BUG 12687: s3:vfs_expand_msdfs: Do not open the remote address as a file.
  • BUG 12704: s3:libsmb: Only print error message if kerberos use is forced.
  • BUG 12708: winbindd: Child process crashes when kerberos-authenticating a user with wrong password.
  • BUG 12715: vfs_fruit: Office document opens as read-only on macOS due to CNID semantics.
  • BUG 12737: vfs_acl_xattr: Fix failure to get ACL on Linux if memory is fragmented.

New in Samba 4.6.2 (Mar 31, 2017)

  • This is a bug fix release to address a regression introduced by the security fixes for CVE-2017-2619 (Symlink race allows access outside share definition). Please see https://bugzilla.samba.org/show_bug.cgi?id=12721 for details.
  • Changes since 4.6.1:
  • BUG 12721: Fix regression with "follow symlinks = no".

New in Samba 4.6.1 (Mar 23, 2017)

  • This is a security release in order to address the following defect:
  • CVE-2017-2619 (Symlink race allows access outside share definition)
  • Details:
  • CVE-2017-2619: All versions of Samba prior to 4.6.1, 4.5.7, 4.4.11 are vulnerable to a malicious client using a symlink race to allow access to areas of the server file system not exported under the share definition.
  • Samba uses the realpath() system call to ensure when a client requests access to a pathname that it is under the exported share path on the server file system.
  • Clients that have write access to the exported part of the file system via SMB1 unix extensions or NFS to create symlinks can race the server by renaming a realpath() checked path and then creating a symlink. If the client wins the race it can cause the server to access the new symlink target after the exported share path check has been done. This new symlink target can point to anywhere on the server file system.
  • This is a difficult race to win, but theoretically possible. Note that the proof of concept code supplied wins the race reliably only when the server is slowed down using the strace utility running on the server. Exploitation of this bug has not been seen in the wild.
  • Changes since 4.6.0:
  • BUG 12496: CVE-2017-2619: Symlink race permits opening files outside share directory.
  • BUG 12496: CVE-2017-2619: Symlink race permits opening files outside share directory.

New in Samba 4.6.0 (Mar 9, 2017)

  • BUG 12592: Fix several issues found by covscan.
  • BUG 12608: s3: smbd: Restart reading the incoming SMB2 fd when the send queue is drained.
  • BUG 12427: vfs_fruit doesn't work with fruit:metadata=stream.
  • BUG 12526: vfs_fruit: Only veto AppleDouble files if "fruit:resource" is set to "file".
  • BUG 12604: vfs_fruit: Enabling AAPL extensions must be a global switch.
  • BUG 12612: Re-enable token groups fallback.
  • BUG 9048: Samba4 ldap error codes.
  • BUG 12557: gensec:spnego: Add debug message for the failed principal.
  • BUG 12605: s3:winbindd: Fix endless forest trust scan.
  • BUG 12612: winbindd: Find the domain based on the sid within wb_lookupusergroups_send().
  • BUG 12557: s3:librpc: Handle gss_min in gse_get_client_auth_token() correctly.
  • BUG 12582: idmap_hash: Add a deprecation message, improve the idmap_hash manpage.
  • BUG 12592: Fix several issues found by covscan.
  • BUG 12592: ctdb-logging: CID 1396883 Dereference null return value (NULL_RETURNS).

New in Samba 4.6.0 RC 4 (Mar 1, 2017)

  • BUG 12545: s3: rpc_server/mdssvc: Add attribute "kMDItemContentType".
  • BUG 12572: s3: smbd: Don't loop infinitely on bad-symlink resolution.
  • BUG 12490: vfs_fruit: Correct Netatalk metadata xattr on FreeBSD.
  • BUG 12536: s3/smbd: Check for invalid access_mask smbd_calculate_access_mask().
  • BUG 12591: vfs_streams_xattr: use fsp, not base_fsp.
  • BUG 12580: ctdb-common: Fix use-after-free error in comm_fd_handler().
  • BUG 12595: build: Fix generation of CTDB manpages while creating tarball.
  • BUG 12575: Modify smbspool_krb5_wrapper to just fall through to smbspool if AUTH_INFO_REQUIRED is not set or is not "negotiate".
  • BUG 11830: s3:winbindd: Try a NETLOGON connection with noauth over NCACN_NP against trusted domains.
  • BUG 12262: 'net ads testjoin' and smb access fails after winbindd changed the trust password.
  • BUG 12585: librpc/rpc: fix regression in NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE error mapping.
  • BUG 12586: netlogon_creds_cli_LogonSamLogon doesn't work without netr_LogonSamLogonEx.
  • BUG 12587: winbindd child segfaults on connect to an NT4 domain.
  • BUG 12588: s3:winbindd: Make sure cm_prepare_connection() only returns OK with a valid tree connect.
  • BUG 12598: winbindd (as member) requires kerberos against trusted ad domain, while it shouldn't.
  • BUG 12601: Backport pytalloc_GenericObject_reference() related changes to 4.6.
  • BUG 12600: dbchecker: Stop ignoring linked cases where both objects are alive.
  • BUG 12571: s3-vfs: Only walk the directory once in open_and_sort_dir().
  • BUG 12589: CTDB statd-callout does not cause grace period when CTDB_NFS_CALLOUT="".
  • BUG 12595: ctdb-build: Fix RPM build.

New in Samba 4.5.5 (Jan 30, 2017)

  • BUG 12469: ctdb-locking: Explicitly unlock record/db in lock helper.
  • BUG 12535: vfs_default: Unlock the right file in copy chunk.
  • BUG 12512: ctdb-scripts: Fix remaining uses of "ctdb gratiousarp".
  • BUG 12516: /etc/iproute2/rt_tables gets populated with multiple 'default' entries.

New in Samba 4.6.0 RC 2 (Jan 27, 2017)

  • Bug fixes:
  • BUG 12469: CTDB lock helper getting stuck trying to lock a record.
  • BUG 12500: ctdb-common: Fix a bug in packet reading code for generic socket I/O.
  • BUG 12510: sock_daemon_test 4 crashes with SEGV.
  • BUG 12513: ctdb-daemon: Remove stale eventd socket.
  • BUG 12535: vfs_default: Unlock the right file in copy chunk.
  • BUG 12509: messaging: Fix dead but not cleaned-up-yet destination sockets.
  • BUG 12538: Backport winbind fixes.
  • BUG 12501: s3:winbindd: talloc_steal the extra_data in winbindd_list_users_recv().
  • BUG 12511: ctdb-takeover: Handle case where there are no RELEASE_IPs to send.
  • BUG 12512: ctdb-scripts: Fix remaining uses of "ctdb gratiousarp".
  • BUG 12516: /etc/iproute2/rt_tables gets populated with multiple 'default' entries.

New in Samba 4.5.4 (Jan 18, 2017)

  • BUG 12460: rename_internals_fsp missing ACL permission-check on destination folder.
  • BUG 12466: lib: security: se_access_check() incorrectly processes owner rights (S-1-3-4) DENY ace entries.
  • BUG 12467: s3: ntlm_auth: Don't corrupt the output stream with debug messages.
  • BUG 12479: s3: libsmb: Add cli_smb2_ftruncate(), plumb into cli_ftruncate().
  • BUG 12396: s3/smbd: Remove a misleading error message.
  • BUG 12412: vfs_fruit: Fix "fruit:resource" option spelling, but not behaviour.
  • BUG 12485: ctdbd_conn: Fix a resource leak.
  • BUG 12144: smbd/ioctl: match WS2016 ReFS set compression behaviour.
  • BUG 2210: pam: Map more NT password errors to PAM errors.
  • BUG 12484: winbindd: Use idmap cache in xids2sids.
  • BUG 12509: messaging: Fix dead but not cleaned-up-yet destination sockets.
  • BUG 12480: kinit succeeded but ads_sasl_spnego_gensec_bind(KRB5) failed: An internal error occurred (with MIT krb5).
  • BUG 12183: printing: Fix building with CUPS version older than 1.7.
  • BUG 12441: s3:libads: Include system /etc/krb5.conf if we use MIT Kerberos.
  • BUG 12470: Fix ctdb ip bugs.

New in Samba 4.6.0 RC 1 (Jan 5, 2017)

  • Kerberos client encryption types:
  • Some parts of Samba (most notably winbindd) perform Kerberos client operations based on a Samba-generated krb5.conf file. A new parameter, "kerberos encryption types" allows configuring the encryption types set in this file, thereby allowing the user to enforce strong or legacy encryption in Kerberos exchanges.
  • The default value of "all" is compatible with previous behavior, allowing all encryption algorithms to be negotiated. Setting the parameter to "strong" only allows AES-based algorithms to be negotiated. Setting the parameter to "legacy" allows only RC4-HMAC-MD5 - the legacy algorithm for Active Directory. This can solves some corner cases of mixed environments with Server 2003R2 and newer DCs.
  • Printing:
  • Support for uploading printer drivers from newer Windows clients (Windows 10) has been added until our implementation of [MS-PAR] protocol is ready.
  • Several issues with uploading different printing drivers have been addressed.
  • The OS Version for the printing server has been increased to announce Windows Server 2003 R2 SP2. If a driver needs a newer version then you should check the smb.conf manpage for details.
  • New option for owner inheritance:
  • The "inherit owner" smb.conf parameter instructs smbd to set the owner of files to be the same as the parent directory's owner. Up until now, this parameter could be set to "yes" or "no".
  • A new option, "unix only", enables this feature only for the UNIX owner of the file, not affecting the SID owner in the Windows NT ACL of the file. This can be used to emulate something very similar to folder quotas.
  • Multi-process Netlogon support:
  • The Netlogon server in the Samba AD DC can now run as multiple processes. The Netlogon server is a part of the AD DC that handles NTLM authentication on behalf of domain members, including file servers, NTLM-authenticated web servers and 802.1x gateways. The previous restriction to running as a single process has been removed, and it will now run in the same process model as the rest of the
  • 'samba' binary.
  • As part of this change, the NETLOGON service will now run on a distinct TCP port, rather than being shared with all other RPC services (LSA, SAMR, DRSUAPI etc).
  • New options for controlling TCP ports used for RPC services:
  • The new 'rpc server port' option controls the default port used for RPC services other than Netlogon. The Netlogon server honors instead the 'rpc server port:netlogon' option. The default value for both these options is the first available port including or after 1024.
  • Improve AD performance and replication improvements:
  • Samba's LDB and replication code continues to improve, particularly in respect to the handling of large numbers of linked attributes. We now respect an 'uptodateness vector' which will dramatically reduce the over-replication of links from new DCs. We have also made the parsing of on-disk linked attributes much more efficient.
  • DNS improvements:
  • The samba-tool dns subcommand is now much more robust and can delete records in a number of situations where it was not possible to do so in the past.
  • On the server side, DNS names are now more strictly validated.
  • CTDB changes:
  • "ctdb event" is a new top-level command for interacting with event scripts
  • CTDB's back-end for running event scripts has been replaced by a separate, long-running daemon ctdbd_eventd.
  • Running ctdb interactively will log to stderr
  • CTDB logs now include process id for each process
  • CTDB tags log messages differently.
  • The mapping between symbolic and numeric debug levels has changed
  • Tunable IPAllocAlgorithm replaces LCP2PublicIPs, DeterministicIPs
  • CTDB's configuration tunables should be consistently set across a cluster
  • CTDB ships with recovery lock helper call-outs for etcd and Ceph RADOS

New in Samba 4.5.3 (Dec 19, 2016)

  • Security release in order to address the following defects:
  • CVE-2016-2123 (Samba NDR Parsing ndr_pull_dnsp_name Heap-based Buffer Overflow Remote Code Execution Vulnerability).
  • CVE-2016-2125 (Unconditional privilege delegation to Kerberos servers in trusted realms).
  • CVE-2016-2126 (Flaws in Kerberos PAC validation can trigger privilege elevation).
  • Changes since 4.5.2:
  • BUG 12409: CVE-2016-2123: Fix DNS vuln ZDI-CAN-3995.
  • BUG 12445: CVE-2016-2125: Don't send delegated credentials to all servers.
  • BUG 12446: CVE-2016-2126: auth/kerberos: Only allow known checksum types in check_pac_checksum().

New in Samba 4.5.2 (Dec 7, 2016)

  • Bug fixes:
  • BUG 12404: vfs:glusterfs: Preallocate result for glfs_realpath.
  • BUG 12384: s3: vfs: Remove files/directories after the streams are deleted.
  • BUG 12387: s3: vfs_streams_depot: Use conn->connectpath not conn->cwd.
  • BUG 12436: s3/smbd: Fix the last resort check that sets the file type attribute.
  • BUG 9954: dsdb: Create RID Set as SYSTEM.
  • BUG 12297: dbcheck: Correct message for orphaned backlinks.
  • BUG 12395: build: Fix build with perl on debian sid.
  • BUG 12398: Fix errors in extended operations (like allocating a RID Set).
  • BUG 11197: spoolss: Use correct values for secdesc and devmode pointers.
  • BUG 12394: objectclass_attrs: Only abort on a missing attribute when an attribute is both MUST and replicated.
  • BUG 12366: provision,dlz-bind: Add support for BIND 9.11.x.
  • BUG 12392: ctdb-locking: Reset real-time priority in lock helper.
  • BUG 12407: ctdb-scripts: Fix calculation of CTDB_BASE.
  • BUG 12434: ctdb-recovery: Avoid NULL dereference in failure case.
  • BUG 10297: s3:smbd: Only pass UCF_PREP_CREATEFILE to filename_convert() if we may create a new file.
  • BUG 12371: ctdb-scripts: Fix Debian init in samba eventscript.
  • BUG 9954: samba_tool/fsmo: Allocate RID Set when seizing RID manager.
  • BUG 10882: s4-auth: Don't check for NULL saltPrincipal if it doesn't need it.
  • BUG 12297: upgradeprovision: Remove objectCategory from constructed attrs.
  • BUG 12385: collect_tombstones: Allow links to recycled objects to be deleted.
  • BUG 12183: s3-printing: Correctly encode CUPS printer URIs.
  • BUG 12195: s3-printing: Allow printer names longer than 16 chars.
  • BUG 12269: nss_wins: Fix errno values for HOST_NOT_FOUND.
  • BUG 12405: s3-winbind: Do not return NO_MEMORY if we have an empty user list.
  • BUG 12415: s3:spoolss: Add support for COPY_FROM_DIRECTORY in AddPrinterDriverEx.
  • BUG 12104: ctdb-packaging: Move CTDB tests to /usr/local/share/ctdb/tests/.
  • BUG 12375: smbd: In ntlm auth, do not map empty domain in case of user@realm.
  • BUG 12372: ctdb-conn: Add missing variable initialization.

New in Samba 4.5.1 (Oct 29, 2016)

  • BUG 11259: smbd contacts a domain controller for each session.
  • BUG 12272: Fix messaging subsystem crash.
  • BUG 12283: REGRESSION: smbd segfaults on startup, tevent context being freed.
  • BUG 12381: s3: cldap: cldap_multi_netlogon_send() fails with one bad IPv6 address.
  • BUG 12383: s3: libsmb: Fix cut and paste error using the wrong structure type.
  • BUG 9945: Setting specific logger levels in smb.conf makes 'samba-tool drs showrepl' crash.
  • BUG 12382: Tombstone expunge does not remove old links.
  • BUG 8618: s3-printing: Fix migrate printer code.
  • BUG 12256: s3/smbd: In call_trans2qfilepathinfo call lstat when dealing with posix pathnames.
  • BUG 12261: s3/smbd: Set FILE_ATTRIBUTE_DIRECTORY as necessary.
  • BUG 12285: "DriverVersion" registry backend parsing incorrect in spoolss.
  • BUG 12144: smbd/ioctl: Match WS2016 ReFS get compression behaviour.
  • BUG 12259: ctdb-protocol: Fix marshalling for GET_DB_SEQNUM control request.
  • BUG 12275: ctdb-recovery-helper: Add missing initialisation of ban_credits.
  • BUG 12287: CTDB PID file handling is too weak.
  • BUG 12045: gencache: Bail out of stabilize if we can not get the allrecord lock.
  • BUG 12268: smbd: Reset O_NONBLOCK on open files.
  • BUG 12283: glusterfs: Avoid tevent_internal.h.
  • BUG 12291: source3/lib/msghdr.c, line 208: syntax error before or at: ;.
  • BUG 12374: spoolss: Fix caching of printername->sharename.
  • BUG 12283: REGRESSION: smbd segfaults on startup, tevent context being freed.
  • BUG 12369: Let winbindd discard expired kerberos tickets when built against (internal) heimdal.
  • BUG 12298: s3/winbindd: Fix using default domain with [email protected] format.
  • BUG 12295: winbind: Fix passing idmap failure from wb_sids2xids back to callers.
  • BUG 12269: nss_wins has incorrect function definitions for gethostbyname*.
  • BUG 12276: s3-lib: Fix %G substitution in AD member environment.
  • BUG 12364: s3-utils: Fix loading smb.conf in smbcquotas.
  • BUG 12286: kcc: Don't check schedule if None.
  • BUG 12382: Tombstone expunge does not remove old links.
  • BUG 12377: vfs_glusterfs: Fix a memory leak in connect path.
  • BUG 12254: CTDB IP takeover does not complete if there are no public addresses configured.
  • BUG 12255: ctdb-packaging: Fix systemd network dependency.
  • BUG 12287: CTDB PID file handling is too weak.
  • BUG 12270: smbcquotas: Fix error message listing quotas.
  • BUG 12273: s3-sysquotas: Correctly restore path when finding mount point.
  • BUG 12288: cliquota: Fix param count when setting fs quota.
  • BUG 12289: smbd: Free talloc context if no quota records are available.
  • BUG 12307: ntquotas: Support "freeing" an empty quota list.

New in Samba 4.5.0 (Sep 8, 2016)

  • Bug fixes:
  • BUG 12194: idmap_script: fix missing "IDTOSID" argument in scripts command line.
  • BUG 12178: samba-tool dbcheck fails to fix replPropertyMetaData.
  • BUG 12177: Unexpected synthesized default ACL from vfs_acl_xattr.
  • BUG 12181: vfs_acl_common not setting filesystem permissions anymore.
  • BUG 12184: Loading shared RPC modules failed.
  • BUG 12245: fix _spoolss_GetPrinterDataEx by moving the keyname length check.
  • BUG 11994: smbclient fails to connect to Azure or Apple share spnego fails with no mechListMIC.
  • BUG 12180: CTDB crashes running eventscripts.

New in Samba 4.5.0 RC 3 (Aug 29, 2016)

  • BUG 12155: Some idmap backends don't perform range checks for the result of sids_to_xids.
  • BUG 12115: Endless loop on drsuapi pull replication after schema changes.
  • BUG 12135: net ads gpo refresh can crash with null pointer deref..
  • BUG 12139: Race between break oplock and check for share_mode.
  • BUG 12150: SMB2 snapshot query fails on DFS shares..
  • BUG 12165: smbclient allinfo doesn't correctly return 'previous version' info over SMB1.
  • BUG 12166: smbclient allinfo doesn't correctly return 'previous version' info over SMB2.
  • BUG 12174: error: 'conn' undeclared.
  • BUG 12143: misnamed attribute in samba_kcc causes exception in unusual circumstances.
  • BUG 12187: Backport changes for partial attribute set calculation for 4.5.
  • BUG 12107: backport backupkey tests.
  • BUG 12115: Endless loop on drsuapi pull replication after schema changes.
  • BUG 12128: Correctly resolve replicated schema changes regarding linked attributes.
  • BUG 12137: Fix printf format non-liternal warnings and printf format errors.
  • BUG 12138: Fix uninitialized timeout in ctdb_pmda.
  • BUG 12151: Drop resurrected ctdb commands in new ctdb tool.
  • BUG 12152: Fix ctdb addip; implementation to match ctdb delip.
  • BUG 12163: Fix missing arguments and format elements in format strings.
  • BUG 12168: Fix format-nonliteral warnings.
  • BUG 12108: Backport selftest/autobuild fixes to v4-5-test.
  • BUG 12114: In memory schema updated on non schema master.
  • BUG 12115: Endless loop on drsuapi pull replication after schema changes.
  • BUG 12128: Correctly resolve replicated schema changes regarding linked attributes.
  • BUG 12129: let samba-tool ldapcmp ignore whenChanged.
  • BUG 12187: Backport changes for partial attribute set calculation for 4.5.
  • BUG 12175: smbget always prompts for a username.
  • BUG 12150: SMB2 snapshot query fails on DFS shares..
  • BUG 12157: Coverity and related fixes.
  • BUG 12158: CTDB release IP fixes.
  • BUG 12161: Fix CTDB cumulative takeover timeout.
  • BUG 12170: CTDB test runs can kill each other's ctdbd daemons.
  • BUG 12145: smbd: if inherit owner is enabled, the free disk on a folder should take the owner's quota into account.
  • BUG 12149: smbd: cannot load a Windows device driver from a Samba share via SMB2.
  • BUG 12172: a snapshot folder cannot be accessed via SMB1.

New in Samba 4.5.0 RC 2 (Aug 11, 2016)

  • Chnages:
  • BUG 12005: parse_share_modes() chokes on ctdb tombstone record from ltdb.
  • BUG 12105: smbclient connection to not reachable IP eats 100% CPU.
  • BUG 12133: source3/wscript: Add support for disabling vfs_cephfs.
  • BUG 12121: ctdb-tools: Fix numerous Coverity IDs and other issues.
  • BUG 12122: If a transaction fails, it should be canceled and transaction handle should be freed.
  • BUG 12134: dbwrap: Fix structure initialization.
  • BUG 12023: man: Fix wrong option for parameter "ldap ssl" in smb.conf man page.
  • BUG 12104: ctdb-waf: Move ctdb tests to libexec directory.
  • BUG 12104: ctdb-packaging: Move ctdb tests to libexec directory.
  • BUG 12109: Fixes several CTDB tests.
  • BUG 12110: Fix numerous Coverity IDs.
  • BUG 12113: ctdb-mutex: Avoid corner case where helper is already reparented to init.
  • BUG 12123: Fix ctdb tickle command and update documentation.
  • BUG 12125: CTDB overwrites working configuration due to packaging change.
  • BUG 12126: Fix broken CTDB log messages.

New in Samba 4.5.0 RC 1 (Jul 28, 2016)

  • New features/changes:
  • Support for LDAP_SERVER_NOTIFICATION_OID
  • KCC improvements for sparse network replication
  • VLV - Virtual List View
  • DRS Replication for the AD DC
  • samba-tool drs replicate with new options
  • replPropertyMetaData Changes
  • Linked attributes on deleted objects
  • Improved AD DC performance
  • dbcheck improvements
  • Tombstone Reanimation
  • Multiple DNS Forwarders on the AD DC
  • Password quality plugin support in the AD DC
  • pwdLastSet is now correctly honoured
  • net ads dns unregister
  • Samba-tool improvements
  • SMB 2.1 Leases enabled by default
  • Open File Description (OFD) Locks
  • Password sync as active directory domain controller
  • Python crypto requirements
  • SmartCard/PKINIT improvements
  • CTDB changes
  • New shadow_copy2 options

New in Samba 4.4.5 (Jul 7, 2016)

  • BUG 11860: CVE-2016-2119: Fix client side SMB2 signing downgrade.
  • BUG 11948: Total dcerpc response payload more than 0x400000.

New in Samba 4.4.4 (Jun 7, 2016)

  • BUG 11809: SMB3 multichannel: Add implementation of missing channel sequence number verification.
  • BUG 11919: smbd:close: Only remove kernel share modes if they had been taken at open.
  • BUG 11930: notifyd: Prevent NULL deref segfault in notifyd_peer_destructor.
  • BUG 10618: s3: auth: Move the declaration of struct dom_sid tmp_sid to function level scope.
  • BUG 10796: s3:rpcclient: Make '--pw-nt-hash' option work.
  • BUG 11354: s3:libsmb/clifile: Use correct value for MaxParameterCount for setting EAs.
  • BUG 11438: Fix case sensitivity issues over SMB2 or above.
  • BUG 1703: s3:libnet:libnet_join: Add netbios aliases as SPNs.
  • BUG 11721: vfs_fruit: Add an option that allows disabling POSIX rename behaviour.
  • BUG 11936: s3-smbd: Support systemd 230.
  • BUG 11907: source3: Honor the core soft limit of the OS.
  • BUG 11809: SMB3 multichannel: Add implementation of missing channel sequence number verification.
  • BUG 11864: s3:client:smbspool_krb5_wrapper: Fix the non clearenv build.
  • BUG 11906: s3-kerberos: Avoid entering a password change dialogue also when using MIT.
  • BUG 11890: ldb-samba/ldb_matching_rules: Fix CID 1349424 - Uninitialized pointer read.
  • BUG 11844: dbwrap_ctdb: Fix ENOENT->NT_STATUS_NOT_FOUND.
  • BUG 11276: Correctly set cli->raw_status for libsmbclient in SMB2 code.
  • BUG 11910: s3:smbd: Fix anonymous authentication if signing is mandatory.
  • BUG 11912: libcli/auth: Let msrpc_parse() return talloc'ed empty strings.
  • BUG 11914: Fix NTLM Authentication issue with squid.
  • BUG 11927: s3:rpcclient: make use of SMB_SIGNING_IPC_DEFAULT.
  • BUG 11530: pdb: Fix segfault in pdb_ldap for missing gecos.
  • BUG 11613: Allow 'samba-tool fsmo' to cope with empty or missing fsmo roles.
  • BUG 11907: packaging: Set default limit for core file size in service files.
  • BUG 11922: s3-net: Convert the key_name to UTF8 during migration.
  • BUG 11935: s3-smbspool: Log to stderr.
  • BUG 11900: heimdal: Encode/decode kvno as signed integer.
  • BUG 11931: s3-quotas: Fix sysquotas_4B quota fetching for BSD.
  • BUG 11937: smbd: dfree: Ignore quota if not enforced.
  • BUG 11907: init: Set core file size to unlimited by default.
  • BUG 11934: Fix memory leak in share mode locking.

New in Samba 4.4.3 (May 3, 2016)

  • BUG 11786: idmap_hash: Only allow the hash module for default idmap config.
  • BUG 11822: s3: libsmb: Fix error where short name length was read as 2 bytes, should be 1.
  • BUG 11789: Fix returning of ldb.MessageElement.
  • BUG 11855: cleanupd: Restart as needed.
  • BUG 11786: s3:winbindd:idmap: check loadparm in domain_has_idmap_config() helper as well.
  • BUG 11789: libsmb/pysmb: Add pytalloc-util dependency to fix the build.
  • BUG 11786: winbind: Fix CID 1357100: Unchecked return value.
  • BUG 11816: nwrap: Fix the build on Solaris.
  • BUG 11827: vfs_catia: Fix memleak.
  • BUG 11878: smbd: Avoid large reads beyond EOF.
  • BUG 11789: s3:wscript: pylibsmb depends on pycredentials.
  • BUG 11841: Fix NT_STATUS_ACCESS_DENIED when accessing Windows public share.
  • BUG 11847: Only validate MIC if "map to guest" is not being used.
  • BUG 11849: auth/ntlmssp: Add ntlmssp_{client,server}:force_old_spnego option for testing.
  • BUG 11850: NetAPP SMB servers don't negotiate NTLMSSP_SIGN.
  • BUG 11858: Allow anonymous smb connections.
  • BUG 11870: Fix ads_sasl_spnego_gensec_bind(KRB5).
  • BUG 11872: Fix 'wbinfo -u' and 'net ads search'.
  • BUG 11875: nss_wins: Fix the hostent setup.
  • BUG 11789: build: Mark explicit dependencies on pytalloc-util.
  • BUG 11819: Fix the smb2_setinfo to handle FS info types and FSQUOTA infolevel.
  • BUG 11816: configure: Don't check for inotify on illumos.
  • BUG 11806: vfs_acl_common: Avoid setting POSIX ACLs if "ignore system acls" is set.
  • BUG 11815: smbcquotas: print "NO LIMIT" only if returned quota value is 0.
  • BUG 11852: libads: Record session expiry for spnego sasl binds.
  • BUG 11840: Mask general purpose signals for notifyd.

New in Samba 4.4.2 (Apr 13, 2016)

  • This fixes a regression that prevents things like 'net ads join' from working against a Windows 2003 domain:
  • Bug 11804 - prerequisite backports for the security release on April 12th, 2016.

New in Samba 4.4.1 (Apr 13, 2016)

  • This is a security release in order to address the following CVEs:
  • CVE-2015-5370 (Multiple errors in DCE-RPC code)
  • CVE-2016-2110 (Man in the middle attacks possible with NTLMSSP)
  • CVE-2016-2111 (NETLOGON Spoofing Vulnerability)
  • CVE-2016-2112 (LDAP client and server don't enforce integrity)
  • CVE-2016-2113 (Missing TLS certificate validation)
  • CVE-2016-2114 ("server signing = mandatory" not enforced)
  • CVE-2016-2115 (SMB IPC traffic is not integrity protected)
  • CVE-2016-2118 (SAMR and LSA man in the middle attacks possible)

New in Samba 4.4.0 (Mar 22, 2016)

  • BUG 11796: smbd: Enable multi-channel if 'server multi channel support = yes' in the config.
  • BUG 11802: lib/socket/interfaces: Fix some uninitialied bytes.
  • BUG 11798: build: Fix build when '--without-quota' specified.

New in Samba 4.4.0 RC 5 (Mar 16, 2016)

  • BUG 11780: mkdir can return ACCESS_DENIED incorrectly on create race.
  • BUG 11783: Mismatch between local and remote attribute ids lets replication fail with custom schema.
  • BUG 11789: Talloc: Version 2.1.6.
  • BUG 11774: vfs_glusterfs: Fix use after free in AIO callback.
  • BUG 11755: Fix net join.
  • BUG 11770: Reset TCP Connections during IP failover.
  • BUG 11773: s3:smbd: Add negprot remote arch detection for OSX.
  • BUG 11772: ldb: Version 1.1.26.
  • BUG 11782: "trustdom_list_done: Got invalid trustdom response" message should be avoided.
  • BUG 11769: libnet: Make Kerberos domain join site-aware.
  • BUG 11788: Quota is not supported on Solaris 10.

New in Samba 4.4.0 RC 4 (Mar 8, 2016)

  • BUG 11648: CVE-2015-7560: Getting and setting Windows ACLs on symlinks can change permissions on link target.
  • BUG 11767: s3:utils/smbget: Fix option parsing.
  • BUG 8093: Access based share enum: handle permission set in configuration files.
  • BUG 11702: s3:clispnego: Fix confusing warning in spnego_gen_krb5_wrap().
  • BUG 11742: tevent: version 0.9.28: Fix memory leak when old signal action restored.
  • BUG 11755: s3:libads: setup the msDS-SupportedEncryptionTypes attribute on ldap_add.
  • BUGs 11128, 11686: CVE-2016-0771: Read of uninitialized memory DNS TXT handling.
  • BUGs 11128, 11686: CVE-2016-0771: Read of uninitialized memory DNS TXT handling.
  • BUG 11691: winbindd: Return trust parameters when listing trusts.
  • BUG 11753: smbd: Ignore SVHDX create context.
  • BUG 11763: passdb: Add linefeed to debug message.

New in Samba 4.3.6 (Mar 8, 2016)

  • BUG 11648: CVE-2015-7560: Getting and setting Windows ACLs on symlinks can change permissions on link target.
  • BUGs 11128, 11686: CVE-2016-0771: Read of uninitialized memory DNS TXT handling.
  • BUGs 11128, 11686: CVE-2016-0771: Read of uninitialized memory DNS TXT handling.

New in Samba 4.4.0 RC 3 (Feb 23, 2016)

  • BUG 11723: lib:socket: Fix CID 1350010: Integer OVERFLOW_BEFORE_WIDEN.
  • BUG 11735: lib:socket: Fix CID 1350009: Fix illegal memory accesses (BUFFER_SIZE_WARNING).
  • BUG 10489: s3: smbd: posix_acls: Fix check for setting u:g:o entry on a filesystem with no ACL support.
  • BUG 11700: s3:utils/smbget: Set default blocksize.
  • BUG 11734: lib/socket: Fix improper use of default interface speed.
  • BUG 11714: lib/tsocket: Work around sockets not supporting FIONREAD.
  • BUG 11724: smbd: Fix CID 1351215 Improper use of negative value.
  • BUG 11725: smbd: Fix CID 1351216 Dereference null return value.
  • BUG 11732: param: Fix str_list_v3 to accept ; again.
  • BUG 11738: libcli: Fix debug message, print sid string for new_ace trustee.
  • BUG 11727: s3:smbd:open: Skip redundant call to file_set_dosmode when creating a new file.
  • BUG 11730: docs: Add manpage for cifsdd.
  • BUG 11739: Fix installation path of Samba helper binaries.
  • BUG 11643: docs: Add example for domain logins to smbspool man page.
  • BUG 11719: ctdb-scripts: Drop use of "smbcontrol winbindd ip-dropped ..."
  • BUG 11708: loadparm: Fix memory leak issue.
  • BUG 11740: Fix memory leak in loadparm.

New in Samba 4.3.5 (Feb 23, 2016)

  • BUG 10489: s3: smbd: posix_acls: Fix check for setting u:g:o entry on a filesystem with no ACL support.
  • BUG 11703: s3: smbd: Fix timestamp rounding inside SMB2 create.
  • BUG 6482: s3:utils/smbget: Fix recursive download.
  • BUG 11400: s3:smbd/oplock: Obey kernel oplock setting when releasing oplocks.
  • BUG 11693: s3-parm: Clean up defaults when removing global parameters.
  • BUG 11684: s3:smbd: Ignore initial allocation size for directory creation.
  • BUG 11714: lib/tsocket: Work around sockets not supporting FIONREAD.
  • BUG 11705: ctdb: Remove error messages after kernel security update (CVE-2015-8543).
  • BUG 11732: param: Fix str_list_v3 to accept ";" again.
  • BUG 11699: Use M2Crypto.RC4.RC4 on platforms without Crypto.Cipher.ARC4.
  • BUG 11727: s3:smbd:open: Skip redundant call to file_set_dosmode when creating a new file.
  • BUG 11670: winbindd: Handle expired sessions correctly.
  • BUG 11690: s3-client: Add a KRB5 wrapper for smbspool.
  • BUG 11580: vfs_shadow_copy2: Fix case where snapshots are outside the share.
  • BUG 11662: smbclient: Query disk usage relative to current directory.
  • BUG 11681: smbd: Show correct disk size for different quota and dfree block sizes.
  • BUG 11682: smbcacls: Fix uninitialized variable.
  • BUG 11719: ctdb-scripts: Drop use of "smbcontrol winbindd ip-dropped ...".
  • BUG 11708: loadparm: Fix memory leak issue.

New in Samba 4.4.0 RC 2 (Feb 9, 2016)

  • Bug fixes:
  • BUG 11715: s3:vfs:glusterfs: Fix build after quota changes.
  • BUG 11703: s3: smbd: Fix timestamp rounding inside SMB2 create.
  • BUG 11700: Streamline 'smbget' options with the rest of the Samba utils.
  • BUG 11696: ctdb: Do not provide a useless pkgconfig file for ctdb.
  • BUG 11699: Crypto.Cipher.ARC4 is not available on some platforms, fallback to M2Crypto.RC4.RC4 then.
  • BUG 11705: Sockets with htons(IPPROTO_RAW) and CVE-2015-8543.
  • BUG 11690: docs: Add smbspool_krb5_wrapper manpage.
  • BUG 11681: smbd: Show correct disk size for different quota and dfree block sizes.

New in Samba 4.4.0 RC 1 (Jan 27, 2016)

  • NEW FEATURES/CHANGES:
  • Asynchronous flush requests:
  • Flush requests from SMB2/3 clients are handled asynchronously and do not block the processing of other requests. Note that 'strict sync' has to be set to 'yes' for Samba to honor flush requests from SMB
  • clients.
  • s3: smbd:
  • Remove '--with-aio-support' configure option. We no longer would ever prefer POSIX-RT aio, use pthread_aio instead.
  • samba-tool sites:
  • The 'samba-tool sites' subcommand can now be run against another server by specifying an LDB URL using the '-H' option and not against the local database only (which is still the default when no URL is given).
  • samba-tool domain demote:
  • Add '--remove-other-dead-server' option to 'samba-tool domain demote' subcommand. The new version of this tool now can remove another DC that is itself offline. The '--remove-other-dead-server' removes as many references to the DC as possible.
  • samba-tool drs clone-dc-database:
  • Replicate an initial clone of domain, but do not join it. This is developed for debugging purposes, but not for setting up another DC.
  • pdbedit:
  • Add '--set-nt-hash' option to pdbedit to update user password from nt-hash hexstring. 'pdbedit -vw' shows also password hashes.
  • smbstatus:
  • 'smbstatus' was enhanced to show the state of signing and encryption for sessions and shares.
  • s4-rpc_server:
  • Add a GnuTLS based backupkey implementation.
  • ntlm_auth:
  • Using the '--offline-logon' enables ntlm_auth to use cached passwords when the DC is offline.
  • Allow '--password' force a local password check for ntlm-server-1 mode.
  • vfs_offline:
  • A new VFS module called vfs_offline has been added to mark all files in the share as offline. It can be useful for shares mounted on top of a remote file system (either through a samba VFS module or via FUSE).
  • KCC:
  • The Samba KCC has been improved, but is still disabled by default.
  • DNS:
  • There were several improvements concerning the Samba DNS server.
  • Active Directory:
  • There were some improvements in the Active Directory area.
  • WINS nsswitch module:
  • The WINS nsswitch module has been rewritten to address memory issues and to simplify the code. The module now uses libwbclient to do WINS queries. This means that winbind needs to be running in order to resolve WINS names using the nss_wins module. This does not affect smbd.
  • CTDB changes:
  • CTDB now uses a newly implemented parallel database recovery scheme that avoids deadlocks with smbd. In certain circumstances CTDB and smbd could deadlock. The new recovery implementation avoid this. It also provides improved recovery performance.
  • All files are now installed into and referred to by the paths configured at build time. Therefore, CTDB will now work properly when installed into the default location at /usr/local.
  • Public CTDB header files are no longer installed, since Samba and CTDB are built from within the same source tree.
  • CTDB_DBDIR can now be set to tmpfs[:] This will cause volatile TDBs to be located in a tmpfs. This can help to avoid performance problems associated with contention on the disk where volatile TDBs are usually stored. See ctdbd.conf(5) for more details.
  • Configuration variable CTDB_NATGW_SLAVE_ONLY is no longer used. Instead, nodes should be annotated with the "slave-only" option in the CTDB NAT gateway nodes file. This file must be consistent across nodes in a NAT gateway group. See ctdbd.conf(5) for more details.
  • New event script 05.system allows various system resources to be monitored This can be helpful for explaining poor performance or unexpected behaviour. New configuration variables are CTDB_MONITOR_FILESYSTEM_USAGE, CTDB_MONITOR_MEMORY_USAGE and CTDB_MONITOR_SWAP_USAGE. Default values cause warnings to be logged. See the SYSTEM RESOURCE MONITORING CONFIGURATION in ctdbd.conf(5) for more information. The memory, swap and filesystem usage monitoring previously found in 00.ctdb and 40.fs_use is no longer available. Therefore, configuration variables CTDB_CHECK_FS_USE, CTDB_MONITOR_FREE_MEMORY, CTDB_MONITOR_FREE_MEMORY_WARN and CTDB_CHECK_SWAP_IS_NOT_USED are now ignored.
  • The 62.cnfs eventscript has been removed.
  • The CTDB tunable parameter EventScriptTimeoutCount has been renamed to MonitorTimeoutCount It has only ever been used to limit timed-out monitor events. Configurations containing CTDB_SET_EventScriptTimeoutCount= will cause CTDB to fail at startup. Useful messages will be logged.
  • The commandline option "-n all" to CTDB tool has been removed. The option was not uniformly implemented for all the commands. Instead of command "ctdb ip -n all", use "ctdb ip all".
  • All CTDB current manual pages are now correctly installed

New in Samba 4.3.4 (Jan 12, 2016)

  • BUG 11619: doc: Fix a typo in the smb.conf manpage, explanation of idmap config.
  • BUG 11647: s3:smbd: Fix a corner case of the symlink verification.
  • BUG 11624: s3: libsmb: Correctly initialize the list head when keeping a list of primary followed by DFS connections.
  • BUG 11625: Reduce the memory footprint of empty string options.
  • BUG 11659: Update lastLogon and lastLogonTimestamp.
  • BUG 11065: vfs_fruit: Enable POSIX directory rename semantics.
  • BUG 11466: Copying files with vfs_fruit fails when using vfs_streams_xattr without stream prefix and type suffix.
  • BUG 11645: smbd: Make "hide dot files" option work with "store dos attributes = yes".
  • BUG 11639: lib/async_req: Do not install async_connect_send_test.
  • BUG 11394: Crash: Bad talloc magic value - access after free.
  • BUG 11613: samba-tool: Fix uncaught exception if no fSMORoleOwner attribute is given.
  • BUG 11619: docs: Fix some typos in the idmap backend section.
  • BUG 11641: docs: Fix typos in man vfs_gpfs.
  • BUG 11649: smbd: Do not disable "store dos attributes" on-the-fly.

New in Samba 4.3.3 (Dec 16, 2015)

  • BUG 11552: CVE-2015-8467: samdb: Match MS15-096 behaviour for userAccountControl.
  • BUG 11325: CVE-2015-3223: Fix LDAP \00 search expression attack DoS.
  • BUG 11395: CVE-2015-5252: Fix insufficient symlink verification (file access outside the share).
  • BUG 11529: CVE-2015-5299: s3-shadow-copy2: Fix missing access check on snapdir.
  • BUG 11599: CVE-2015-5330: Fix remote read memory exploit in LDB.
  • BUG 11536: CVE-2015-5296: Add man in the middle protection when forcing smb encryption on the client side.

New in Samba 4.3.2 (Dec 1, 2015)

  • Changes since 4.3.1:
  • BUG 11577: ctdb: Open the RO tracking db with perms 0600 instead of 0000.
  • BUG 11452: s3-smbd: Fix old DOS client doing wildcard delete - gives an attribute type of zero.
  • BUG 11565: auth: gensec: Fix a memory leak.
  • BUG 11566: lib: util: Make non-critical message a warning.
  • BUG 11589: s3: smbd: If EAs are turned off on a share don't allow an SMB2 create containing them.
  • BUG 11615: s3: smbd: have_file_open_below() fails to enumerate open files below an open directory handle.
  • BUG 11562: s4:lib/messaging: Use correct path for names.tdb.
  • BUG 11564: async_req: Fix non-blocking connect().
  • BUG 11243: vfs_gpfs: Re-enable share modes.
  • BUG 11570: smbd: Send SMB2 oplock breaks unencrypted.
  • BUG 11612: winbind: Fix crash on invalid idmap configs.
  • BUG 11584: manpage: Correct small typo error.
  • BUG 11327: dcerpc.idl: Accept invalid dcerpc_bind_nak pdus.
  • BUG 11581: s3:smb2_server: Make the logic of SMB2_CANCEL DLIST_REMOVE() clearer.
  • BUG 9912: Changing log level of two entries to DBG_NOTICE.
  • BUG 11581: s3-smbd: Fix use after issue in smbd_smb2_request_dispatch().
  • BUG 11569: Fix winbindd crashes with samlogon for trusted domain user.
  • BUG 11597: Backport some valgrind fixes from upstream master.
  • BUG 11563: Fix segfault of 'net ads (join|leave) -S INVALID' with nss_wins.
  • BUG 11511: Add libreplace dependency to texpect, fixes a linking error on Solaris.
  • BUG 11512: s4: Fix linking of 'smbtorture' on Solaris.
  • BUG 11608: auth: Consistent handling of well-known alias as primary gid.

New in Samba 4.3.1 (Oct 20, 2015)

  • BUG 10252: s3: smbd: Fix our access-based enumeration on "hide unreadable" to match Windows.
  • BUG 10634: smbd: Fix file name buflen and padding in notify repsonse.
  • BUG 11486: s3: smbd: Fix mkdir race condition.
  • BUG 11522: s3: smbd: Fix opening/creating :stream files on the root share directory.
  • BUG 11535: s3: smbd: Fix NULL pointer bug introduced by previous 'raw'
  • stream fix (bug #11522).
  • BUG 11555: s3: lsa: lookup_name() logic for unqualified (no DOMAIN\ component) names is incorrect.
  • BUG 11535: s3: smbd: Fix a crash in unix_convert().
  • BUG 11543: vfs_fruit: Return value of ad_pack in vfs_fruit.c.
  • BUG 11549: s3:locking: Initialize lease pointer in share_mode_traverse_fn().
  • BUG 11550: s3:smbstatus: Add stream name to share_entry_forall().
  • BUG 11555: s3:lib: Validate domain name in lookup_wellknown_name().
  • BUG 11038: kerberos: Make sure we only use prompter type when available.
  • BUG 11038: winbind: Fix 100% loop.
  • BUG 11053: source3/lib/msghdr.c: Fix compiling error on Solaris.
  • BUG 11316: s3:ctdbd_conn: make sure we destroy tevent_fd before closing the socket.
  • BUG 11515: s4:lib/messaging: Use 'msg.lock' and 'msg.sock' for messaging related subdirs.
  • BUG 11526: lib/param: Fix hiding of FLAG_SYNONYM values.
  • BUG 10365: nss_winbind: Fix hang on Solaris on big groups.
  • BUG 11355: build: Use as-needed linker flag also on OpenBSD.
  • BUG 11509: s3: dfs: Fix a crash when the dfs targets are disabled.
  • BUG 11502: pam_winbind: Fix a segfault if initialization fails.
  • BUG 11528: net: Fix a crash with 'net ads keytab create'.
  • BUG 11547: vfs_commit: set the fd on open before calling SMB_VFS_FSTAT.

New in Samba 4.2.4 (Sep 8, 2015)

  • BUG 11372: smbd: Fix SMB3 functionality of "smb encrypt".
  • BUG 11359: lib: replace: Add strsep function (missing on Solaris).
  • BUG 11278: Fix stream names with colon with "fruit:encoding = native".
  • BUG 11317: vfs:fruit: Implement copyfile style copy_chunk.
  • BUG 11426: s3-net: Use talloc array in share allowedusers.
  • BUG 11467: vfs_fruit: Handling of empty resource fork.
  • BUG 11265: auth/credentials: If credentials have principal set, they are not anonymous anymore.
  • BUG 11373: s3-smbd: Reset protocol in smbXsrv_connection_init_tables failure paths.
  • BUG 11398: ctdb-daemon: Return correct sequence number for CONTROL_GET_DB_SEQNUM.
  • BUG 11431: ctdb-daemon: Improve error handling for running event scripts.
  • BUG 11316: lib: Fix rundown of open_socket_out().
  • BUG 11488: Avoid quoting problems in user's DNs.
  • BUG 11320: s3-passdb: Respect LOOKUP_NAME_GROUP flag in sid lookup.
  • BUG 11427: s3-util: Compare the maximum allowed length of a NetBIOS name.
  • BUG 11316: s3:lib: Fix some corner cases of open_socket_out_cleanup().
  • BUG 11454: Backport dcesrv_netr_DsRGetDCNameEx2 fixes.
  • BUG 11361: s3:libsmb: Fix a bug in conversion of ea list to ea array.
  • BUG 11291: s4:rpc_server/netlogon: Fix for NetApp.
  • BUG 9862: s3-auth: Fix "map to guest = Bad uid".
  • BUG 11403: s3-smbd: Leave sys_disk_free() if dfree command is used.
  • BUG 11404: s3-auth: Fix a possible null pointer dereference.
  • BUG 11399: ctdb-scripts: Support monitoring of interestingly named VLANs on bonds.
  • BUG 11432: ctdb-daemon: Check if updates are in flight when releasing all IPs.
  • BUG 11435: ctdb-build: Fix building of PCP PMDA module.
  • BUG 10823: s3: winbindd: Fix TALLOC_FREE of uninitialized groups variable.

New in Samba 4.3.0 RC 3 (Aug 18, 2015)

  • Bug 11436: samba-tool uncaught exception error
  • Bug 10493: revert LDAP extended rule 1.2.840.113556.1.4.1941
  • LDAP_MATCHING_RULE_IN_CHAIN changes
  • Bug 11278: Stream names with colon don't work with fruit:encoding = native
  • Bug 11426: net share allowedusers crashes
  • Bug 11432: Fix crash in nested ctdb banning
  • Bug 11434: Cannot build ctdbpmda
  • Bug 11431: CTDB's eventscript error handling is broken
  • Bug 11451: Poor SMB3 encryption performance with AES-GCM (part1)
  • Bug 11316: tevent_fd needs to be destroyed before closing the fd
  • Bug 11291: NetApp joined to a Samba/ADDC cannot resolve SIDs
  • Bug 11432: Fix crash in nested ctdb banning

New in Samba 4.3.0 RC 1 (Jul 22, 2015)

  • NEW FEATURES:
  • Logging:
  • The logging code now supports logging to multiple backends. In addition to the previously available syslog and file backends, the backends for logging to the systemd-journal, lttng and gpfs have been added. Please consult the section for the 'logging' parameter in the smb.conf manpage for details.
  • Spotlight:
  • Support for Apple's Spotlight has been added by integrating with GnomeTracker.
  • For detailed instructions how to build and setup Samba for Spotlight, please see the Samba wiki:
  • New FileChangeNotify subsystem:
  • Samba now contains a new subsystem to do FileChangeNotify. The previous system used a central database, notify_index.tdb, to store all notification requests. In particular in a cluster this turned out to be a major bottleneck, because some hot records need to be bounced back and forth between nodes on every change event like a new created file.
  • The new FileChangeNotify subsystem works with a central daemon per node. Every FileChangeNotify request and every event are handled by an asynchronous message from smbd to the notify daemon. The notify daemon maintains a database of all FileChangeNotify requests in memory and will distribute the notify events accordingly. This database is asynchronously distributed in the cluster by the notify daemons.
  • The notify daemon is supposed to scale a lot better than the previous implementation. The functional advantage is cross-node kernel change notify: Files created via NFS will be seen by SMB clients on other nodes per FileChangeNotify, despite the fact that popular cluster file systems do not offer cross-node inotify.
  • Two changes to the configuration were required for this new subsystem: The parameters "change notify" and "kernel change notify" are not per-share anymore but must be set globally. So it is no longer possible to enable or disable notify per share, the notify daemon has no notion of a share, it only works on absolute paths.
  • New SMB profiling code:
  • The code for SMB (SMB1, SMB2 and SMB3) profiling uses a tdb instead of sysv IPC shared memory. This avoids performance problems and NUMA effects. The profile stats are a bit more detailed than before.
  • Improved DCERPC man in the middle detection for kerberos:
  • The gssapi based kerberos backends for gensec have support for DCERPC header signing when using DCERPC_AUTH_LEVEL_PRIVACY.
  • SMB signing required in winbindd by default:
  • The effective value for "client signing" is required by default for winbindd, if the primary domain uses active directory.
  • Experimental NTDB was removed:
  • The experimental NTDB library introduced in Samba 4.0 has been removed again.
  • Improved support for trusted domains (as AD DC):
  • The support for trusted domains/forests has improved a lot.
  • samba-tool got "domain trust" subcommands to manage trusts:
  • create - Create a domain or forest trust.
  • delete - Delete a domain trust.
  • list - List domain trusts.
  • namespaces - Manage forest trust namespaces.
  • show - Show trusted domain details.
  • validate - Validate a domain trust.
  • External trusts between individual domains work in both ways (inbound and outbound). The same applies to root domains of a forest trust. The transitive routing into the other forest is fully functional for kerberos, but not yet supported for NTLMSSP.
  • While a lot of things are working fine, there are currently a few limitations:
  • Both sides of the trust need to fully trust each other!
  • No SID filtering rules are applied at all!
  • This means DCs of domain A can grant domain admin rights in domain B.
  • It's not possible to add users/groups of a trusted domain into domain groups.
  • SMB 3.1.1 supported:
  • Both client and server have support for SMB 3.1.1 now.
  • This is the dialect introduced with Windows 10, it improves the secure negotiation of SMB dialects and features.
  • New smbclient subcommands:
  • Query a directory for change notifications: notify
  • Server side copy: scopy
  • New rpcclient subcommands:
  • netshareenumall - Enumerate all shares
  • netsharegetinfo - Get Share Info
  • netsharesetinfo - Set Share Info
  • netsharesetdfsflags - Set DFS flags
  • netfileenum - Enumerate open files
  • netnamevalidate - Validate sharename
  • netfilegetsec - Get File security
  • netsessdel - Delete Session
  • netsessenum - Enumerate Sessions
  • netdiskenum - Enumerate Disks
  • netconnenum - Enumerate Connections
  • netshareadd - Add share
  • netsharedel - Delete share
  • New modules:
  • idmap_script - see 'man 8 idmap_script'
  • vfs_unityed_media - see 'man 8 vfs_unityed_media'
  • vfs_shell_snap - see 'man 8 vfs_shell_snap'
  • Changes:
  • smb.conf changes:
  • logging
  • msdfs shuffle referrals
  • smbd profiling level
  • spotlight
  • tls priority
  • use ntdb
  • change notify
  • kernel change notify
  • client max protocol
  • server max protocol
  • Removed modules:
  • vfs_notify_fam - see section 'New FileChangeNotify subsystem'.

New in Samba 4.2.3 (Jul 15, 2015)

  • BUG 11366: docs: Overhaul the description of "smb encrypt" to include SMB3 encryption.
  • BUG 11068: s3: lib: util: Ensure we read a hex number as %x, not %u.
  • BUG 11295: Excessive cli_resolve_path() usage can slow down transmission.
  • BUG 11328: winbindd: winbindd_raw_kerberos_login - ensure logon_info exists in PAC.
  • BUG 11339: s3: smbd: Use separate flag to track become_root()/unbecome_root() state.
  • BUG 11342: s3: smbd: Codenomicon crash in do_smb_load_module().
  • BUG 11170: s3:param/loadparm: Fix 'testparm --show-all-parameters'.
  • BUG 10991: winbindd: Sync secrets.ldb into secrets.tdb on startup.
  • BUG 11277: s3:smb2: Add padding to last command in compound requests.
  • BUG 11305: vfs_fruit: Add option "veto_appledouble".
  • BUG 11323: smbd/trans2: Add a useful diagnostic for files with bad encoding.
  • BUG 11363: vfs_fruit: Check offset and length for AFP_AfpInfo read requests.
  • BUG 11371: ncacn_http: Fix GNUism.
  • BUG 11245: s3-rpc_server: Fix rpc_create_tcpip_sockets() processing of interfaces.
  • BUG 11331: tdb: version 1.3.5: ABI change: tdb_chainlock_read_nonblock() has been added.
  • BUG 8780: s4:lib/tls: Fix build with gnutls 3.4.
  • BUG 11281: Add IPv6 support to ADS client side LDAP connects.
  • BUG 11282: Add IPv6 support for determining FQDN during ADS join.
  • BUG 11283: s3: IPv6 enabled DNS connections for ADS client.
  • BUG 10924: s4.2/fsmo.py: Fixed fsmo transfer exception.
  • BUG 11293: Fix invalid write in ctdb_lock_context_destructor.
  • BUG 11218: smbd: Fix a use-after-free.
  • BUG 11312: tstream: Make socketpair nonblocking.
  • BUG 11330: tevent: Fix CID 1035381 Unchecked return value.
  • BUG 11331: tdb: Fix CID 1034842 and 1034841 Resource leaks.
  • BUG 11061: Logon via MS Remote Desktop hangs.
  • BUG 11141: tevent: Add a note to tevent_add_fd().
  • BUG 11293: Fix invalid write in ctdb_lock_context_destructor.
  • BUG 11316: tevent_fd needs to be destroyed before closing the fd.
  • BUG 11319: Build fails on Solaris 11 with "‘PTHREAD_MUTEX_ROBUST’ undeclared".
  • BUG 11326: Robust mutex support broken in 1.3.5.
  • BUG 11329: s3:smb2_setinfo: Fix memory leak in the defer_rename case.
  • BUG 11330: Backport tevent-0.9.25.
  • BUG 11331: Backport tdb-1.3.6.
  • BUG 11367: s3:auth_domain: Fix talloc problem in connect_to_domain_password_server().
  • BUG 11315: Group creation: Add msSFU30Name only when --nis-domain was given.
  • BUG 11356: pidl: Make the compilation of PIDL producing the same results if the content hasn't change.
  • BUG 11328: Kerberos auth info3 should contain resource group ids available from pac_logon.
  • BUG 11330: lib: tevent: Fix compile error in Solaris ports backend.
  • BUG 11313: idmap_rfc2307: Fix wbinfo '--gid-to-sid' query.
  • BUG 11324: Change sharesec output back to previous format.
  • BUG 11358: winbindd: Disconnect child process if request is cancelled at main process.
  • BUG 11330: Backport tevent-0.9.25.
  • BUG 11217: s3-unix_msg: Remove socket file after closing socket fd.

New in Samba 4.2.2 (Jun 25, 2015)

  • BUG 11182: s3:smbXsrv: refactor duplicate code into smbXsrv_session_clear_and_logoff().
  • BUG 11260: gencache: don't fail gencache_stabilize if there were records to delete.
  • BUG 11186: s3: libsmbclient: After getting attribute server, ensure main srv pointer is still valid.
  • BUG 11236: s4: rpc: Refactor dcesrv_alter() function into setup and send steps.
  • BUG 11240: s3: smbd: Incorrect file size returned in the response of "FILE_SUPERSEDE Create".
  • BUG 11249: Mangled names do not work with acl_xattr.
  • BUG 11254: nmbd rewrites browse.dat when not required.
  • BUG 11213: vfs_fruit: add option "nfs_aces" that controls the NFS ACEs stuff.
  • BUG 11224: s3:smbd: Add missing tevent_req_nterror.
  • BUG 11243: vfs: kernel_flock and named streams.
  • BUG 11244: vfs_gpfs: Error code path doesn't call END_PROFILE.
  • BUG 11284: s4: libcli/finddcs_cldap: continue processing CLDAP until all addresses are used.
  • BUG 11201: ctdb: check for talloc_asprintf() failure.:w
  • BUG 11210: spoolss: purge the printer name cache on name change.
  • BUG 11204: CTDB statd-callout does not scale.
  • BUG 11221: vfs_fruit: also map characters below 0x20.
  • BUG 11201: ctdb: Coverity fix for CID 1291643.
  • BUG 11225: Multiplexed RPC connections are not handled by DCERPC server.
  • BUG 11226: Fix terminate connection behavior for asynchronous endpoint with PUSH notification flavors.
  • BUG 11007: ctdb-scripts: Fix bashism in ctdbd_wrapper script.
  • BUG 11201: ctdb: Fix CIDs 1125615, 1125634, 1125613, 1288201 and 1125553.
  • BUG 11257: SMB2 should cancel pending NOTIFY calls with DELETE_PENDING if the directory is deleted.
  • BUG 11141: s3:winbindd: make sure we remove pending io requests before closing client sockets.
  • BUG 11182: Fix panic triggered by smbd_smb2_request_notify_done() -> smbXsrv_session_find_channel() in smbd.
  • BUG 11237: 'sharesec' output no longer matches input format.
  • BUG 11200: waf: Fix systemd detection.
  • BUG 11202: CTDB: Fix portability issues.
  • BUG 11203: CTDB: Fix some IPv6-related issues.
  • BUG 11204: CTDB statd-callout does not scale.
  • BUG 11234: 'net ads dns gethostbyname' crashes with an error in TALLOC_FREE if you enter invalid values.
  • BUG 11267: libads: record service ticket endtime for sealed ldap connections.
  • BUG 11033: lib/util: Include DEBUG macro in internal header files before samba_util.h.

New in Samba 4.2.1 (Apr 16, 2015)

  • BUG 8905: s3:winbind:grent: Don't stop group enumeration when a group has no gid.
  • BUG 10476: build:wafadmin: Fix use of spaces instead of tabs.
  • BUG 11143: s3-winbind: Fix cached user group lookup of trusted domains.
  • BUG 10016: s3: lib: ntlmssp: If NTLMSSP_NEGOTIATE_TARGET_INFO isn't set, cope with servers that don't send the 2 unused fields.
  • BUG 10888: s3: client: "client use spnego principal = yes" code checks wrong name.
  • BUG 11079: s3: lib: libsmbclient: If reusing a server struct, check every cli->timout miliseconds if it's still valid before use.
  • BUG 11173: s3: libcli: smb1: Ensure we correctly finish a tevent req if the writev fails in the SMB1 case.
  • BUG 11175: Fix lots of winbindd zombie processes on Solaris platform.
  • BUG 11177: s3: libsmbclient: Add missing talloc stackframe.
  • BUG 11135: backupkey: Explicitly link to gnutls and gcrypt.
  • BUG 11174: backupkey: Use ndr_pull_struct_blob_all().
  • BUG 11125: vfs_fruit: Enhance handling of malformed AppleDouble files.
  • BUG 9791: Initialize dwFlags field of DNS_RPC_NODE structure.
  • BUG 11169: docs/idmap_rid: Remove deprecated base_rid from example.
  • BUG 10476: waf: Fix the build on openbsd.
  • BUG 11144: talloc: Version 2.1.2.
  • BUG 11164: s4:auth/gensec_gssapi: Let gensec_gssapi_update() return NT_STATUS_LOGON_FAILURE for unknown errors.
  • BUG 11149: Update libwbclient version to 0.12.
  • BUG 11018: spoolss: Retrieve published printer GUID if not in registry.
  • BUG 11135: replace: Remove superfluous check for gcrypt header.
  • BUG 11180: s4-process_model: Do not close random fds while forking.
  • BUG 11185: s3-passdb: Fix 'force user' with winbind default domain.
  • BUG 11153: brlock: Use 0 instead of empty initializer list.
  • BUG 11092: lib: texpect: Fix the build on Solaris.
  • BUG 11140: libcli/auth: Match Declaration of netlogon_creds_cli_context_tmp with implementation.
  • BUG 11137: Backport subunit changes.

New in Samba 4.2.0 (Mar 17, 2015)

  • BUG 11117: doc:man:vfs_glusterfs: improve the configuration section.
  • BUG 11118: tevent: Ignore unexpected signal events in the same way the epoll backend does.
  • BUG 11100: debug: Set close-on-exec for the main log file FD.
  • BUG 11097: Fix Win8.1 Credentials Manager issue after KB2992611 on Samba domain.
  • BUG 1115: smbd: Stop using vfs_Chdir after SMB_VFS_DISCONNECT.
  • BUG 11088: vfs: Add a brief vfs_ceph manpage.
  • BUG 11118: tevent: version 0.9.24.
  • BUG 11124: ctdb-io: Do not use sys_write to write to client sockets.
  • BUG 11119: snprintf: Try to support %j.
  • BUG 11097: Fix Win8.1 Credentials Manager issue after KB2992611 on Samba domain.
  • BUG 11127: doc-xml: Add 'sharesec' reference to 'access based share enum'.

New in Samba 4.2.0 RC 5 (Feb 25, 2015)

  • BUG 11032: Enable mutexes in gencache_notrans.tdb.
  • BUG 11058: cli_connect_nb_send: Don't segfault on host == NULL.
  • BUG 10849: s3: lib, s3: modules: Fix compilation on Solaris.
  • BUG 11044: Fix authentication using Kerberos (not AD).
  • BUG 11077: CVE-2015-0240: s3: netlogon: Ensure we don't call talloc_free on an uninitialized pointer.
  • BUG 11094: s3: smbclient: Allinfo leaves the file handle open.
  • BUG 11102: s3: smbd: leases - losen paranoia check. Stat opens can grant leases.
  • BUG 11104: s3: smbd: SMB2 close. If a file has delete on close, store the return info before deleting.
  • BUG 11069: vfs_glusterfs: Add comments to the pipe(2) code.
  • BUG 11070: s3-vfs: Fix developer build of vfs_ceph module.
  • BUG 10808: printing/cups: Pack requested-attributes with IPP_TAG_KEYWORD.
  • BUG 11055: vfs_snapper: Correctly handles multi-byte DBus strings.
  • BUG 11059: libsmb: Provide authinfo domain for encrypted session referrals.
  • BUG 11069: vfs_glusterfs: Implement AIO support.
  • BUG 11032: Enable mutexes in gencache_notrans.tdb.
  • BUG 9299: nsswitch: Fix soname of linux nss_*.so.2 modules.
  • BUG 9702: s3:smb2_server: protect against integer wrap with "smb2 max credits = 65535".
  • BUG 9810: Make validate_ldb of String(Generalized-Time) accept millisecond format ".000Z".
  • BUG 10112: Use -R linker flag on Solaris, not -rpath.
  • BUG 10909: samba-tool: Create NIS enabled users and unixHomeDirectory attribute.
  • BUG 11022: Make Sharepoint search show user documents.
  • BUG 11032: Enable mutexes in gencache_notrans.tdb.
  • BUG 11058: utils: Fix 'net time' segfault.
  • BUG 11066: s3-pam_smbpass: Fix memory leak in pam_sm_authenticate().
  • BUG 11077: CVE-2015-0240: s3-netlogon: Make sure we do not deference a NULL pointer.
  • BUG 11069: vfs/glusterfs: Change xattr key to match gluster key.

New in Samba 4.1.17 (Feb 24, 2015)

  • This is a security release in order to address CVE-2015-0240 (Unexpected code execution in smbd):
  • All versions of Samba from 3.5.0 to 4.2.0rc4 are vulnerable to an unexpected code execution vulnerability in the smbd file server daemon.
  • A malicious client could send packets that may set up the stack in such a way that the freeing of memory in a subsequent anonymous netlogon packet could allow execution of arbitrary code. This code would execute with root privileges.
  • Changes:
  • BUG 11077: CVE-2015-0240: talloc free on uninitialized stack pointer in netlogon server could lead to security vulnerability.
  • BUG 11077: CVE-2015-0240: s3-netlogon: Make sure we do not deference a NULL pointer.

New in Samba 4.2.0 RC 4 (Jan 16, 2015)

  • BUG 10993: CVE-2014-8143: dsdb-samldb: Check for extended access rights before we allow changes to userAccountControl.
  • BUG 10240: vfs: Add glusterfs manpage.
  • BUG 10984: Fix spoolss IDL response marshalling when returning error without clearing info.
  • BUG 11000: ctdb-daemon: Use correct tdb flags when enabling robust mutex support.
  • BUG 11032: tdb_wrap: Make mutexes easier to use.
  • BUG 11039: vfs_fruit: Fix base_fsp name conversion.
  • BUG 11040: vfs_fruit: mmap under FreeBSD needs PROT_READ.
  • BUG 11051: net: Fix sam addgroupmem.
  • BUG 10940: s3:passdb: fix logic in pdb_set_pw_history().
  • BUG 11004: tdb: version 1.3.4.
  • BUG 11034: winbind: Retry after SESSION_EXPIRED error in ping-dc.
  • BUG 11008: s3-util: Fix authentication with long hostnames.
  • BUG 11026: nss_wrapper: check for nss.h.
  • BUG 11033: lib/util: Avoid collision which alread defined consumer DEBUG macro.
  • BUG 11037: s3-libads: Fix a possible segfault in kerberos_fetch_pac().

New in Samba 4.1.16 (Jan 16, 2015)

  • This is a security release in order to address CVE-2014-8143 (Elevation of privilege to Active Directory Domain Controller).
  • CVE-2014-8143:
  • Samba's AD DC allows the administrator to delegate creation of user or computer accounts to specific users or groups.
  • However, all released versions of Samba's AD DC did not implement the additional required check on the UF_SERVER_TRUST_ACCOUNT bit in the userAccountControl attributes.

New in Samba 4.1.15 (Jan 13, 2015)

  • Changes since 4.1.14:
  • BUG 10966: libcli: SMB2: Pure SMB2-only negprot fix to make us behave as a Windows client does.
  • BUG 10982 s3: smbd/modules: Fix *allocate* calls to follow POSIX error return convention.
  • BUG 9629: Fix profiles tool.
  • BUG 11006: idl:drsuapi: Manage all possible lengths of drsuapi_DsBindInfo.
  • BUG 9056: pam_winbind: Fix warn_pwd_expire implementation.
  • BUG 10952: s4-rpc: dnsserver: Fix enumeration of IPv4 and IPv6 addresses.
  • BUG 9299: nsswitch: Fix soname of linux nss_*.so.2 modules.
  • BUG 10949: s4:dsdb/rootdse: Expand extended dn values with the AS_SYSTEM control.
  • BUG 10958: s3:smb2_server: Allow reauthentication without signing.
  • BUG 11006: Fix 'domain join' by adding 'drsuapi.DsBindInfoFallBack' attribute 'supported_extensions'.
  • BUG 11006: Fix 'domain join' by adding 'drsuapi.DsBindInfoFallBack' attribute 'supported_extensions'.
  • BUG 11034: winbind: Retry LogonControl RPC in ping-dc after session expiration.
  • BUG 10279: s3-lib: Do not require a password with --use-ccache.
  • BUG 10960: s3-smbclient: Return success if we listed the shares.
  • BUG 10961: s3-smbstatus: Fix exit code of profile output.

New in Samba 4.2.0 RC 1 (Oct 3, 2014)

  • NEW FEATURES:
  • Transparent File Compression:
  • Samba 4.2.0 adds support for the manipulation of file and folder compression flags on the Btrfs filesystem.
  • With the Btrfs Samba VFS module enabled, SMB2+ compression flags can be set remotely from the Windows Explorer File->Properties->Advanced dialog. Files flagged for compression are transparently compressed and uncompressed when accessed or modified.
  • Previous File Versions with Snapper:
  • The newly added Snapper VFS module exposes snapshots managed by Snapper for use by Samba. This provides the ability for remote clients to access shadow-copies via Windows Explorer using the "previous versions" dialog.
  • Winbindd/Netlogon improvements:
  • The whole concept of maintaining the netlogon secure channel to (other) domain controllers was rewritten in order to maintain global state in a netlogon_creds_cli.tdb.
  • Winbindd use on the Samba AD DC:
  • Winbindd is now used on the Samba AD DC by default, replacing the partial rewrite used for winbind operations in Samba 4.0 and 4.1.
  • This allows more code to be shared, more options to be honoured, and paves the way for support for trusted domains in the AD DC.
  • If required the old internal winbind can be activated by setting 'server services = +winbind -winbindd'. Upgrading users with a server services parameter specified should ensure they change 'winbind' to 'winbindd' to obtain the new functionality.
  • The 'samba' binary still manages the starting of this service, there is no need to start the winbindd binary manually.
  • Winbind now requires secured connections:
  • To improve protection against rouge domain controllers we now require that when we connect to an AD DC in our forest, that the connection be signed using SMB Signing. Set 'client signing = off' in the smb.conf to disable.
  • Also and DCE/RPC pipes must be sealed, set 'require strong key = false' and 'winbind sealed pipes = false' to disable.
  • Finally, the default for 'client ldap sasl wrapping' has been set to 'sign', to ensure the integrity of LDAP connections. Set 'client ldap sasl wrapping = plain' to disable.
  • Larger IO sizes for SMB2/3 by default:
  • The default values for "smb2 max read", "smb2 max write" and "smb2 max trans" have been changed to 8388608 (8MiB) in order to match the default of Windows 2012R2.
  • Improved DCERPC man in the middle detection:
  • The DCERPC header signing has been implemented in addition to the dcerpc_sec_verification_trailer
  • protection.
  • Overhauled "net idmap" command:
  • The command line interface of the "net idmap" command has been made systematic, and subcommands for reading and writing the autorid idmap database have been added. Note that the writing commands should be used with great care. See the net(8) manual page for details.
  • tdb improvements:
  • The tdb library, our core mechanism to store Samba-specific data on disk and share it between processes, has been improved to support process shared robust mutexes on Linux. These mutexes are available on Linux and Solaris and significantly reduce the overhead involved with tdb.
  • Tdb file space management has also been made more efficient. This will lead to smaller and less fragmented databases.
  • Messaging improvements:
  • Our internal messaging subsystem, used for example for things like oplock break messages between smbds or setting a process debug level dynamically, has been rewritten to use unix domain datagram messages.
  • Clustering support:
  • Samba's file server clustering component CTDB is now integrated in the Samba tree. This avoids the confusion of compatibility of Samba and CTDB versions as existed previously.
  • To build the Samba file server with cluster support, use the configure command line option --with-cluster-support. This will build clustered file server against the in-tree ctdb. Building clustered samba with previous versions of CTDB is no longer supported.

New in Samba 4.1.12 (Sep 9, 2014)

  • Major enhancements:
  • New parameter "winbind request timeout" has been added (bug #3204). Please see smb.conf man page for details.
  • Fix smbd crashes when filename contains non-ascii character (bug #10716).
  • dnsserver: Handle updates of tombstoned dnsNode objects (bug #10749).
  • Changes:
  • BUG 10369: build: Fix configure to honour '--without-dmapi'.
  • BUG 10737: s3:idmap: Don't log missing range config if range checking not requested.
  • BUG 10741: Fix flapping VFS gpfs offline bit.
  • BUG 3204: s3: winbindd: On new client connect, prune idle or hung connections older than "winbind request timeout". Add new parameter "winbind request timeout".
  • BUG 10640: lib: tevent: make TEVENT_SIG_INCREMENT atomic.
  • BUG 10650: Make "case sensitive = True" option working with "max protocol = SMB2" or higher in large directories.
  • BUG 10716: Fix smbd crashes when filename contains non-ascii character.
  • BUG 10728: 'net time': Fix usage and core dump.
  • BUG 10773: s3: smbd: POSIX ACLs. Remove incorrect check for SECINFO_PROTECTED_DACL in incoming security_information flags in posix_get_nt_acl_common().
  • BUG 10794: vfs_dirsort: Fix an off-by-one error that can cause uninitialized memory read.
  • BUG 10543: s3: Enforce a positive allocation_file_size for non-empty files.
  • BUG 10466: provision: Correctly provision the SOA record minimum TTL.
  • BUG 10652: Samba 4 consuming a lot of CPU when re-reading printcap info.
  • BUG 10787: dosmode: Fix FSCTL_SET_SPARSE request validation.
  • BUG 10742: s4-rpc: dnsserver: Allow . to be specified for @ record.
  • BUG 10731: sys_poll_intr: Fix timeout arithmetic.
  • BUG 10778: s3:libsmb: Set a max charge for SMB2 connections.
  • BUG 10716: lib: strings: Simplify strcasecmp.
  • BUG 10758: lib: Remove unused nstrcpy.
  • BUG 10782: smbd: Properly initialize mangle_hash.
  • BUG 9831: s4:setup/dns_update_list: make use of the new substitution variables.
  • BUG 10723: Allow netr_ServerReqChallenge() and netr_ServerAuthenticate3() on different connections.
  • BUG 10749: s4-rpc: dnsserver: Handle updates of tombstoned dnsNode objects.
  • BUG 10751: s4-rpc: dnsserver: return DNS_RANK_NS_GLUE recors when explicitly asked for.
  • BUG 10773: libcli/security: Add better detection of SECINFO_[UN]PROTECTED_[D|S]ACL in get_sec_info().
  • BUG 10761: docs: Fix typos in smb.conf (inherit acls).
  • BUG 10755: samba: Retain case sensitivity of cifs client.
  • BUG 9570: passdb: Fix NT_STATUS_NO_SUCH_GROUP.
  • BUG 10759: Fix a memory leak in cli_set_mntpoint().
  • BUG 10777: Don't discard result of checking grouptype.

New in Samba 4.1.11 (Aug 5, 2014)

  • This is a security release in order to address CVE-2014-3560 (Remote code execution in nmbd).
  • BUG 10735: CVE-2014-3560: Fix unstrcpy macro length.
  • CVE-2014-3560: Samba 4.0.0 to 4.1.10 are affected by a remote code execution attack on unauthenticated nmbd NetBIOS name services. A malicious browser can send packets that may overwrite the heap of the target nmbd NetBIOS name services daemon. It may be possible to use this to generate a remote code execution vulnerability as the superuser (root).

New in Samba 4.1.10 (Jul 30, 2014)

  • Changes since 4.1.9:
  • BUG 10693: Backport ldb-1.1.17 + changes from master.
  • BUG 10587: s3: libsmbclient: Work around bugs in SLES cifsd and Apple smbx SMB1 servers.
  • BUG 10653: Samba won't start on a machine configured with only IPv4.
  • BUG 10671: s3: smbd: Prevent file truncation on an open that fails with share mode violation.
  • BUG 10673: s3: SMB2: Fix leak of blocking lock records in the database.
  • BUG 10684: SMB1 blocking locks can fail notification on unlock, causing client timeout.
  • BUG 10685: s3: smbd: Locking, fix off-by one calculation in brl_pending_overlap().
  • BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
  • BUG 10693: lib/ldb: Fix compiler warnings.
  • BUG 8077: dbcheck: Add check and test for various invalid userParameters values.
  • BUG 8449: Simple use case results in "no talloc stackframe around, leaking memory" error.)
  • BUG 10130: dsdb: Always store and return the userParameters as a array of LE 16-bit values.
  • BUG 10582: dsdb: Rename private_data to rootdse_private_data in rootdse.
  • BUG 10627: rid_array used before status checked - segmentation fault due to null pointer dereference.
  • BUG 10693: ldb: make the successful ldb_transaction_start() message clearer.
  • BUG 10694: dsdb: Return NO_SUCH_OBJECT if a basedn is a deleted object.
  • BUG 10700: Backport access check related fixes from master.
  • BUG 10674: samba-tool: Add --site parameter to provision command.
  • BUG 10693: Fix SEGV from improperly formed SUBSTRING/PRESENCE filter.
  • BUG 10693: ldb: Do not build libldb-cmdline when using system ldb.
  • BUG 10693: s4-openldap: Remove use of talloc_reference in ldb_map_outbound.c
  • BUG 3263: net/doc: Make clear that net vampire is for NT4 domains only.
  • BUG s3: Fix missing braces in nfs4_acls.c.
  • BUG 10593: Fix "PANIC: assert failed at ../source3/smbd/open.c(1582): ret".
  • BUG 10663: msg_channel: Fix a 100% CPU loop.
  • BUG 10671: s3: smbd: Prevent file truncation on an open that fails with share mode violation.
  • BUG 10680: smbstatus: Fix an uninitialized variable.
  • BUG 10687: 'RW2' smbtorture test fails when -N is set to 2 due to the invalid status check in the second client.
  • BUG 10693: ldb: Fix 1138330 Dereference null return value, fix CIDs 241329, 240798, 1034791, 1034792 1034910, 1034910).
  • BUG 10699: smbd: Avoid double-free in get_print_db_byname.
  • BUG 8077: s4:dsdb/samldb: Don't allow 'userParameters' to be modified over LDAP for now.
  • BUG 9763: s4:dsdb/repl_meta_data: Make sure objectGUID can't be deleted.
  • BUG 10469: ldb-samba: fix a memory leak in ldif_canonicalise_objectCategory().
  • BUG 10294: s4:repl_meta_data: fix array assignment in replmd_process_linked_attribute().
  • BUG 10536: dbchecker: Verify and fix broken dn values.
  • BUG 10692: wbcCredentialCache fails if challenge_blob is not first.
  • BUG 10693: ldb:pyldb: Add some more helper functions for LdbDn.
  • BUG 10694: s4:dsdb/extended_dn_in: Don't force DSDB_SEARCH_SHOW_RECYCLED.
  • BUG 10696: Backport autobuild/selftest fixes from master.
  • BUG 10706: s3:smb2_read: let smb2_sendfile_send_data() behave like send_file_readX().
  • BUG 10693: pyldb: Decrement ref counters on py_results and quiet warnings.
  • BUG 10698: Backport drs-crackname fixes from master.
  • BUG 10693: ldb: Use of NULL pointer bugfix.
  • BUG 10703: Backport provision fixes from master.
  • BUG 10693: ldb: Add a env variable to disable RTLD_DEEPBIND.

New in Samba 4.1.9 (Jul 4, 2014)

  • Security release which addresses CVE-2014-0244 (Denial of service - CPU loop) and CVE-2014-3493 (Denial of service - Server crash/memory corruption).

New in Samba 4.1.8 (Jun 4, 2014)

  • Changes since 4.1.7:
  • BUG 10548: build: Fix ordering problems with lib-provided and internal RPATHs.
  • BUG 3124: s3: smb2: Fix 'xcopy /d' with samba shares.
  • BUG 10544: s3: lib/util: Fix logic inside set_namearray loops.
  • BUG 10564: Fix lock order violation and file lost.
  • BUG 10577: Fix wildcard unlink to fail if we get an error rather than trying to continue.
  • BUG 10569: dsdb: Do checks for invalid renames in samldb, before repl_meta_data.
  • BUG 10239: s3: nmbd: Reset debug settings after reading config file.
  • BUG 10544: s3: lib/util: set_namearray reads across end of namelist
  • BUG 10556: lib-util: Rename memdup to smb_memdup and fix all callers.
  • BUG 10609: CVE-2014-0239: dns: Don't reply to replies.
  • BUG 10517: Use exit_daemon() to communicate status of startup to systemd.
  • BUG 10590: byteorder: Do not assume PowerPC is big-endian.
  • BUG 10612: printing: Fix purge of all print jobs.
  • BUG 10524: Fix adding NetApps.
  • BUG 10547: idmap_autorid: Fix failure in reverse lookup if ID is from domain range index #0.
  • BUG 10472: script/autobuild: Make use of '--with-perl-{arch,lib}-install-dir'.
  • BUG 10554: Fix read of deleted memory in reply_writeclose()'.
  • BUG 10151: Extra ':' in msg for Waf Cross Compile Build System with Cross-answers command.
  • BUG 10348: Fix empty body in if-statement in continue_domain_open_lookup.
  • BUG 10549: CVE-2014-0178: Malformed FSCTL_SRV_ENUMERATE_SNAPSHOTS response.
  • BUG 10472: wafsamba: Fix the installation on FreeBSD.

New in Samba 4.1.7 (Apr 18, 2014)

  • Bug fixes:
  • BUG 9878: Make "force user" work as expected.
  • BUG 9942: Fix problem with server taking too long to respond to a MSG_PRINTER_DRVUPGRADE message.
  • BUG 9993: s3-printing: Fix obvious memory leak in printer_list_get_printer().
  • BUG 10344: SessionLogoff on a signed connection with an outstanding notify request crashes smbd.
  • BUG 10431: Fix STATUS_NO_MEMORY response from Query File Posix Lock request.
  • BUG 10508: smbd: Correctly add remote users into local groups.
  • BUG 10534: Cleanup messages.tdb record after unclean smbd shutdown.
  • BUG 9911: Fix build on AIX with IBM XL C/C++ (gettext detection issues).
  • BUG 10308: Fix String Conversion Errors with Samba 4.1.0 Build on AIX 7.1.
  • BUG 10230: Make (lib)smbclient work with NetApp.
  • BUG 10458: Fix 'wbinfo -i' with one-way trust.
  • s3:rpc_server: Minor refactoring of process_request_pdu().
  • BUG 10471: Don't respond with NXDOMAIN to records that exist with another type.
  • BUG 10504: lsa.idl: Define lsa.ForestTrustCollisionInfo and ForestTrustCollisionRecord as public structs.
  • BUG 10439: Increase max netbios name components.
  • BUG 10188: doc: Add "spoolss: architecture" parameter usage.
  • BUG 10484: Initial FSRVP rpcclient requests fail with NT_STATUS_PIPE_NOT_AVAILABLE.
  • BUG 10521: rpcclient FSRVP request UNCs should include a trailing backslash.
  • BUG 10387: 'net ads search' on high latency networks can return a partial list with no error indication.
  • BUG 10200: Make 'smbclient' support DFS shares with SMB2/3.
  • BUG 10344: SessionLogoff on a signed connection with an outstanding notify request crashes smbd.
  • BUG 10422: max xmit > 64kb leads to segmentation fault.
  • BUG 10444: smbd_server_connection_terminate("CTDB_SRVID_RELEASE_IP") panics from within ctdbd_migrate() with invalid lock_order.
  • BUG 10464: samba4 services not binding on IPv6 addresses causing connection delays.
  • BUG 10378: dfs: Always call create_conn_struct with root privileges.
  • BUG 10467: s3-vfs: Fix stream_depot vfs module on btrfs.
  • BUG 10472: pidl: waf should have an option for the dir to install perl files and do not glob.
  • BUG 10474: s3-spoolssd: Don't register spoolssd if epmd is not running.
  • BUG 10481: s3-rpc_server: Fix handling of fragmented rpc requests.
  • BUG 10506: Make 'smbreadline' build with readline 6.3.

New in Samba 4.1.6 (Mar 12, 2014)

  • These are security releases in order to address CVE-2013-4496 (Password lockout not enforced for SAMR password changes) and CVE-2013-6442 (smbcacls will remove the ACL on a file or directory when changing owner or group owner.).

New in Samba 4.1.5 (Feb 22, 2014)

  • Major enhancements in Samba 4.1.5 include:
  • Fix 100% CPU utilization in winbindd when trying to free memory in winbindd_reinit_after_fork (bug #10358).
  • smbd: Fix memory overwrites (bug #10415).
  • Changes since 4.1.4:
  • BUG 10259: Make shadow_copy2 module working with Windows 7.
  • BUG 2662: Make revamped directory handling code 64bit clean.
  • BUG 10320: s3: smbpasswd: Fix crashes on invalid input.
  • BUG 10358: Fix 100% CPU utilization in winbindd when trying to free memory in winbindd_reinit_after_fork.
  • BUG 10406: s3: vfs_dirsort module: Allow dirsort to work when multiple simultaneous directories are open.
  • BUG 10429: s3: modules: streaminfo: As we have no VFS function SMB_VFS_LLISTXATTR we can't cope with a symlink when lp_posix_pathnames() is true.
  • BUG 10087: ntlm_auth sometimes returns the wrong username to mod_ntlm_auth_winbind.
  • BUG 10418: Fix INTERNAL ERROR: Signal 11 in the kdc pid.
  • BUG 10418: Add support for Heimdal's unified krb5 and hdb plugin system.
  • BUG 10384: vfs/glusterfs: In case atime is not passed, set it to the current atime.
  • BUG 10424: vfs_btrfs: Fix incorrect zero length server-side copy request handling.
  • BUG 2191: s3-winbind: Improve performance of wb_fill_pwent_sid2uid_done().
  • BUG 10415: smbd: Fix memory overwrites.
  • BUG 10436: smbd: Fix an ancient oplock bug.
  • BUG 10442: Fix crash bug in smb2_notify code.
  • BUG 10367: Fix several memory leaks.
  • BUG 10418: Cope with first element in hdb_method having a different name in different heimdal versions.

New in Samba 4.1.4 (Jan 11, 2014)

  • Major enhancements:
  • Fix segfault in smbd (bug #10284).
  • Fix SMB2 server panic when a smb2 brlock times out (bug #10311).
  • Changes since 4.1.3:
  • BUG 9870: smbd: Allow updates on directory write times on open handles.
  • BUG 10260: smbclient shows no error if deleting a directory with del failed.
  • BUG 10297: smbd: Fix writing to a directory with -wx permissions on a share.
  • BUG 10305: ldb: bad if test in ldb_comparison_fold().
  • BUG 10276: Fix waf build error on AIX with IBM XL C/C++.
  • BUG 10280: s3:winbindd fix use of uninitialized variables.
  • BUG 10281: Fix typos in man pages.
  • BUG 10285: s3-winbindd: Fix DEBUG statement in winbind_msg_offline().
  • BUG 10262: s3-libnetjoin: Use upper-case realm when composing default upn.
  • BUG 10281: Fix numerous typos in man pages.
  • BUG 10271: Send correct job-ID in print job notifications.
  • BUG 10337: vfs_glusterfs: Enable per client log file.
  • BUG 10250: smbd: Fix a talloc hierarchy problem in msg_channel.
  • BUG 10284: smbd: Fix segfaults.
  • BUG 10297: smbd: Fix writing to a directory with -wx permissions on a share.
  • BUG 10311: Fix SMB2 server panic when a smb2 brlock times out.
  • BUG 10298: Reduce smb2_server processing overhead.
  • BUG 10267: Fix printing via local printer drivers with Windows 8.
  • BUG 10310: Fix AIO with SMB2 and locks.
  • BUG 2191: Fix %G/%g substitution in 'template homedir'.
  • BUG 10274: Fix several issues and warnings from analyzer tools.
  • BUG 10286: s3-lib: Fix %G substitution for domain users in smbd.

New in Samba 4.1.3 (Dec 9, 2013)

  • This is a security release in order to address
  • CVE-2013-4408 (DCE-RPC fragment length field is incorrectly checked) and
  • CVE-2012-6150 (pam_winbind login without require_membership_of restrictions).
  • CVE-2013-4408:
  • Samba versions 3.4.0 and above (versions 3.4.0 - 3.4.17, 3.5.0 - 3.5.22, 3.6.0 - 3.6.21, 4.0.0 - 4.0.12 and including 4.1.2) are vulnerable to buffer overrun exploits in the client processing of DCE-RPC packets. This is due to incorrect checking of the DCE-RPC fragment length in the client code.
  • This is a critical vulnerability as the DCE-RPC client code is part of the winbindd authentication and identity mapping daemon, which is commonly configured as part of many server installations (when joined to an Active Directory Domain). A malicious Active Directory Domain Controller or man-in-the-middle attacker impersonating an Active Directory Domain Controller could achieve root-level access by compromising the winbindd process.
  • Samba server versions 3.4.0 - 3.4.17 and versions 3.5.0 - 3.5.22 are also vulnerable to a denial of service attack (server crash) due to a similar error in the server code of those versions.
  • Samba server versions 3.6.0 and above (including all 3.6.x versions, all 4.0.x versions and 4.1.x) are not vulnerable to this problem.
  • In addition range checks were missing on arguments returned from calls to the DCE-RPC functions LookupSids (lsa and samr), LookupNames (lsa and samr) and LookupRids (samr) which could also cause similar problems.
  • As this was found during an internal audit of the Samba code there are no currently known exploits for this problem (as of December 9th 2013).
  • CVE-2012-6150:
  • Winbind allows for the further restriction of authenticated PAM logins using the require_membership_of parameter. System administrators may specify a list of SIDs or groups for which an authenticated user must be a member of. If an authenticated user does not belong to any of the entries, then login should fail. Invalid group name entries are ignored.
  • Samba versions 3.3.10, 3.4.3, 3.5.0 and later incorrectly allow login from authenticated users if the require_membership_of parameter specifies only invalid group names.
  • This is a vulnerability with low impact. All require_membership_of group names must be invalid for this bug to be encountered.

New in Samba 4.1.2 (Nov 22, 2013)

  • Changes:
  • BUG 10187: Missing talloc_free can leak stackframe in error path.
  • BUG 10196: RW Deny for a specific user is not overriding RW Allow for a group.
  • BUG 10224: vfs_glusterfs: Implement proper mashalling/unmarshalling of ACLs.
  • BUG 10052: dfs_server: Use dsdb_search_one to catch 0 results as well as NO_SUCH_OBJECT errors.
  • BUG 9091: s4-dns: dlz_bind9: Create dns-HOSTNAME account disabled.
  • BUG 10264: s3-winbindd: Fix cache_traverse_validate_fn failure for NDR cache entries.
  • BUG 10224: vfs_glusterfs: Fix excessive debug output from vfs_gluster_open().
  • BUG 10247: xattr: Fix listing EAs on *BSD for non-root users.
  • BUG 10190: Fix memset used with constant zero length parameter.
  • BUG 10195: nsswitch: Fix short writes in winbind_write_sock.
  • BUG 10193: s4:dsdb/rootdse: report 'dnsHostName' instead of 'dNSHostName'.
  • BUG 10232: libcli/smb: Fix smb2cli_ioctl*() against Windows 2008.
  • BUG 10224: VFS plugin was sending the actual size of the volume instead of the total number of block units because of which windows was getting the wrong volume capacity.
  • BUG 10194: Make offline logon cache updating for cross child domain group membership.
  • BUG 10269: util: Remove 32bit macros breaking strict aliasing.
  • BUG 10253: Fix the build of vfs_glusterfs.

New in Samba 4.1.1 (Nov 12, 2013)

  • Security release in order to address CVE-2013-4475 (ACLs are not checked on opening an alternate data stream on a file or directory) and CVE-2013-4476 (Private key in key.pem world readable):
  • CVE-2013-4475: Samba versions 3.2.0 and above (all versions of 3.2.x, 3.3.x, 3.4.x, 3.5.x, 3.6.x, 4.0.x and 4.1.x) do not check the underlying file or directory ACL when opening an alternate data stream.
  • CVE-2013-4476: In setups which provide ldap(s) and/or https services, the private key for SSL/TLS encryption might be world readable. This typically happens in active directory domain controller setups.
  • Changes:
  • BUGs 10234 + 10229: CVE-2013-4475: Fix access check verification on stream files.
  • BUG 10234: CVE-2013-4476: Private key in key.pem world readable.

New in Samba 4.1.0 (Oct 14, 2013)

  • MAJOR ENHANCEMENTS:
  • Client tools support SMB2/3:
  • Samba 4.1.0 contains the first release of our client tools and client library that work over the new protocols SMB2 or SMB3. Note that SMB3 only works either to a Samba server version 4.0.0 or above, or to a Windows Server running Windows 2012 or Windows 8.
  • Encrypted transport:
  • Although Samba servers have supported encrypted transport connections using the UNIX extensions for many years, selecting SMB3 transport allows encrypted transport connections to Windows servers that support SMB3, as well as Samba servers.
  • Directory database replication (AD DC mode):
  • Directory replication has been reworked in order to improve the correctness and efficiency. As a net effect of it, replication with other domain controllers with a heavily modified schema is now possible (ie. Windows 2012 DCs or other Windows DC with exchange installed) and replication didn't fail anymore in such environments.
  • Server-Side Copy Support:
  • Samba 4.1.0 adds support for server-side copy operations via the SMB2 FSCTL_SRV_COPYCHUNK request. Clients making use of server-side copy support, such as Windows Server 2012, should experience considerable performance improvements for file copy operations, as file data need not traverse the network. This feature is enabled by default on the smbd file server.
  • Btrfs Filesystem Integration:
  • The Btrfs VFS module provided with Samba 4.1.0 further improves the performance of server-side copy operations on shares backed by a Btrfs filesystem. It does so by allowing multiple files to share the same on-disk extents, avoiding the unnecessary duplication of source and destination file data during a server-side copy operation.
  • REMOVED COMPONENTS:
  • The Samba Web Administration Tool (SWAT) has been removed.
  • COMMIT HIGHLIGHTS:
  • Add SMB2 and SMB3 support for client tools and client library.
  • Add support for SMB3 Encrypted transport.
  • Add vfs_btrfs module.
  • Add support for server-side copy operations via the SMB2 FSCTL_SRV_COPYCHUNK request.
  • CHANGES SINCE 4.1.0rc4:
  • BUG 10178: Fix PAC parsing failure.
  • BUG 10132: pam_winbindd: Support the KEYRING ccache type.
  • CHANGES SINCE 4.1.0rc3:
  • BUG 10134: Add "acl allow execute always" parameter.
  • BUG 10139: Valid utf8 filenames cause "invalid conversion error" messages.
  • BUG 10145: Samba SMB2 client code reads the wrong short name length in a directory listing reply.
  • BUG 10149: cli_smb2_get_ea_list_path() failed to close file on exit.
  • BUG 10150: Not all OEM servers support the ALTNAME info level.
  • BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including embedded NULLs.
  • BUG 9461: python-samba-tool fsmo: Do not give an error on a successful role transfer.
  • BUG 10157: Regression causes replication failure with Windows 2008R2 and deletes Deleted Objects.
  • BUG 10147: Better document potential implications of a globally used "valid users".
  • BUG 10118: Raise the level of a debug when unable to open a printer.
  • BUG 10008: dbwrap_ctdb: Treat empty records as non-existing.
  • BUG 10138: smbd: Always clean up share modes after hard crash.
  • BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
  • BUG 10144: libcli/smb: Use SMB1 MID=0 for the initial Negprot.
  • BUG 10146: libcli/smb: Only check the SMB2 session setup signature if required and valid.
  • BUG 10158: Netbios related samba process consumes 100% CPU.
  • BUG 10137: vfs_shadow_copy2: Display previous versions correctly over SMB2.
  • CHANGES SINCE 4.1.0rc2:
  • BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
  • BUG 5917: Fix working on site with Read Only Domain Controller.
  • BUG 9974: Add SMB2 and SMB3 support for smbclient.
  • BUG 10063: Fix memory leak in source3/lib/util.c:1493.
  • BUG 10121: Masks incorrectly applied to UNIX extension permission changes.
  • BUG 9911: Build Samba 4.0.x on AIX with IBM XL C/C++.
  • BUG 9091: When replicating DNS for bind9_dlz we need to create the server-DNS account remotely.
  • BUG 9615: Winbind unable to retrieve user information from AD.
  • BUG 9899: winbind_lookup_names() fails because of NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
  • BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
  • BUG 10086: smbd: Fix async echo handler forking.
  • BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo requests.
  • BUG 10114: Handle Dropbox (write-only-directory) case correctly in pathname lookup.
  • BUG 10030: ::1 added to nameserver on join.
  • BUG 10000: Add man pages for ntdb tools.
  • BUG 7364: Add man page for vfs_syncops.
  • BUG 7490: Add man page for vfs_linux_xfs_sgid.
  • BUG 10001: Add man page for samba-regedit tool.
  • BUG 10076: Fix variable list in vfs_crossrename man page.
  • BUG 10073: Fix segmentation fault in 'net ads join'.
  • BUG 10082: s3-winbind: Fix a segfault passing NULL to a fstring argument.
  • BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed out by Samba.
  • BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo requests.
  • CHANGES SINCE 4.1.0rc1:
  • BUG 9992: Windows error 0x800700FE when copying files with xattr names containing ":".
  • BUG 10010: Missing integer wrap protection in EA list reading can cause server to loop with DOS (CVE-2013-4124).
  • BUG 10064: Linux kernel oplock breaks can miss signals.
  • BUG 9029: Fix replication with --domain-crictical-only to fill in backlinks.
  • BUG 9820: Fix crash of winbind after "ls -l /usr/local/samba/var/locks/sysvol".
  • BUG 10056: dsdb improvements.
  • BUG 10003: Fix segfault while reading incomplete session info.
  • BUG 9678: Windows 8 Roaming profiles fail.
  • BUG 10043: Allow to change the default location for Kerberos credential caches.
  • BUG 10013: Fix a 100% loop at shutdown time (smbd).
  • BUG 9820: Fix crash of winbind after "ls -l /usr/local/samba/var/locks/sysvol".
  • BUG 10015: Fix/improve debug options.
  • BUG 10042: Fix crashes in socket_get_local_addr().
  • BUG 10056: dsdb improvements.
  • BUG 9994: Do not delete an existing valid credential cache (s3-winbind).
  • BUG 10040: Rename regedit to samba-regedit.
  • BUG 10041: Remove obsolete swat manpage and references.
  • BUG 10048: nsswitch: Add OPT_KRB5CCNAME to avoid an error message.
  • BUG 10045: Remove a redundant inlined substitution of ACLs.
  • BUG 10064: Linux kernel oplock breaks can miss signals.

New in Samba 4.0.10 (Oct 8, 2013)

  • Major enhancements:
  • NetBIOS related samba process consumes 100% CPU (bug #10158).
  • smbd: Clean up share modes after hard crash (bug #10138).
  • Fix POSIX ACL mapping when setting DENY ACE's from Windows (bug #10162).
  • Changes since 4.0.9:
  • BUG 10134: Ease file server upgrades from 3.6 and earlier with "acl allow execute always".
  • BUG 10169: Fix build error in scavenger.c.
  • BUG 5917: Make Samba work on site with Read Only Domain Controller.
  • BUG 9166: Starting smbd or nmbd with stdin from /dev/null results in "EOF on stdin".
  • BUG 10063: source3/lib/util.c:1493 leaking memory w/ pam_winbind.so / winbind.
  • BUG 10121: Masks incorrectly applied to UNIX extension permission changes.
  • BUG 10139: Valid utf8 filenames cause "invalid conversion error" messages.
  • BUG #9911 - Build Samba 4.0.x on AIX with IBM XL C/C++.
  • BUG 8077: dsdb: Convert the full string from UTF16 to UTF8, including embedded NULLs.
  • BUG 9091: When replicating DNS for bind9_dlz we need to create the server-DNS account remotely.
  • BUG 9461: python-samba-tool fsmo: Do not give an error on a successful role transfer.
  • BUG 9615: s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().
  • BUG 9899: s3-winbindd: fix fallback to ncacn_np in cm_connect_lsat().
  • BUG 10147: Better document potential implications of a globally used "valid users".
  • BUG 10118: Samba is chatty about being unable to open a printer.
  • BUG 9599: samba-tool/dns: Pass on additional flags when creating zones.
  • BUG 10086: smbd: Fix async echo handler forking.
  • BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo requests.
  • BUG 10114: Dropbox (write-only-directory) case isn't handled correctly in pathname lookup.
  • BUG 10138: smbd: Clean up share modes after hard crash.
  • BUG 10162: Fix POSIX ACL mapping when setting DENY ACE's from Windows.
  • BUG 9802: Move gencache.tdb to /var/cache/samba.
  • BUG 10030: ::1 added to nameserver on join.
  • BUG 10158: NetBIOS related samba process consumes 100% CPU.
  • BUG 10137: vfs_shadow_copy2 does not display previous versions correctly over SMB2.
  • BUG 10076: docs: Fix variable list in man vfs_crossrename.
  • BUG 10097 - MacOSX 10.9 will not follow path-based DFS referrals handed out by Samba.
  • BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo requests.

New in Samba 4.1.0 RC 3 (Sep 12, 2013)

  • NEW FEATURES:
  • Client tools support SMB2/3:
  • Samba 4.1.0 contains the first release of our client tools and client library that work over the new protocols SMB2 or SMB3. Note that SMB3 only works either to a Samba server version 4.0.0 or above, or to a Windows Server running Windows 2012 or Windows 8.
  • Encrypted transport:
  • Although Samba servers have supported encrypted transport connections using the UNIX extensions for many years, selecting SMB3 transport allows encrypted transport connections to Windows servers that support SMB3, as well as Samba servers.
  • CHANGES:
  • BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
  • BUG 5917: Fix working on site with Read Only Domain Controller.
  • BUG 9974: Add SMB2 and SMB3 support for smbclient.
  • BUG 10063: Fix memory leak in source3/lib/util.c:1493.
  • BUG 10121: Masks incorrectly applied to UNIX extension permission changes.
  • BUG 9911: Build Samba 4.0.x on AIX with IBM XL C/C++.
  • BUG 9091: When replicating DNS for bind9_dlz we need to create the server-DNS account remotely.
  • BUG 9615: Winbind unable to retrieve user information from AD.
  • BUG 9899: winbind_lookup_names() fails because of NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
  • BUG 10107: Fix Winbind crashes on DC with trusted AD domains.
  • BUG 10086: smbd: Fix async echo handler forking.
  • BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo requests.
  • BUG 10114: Handle Dropbox (write-only-directory) case correctly in pathname lookup.
  • BUG 10030: ::1 added to nameserver on join.
  • BUG 10000: Add man pages for ntdb tools.
  • BUG 7364: Add man page for vfs_syncops.
  • BUG 7490: Add man page for vfs_linux_xfs_sgid.
  • BUG 10001: Add man page for samba-regedit tool.
  • BUG 10076: Fix variable list in vfs_crossrename man page.
  • BUG 10073: Fix segmentation fault in 'net ads join'.
  • BUG 10082: s3-winbind: Fix a segfault passing NULL to a fstring argument.
  • BUG 10097: MacOSX 10.9 will not follow path-based DFS referrals handed out by Samba.
  • BUG 10106: Honour output buffer length set by the client for SMB2 GetInfo requests.

New in Samba 4.0.9 (Aug 20, 2013)

  • BUG 9930: smbd: Cleanup disonnected durable handles.
  • BUG 9820: Fix crash of Winbind after "ls -l /usr/local/samba/var/locks/sysvol".
  • BUG 10014: Fix excessive RID allocation.
  • BUG 10003: s3-lib: Fix segmentation fault while reading incomplete
  • session info.
  • BUG 9930: smbd: Cleanup disonnected durable handles.
  • BUG 10015: Add debugclass for DNS server.
  • BUG 9779: Add UPN enumeration to passdb internal API.
  • BUG 10043: Allow to change the default location for Kerberos credential
  • caches.
  • BUG 10073: net ads join: Fix segmentation fault in
  • create_local_private_krb5_conf_for_domain.
  • BUG 10013: smbd: Fix a 100% loop at shutdown time.
  • BUG 9820: Fix crash of Winbind after "ls -l /usr/local/samba/var/locks/sysvol".
  • BUG 10003: s3-lib: Fix segmentation fault while reading incomplete
  • session info.
  • BUG 10015: Fix/improve debug options.
  • BUG 9970: vfs_streams_xattr: Do not attempt to write empty attribute
  • twice.
  • BUG 9994: s3-winbind: Do not delete an existing valid credential cache.
  • BUG 10073: net ads join: Fix segmentation fault in
  • create_local_private_krb5_conf_for_domain.
  • BUG 10064: Linux kernel oplock breaks can miss signals.

New in Samba 4.1.0 RC 2 (Aug 9, 2013)

  • NEW FEATURES:
  • Directory database replication (AD DC mode):
  • Directory replication has been reworked in order to improve the correctness and efficiency. As a net effect of it, replication with other domain controllers with a heavily modified schema is now possible (ie. Windows 2012 DCs or other Windows DC with exchange installed) and replication didn't fail anymore in such environments.
  • Server-Side Copy Support:
  • Samba 4.1.0 adds support for server-side copy operations via the SMB2 FSCTL_SRV_COPYCHUNK request. Clients making use of server-side copy support, such as Windows Server 2012, should experience considerable performance improvements for file copy operations, as file data need not traverse the network. This feature is enabled by default on the smbd file server.
  • Btrfs Filesystem Integration:
  • The Btrfs VFS module provided with Samba 4.1.0 further improves the performance of server-side copy operations on shares backed by a Btrfs filesystem. It does so by allowing multiple files to share the same on-disk extents, avoiding the unnecessary duplication of source and destination file data during a server-side copy operation. This feature can be explicitly enabled on smbd shares backed by a Btrfs filesystem with the smb.conf parameter: vfs objects = btrfs.
  • REMOVED COMPONENTS:
  • The Samba Web Administration Tool (SWAT) has been removed.
  • CHANGES:
  • BUG 9992: Windows error 0x800700FE when copying files with xattr names containing ":".
  • BUG 10010: Missing integer wrap protection in EA list reading can cause server to loop with DOS (CVE-2013-4124).
  • BUG 10064: Linux kernel oplock breaks can miss signals.
  • BUG 9029: Fix replication with --domain-crictical-only to fill in backlinks.
  • BUG 9820: Fix crash of winbind after "ls -l /usr/local/samba/var/locks/sysvol".
  • BUG 10056: dsdb improvements.
  • BUG 10003: Fix segfault while reading incomplete session info.
  • BUG 9678: Windows 8 Roaming profiles fail.
  • BUG 10043: Allow to change the default location for Kerberos credential caches.
  • BUG 10013: Fix a 100% loop at shutdown time (smbd).
  • BUG 9820: Fix crash of winbind after "ls -l /usr/local/samba/var/locks/sysvol".
  • BUG 10015: Fix/improve debug options.
  • BUG 10042: Fix crashes in socket_get_local_addr().
  • BUG 10056: dsdb improvements.
  • BUG 9994: Do not delete an existing valid credential cache (s3-winbind).
  • BUG 10040: Rename regedit to samba-regedit.
  • BUG 10041: Remove obsolete swat manpage and references.
  • BUG 10048: nsswitch: Add OPT_KRB5CCNAME to avoid an error message.
  • BUG 10045: Remove a redundant inlined substitution of ACLs.
  • BUG 10064: Linux kernel oplock breaks can miss signals.

New in Samba 4.0.8 (Aug 5, 2013)

  • This is a security release in order to address CVE-2013-4124 (Missing integer wrap protection in EA list reading can cause server to loop with DOS):
  • CVE-2013-4124: All current released versions of Samba are vulnerable to a denial of service on an authenticated or guest connection. A malformed packet can cause the smbd server to loop the CPU performing memory allocations and preventing any further service.
  • A connection to a file share, or a local account is needed to exploit this problem, either authenticated or unauthenticated if guest connections are allowed.
  • This flaw is not exploitable beyond causing the code to loop allocating memory, which may cause the machine to exceed memory limits.
  • Changes since 4.0.7:
  • BUG 10010: CVE-2013-4124: Missing integer wrap protection in EA list reading can cause server to loop with DOS.

New in Samba 4.1.0 RC 1 (Jul 13, 2013)

  • NEW FEATURES:
  • Directory database replication (AD DC mode):
  • Directory replication has been reworked in order to improve the correctness and efficiency.
  • As a net effect of it, replication with other domain controllers with a heavily modified schema is now possible (ie. Windows 2012 DCs or other Windows DC with exchange installed) and replication didn't fail anymore in such environments.
  • Server-Side Copy Support:
  • Samba 4.1.0 adds support for server-side copy operations via the SMB2 FSCTL_SRV_COPYCHUNK request. Clients making use of server-side copy support, such as Windows Server 2012, should experience considerable performance improvements for file copy operations, as file data need not traverse the network. This feature is enabled by default on the smbd file server.
  • Btrfs Filesystem Integration:
  • The Btrfs VFS module provided with Samba 4.1.0 further improves the performance of server-side copy operations on shares backed by a Btrfs filesystem. It does so by allowing multiple files to share the same on-disk extents, avoiding the unnecessary duplication of source and destination file data during a server-side copy operation.
  • This feature can be explicitly enabled on smbd shares backed by a Btrfs filesystem with the smb.conf parameter:
  • vfs objects = btrfs
  • REMOVED COMPONENTS:
  • The Samba Web Administration Tool (SWAT) has been removed.

New in Samba 4.0.7 (Jul 2, 2013)

  • Major enhancements in Samba 4.0.7 include:
  • Fix a core dump with invalid lock order while opening/editing or copying MS files (bug #9794).
  • Fix crash bug from search of mail= (bug #9967).
  • winbind4: talloc use after free (bug #9832).
  • Changes since 4.0.6:
  • BUG 9909: build: Add missing new line to replaced python shebang line.
  • BUG 9794: Fix a core dump with invalid lock order while opening/editing or copying MS files.
  • BUG 9465: s3-rpc_server: Ensure we are root when starting and using gensec.
  • BUG 9906: Doc fixes for 4.0.
  • BUG 9907: Build fixes for 4.0 found during autoconf or debian packaging work.
  • BUG 9967: Fix crash bug from search of mail=.
  • BUG 9968: Fix build with system Heimdal of samba4kgetcred.
  • BUG 9947: Check for netbios aliases in ad_get_referrals.
  • BUG 9485: Add support for MX queries.
  • BUG 9559: dns: Delete dnsNode objects when they are empty.
  • BUG 9632: dns: Support larger queries when asking forwarder.
  • BUG 8997: Change libreplace GPL source to LGPL.
  • BUG 9900: is_printer_published GUID retrieval.
  • BUG 9910: PIE builds not supported.
  • BUG 9941: Fix a bug of drvupgrade of smbcontrol.
  • BUG 9880: Use of wrong RFC2307 primary group field.
  • BUG 9832: winbind4: talloc use after free.
  • BUG 9953: Fix tevent_poll on 32-bit machines (Coverity ID 989236).
  • BUG 9805: s3:lib/server_mutex: Open mutex.tdb with CLEAR_IF_FIRST.
  • BUG 9929: s4:winbind: Don't leak libnet_context into the main event context.
  • BUG 9881: Check for system libtevent.
  • BUG 9964: docs: Avoid mentioning a possibly misleading option.
  • BUG 9888: More generic check for OpenBSD platform.

New in Samba 4.0.6 (May 21, 2013)

  • Major enhancements:
  • Fix crash during Win8 sync (bug #9822).
  • Fix segfault when loging in with wrong password from w2k8r2 (bug #9834).
  • Changes:
  • BUG 9412: SMB2 server doesn't support recvfile.
  • BUG 9722: Properly handle oplock breaks in compound requests.
  • BUG 9777: vfs_dirsort uses non-stackable calls, dirfd(), malloc instead of talloc and doesn't cope with directories being modified whilst reading.
  • BUG 9811: Old DOS SMB CTEMP request uses a non-VFS function to access the filesystem.
  • BUG 9822: Fix crash during Win8 sync.
  • BUG 9833: Function called in unix_convert() path can overwrite errno.
  • BUG 9785: Use specified python for runtime installation of Samba.
  • BUG 9834: Fix segfault when loging in with wrong password from w2k8r2.
  • BUG 9767: Fix 'net ads join' when called via stdin.
  • BUG 9807: wbinfo: Fix segfault in wbinfo_pam_logon.
  • BUG 9830: Fix panic in nt_printer_publish_ads.
  • BUG 9775: Fix segfault for "artificial" conn_structs in vfs_fake_perms.
  • BUG 9809: Package new dbwrap_tool man page.
  • BUG 9824: SMB signing and the async echo responder don't work together.
  • BUG 9832: talloc use after free in winbind4.
  • BUG 9854: Fix NULL pointer dereference in Winbind.
  • BUG 9868: Fix making LIBNDR_PREG_OBJ.
  • BUG 9545: Fix the build of vfs_notify_fam.
  • BUG 9803: Change '--with-dmapi' to 'default=auto' to match the autoconf build.
  • BUG 9804: wafsamba: Display the default value in help for SAMBA3_ADD_OPTION.
  • BUG 9382: Add support for PFC_FLAG_OBJECT_UUID when parsing packets.
  • BUG 9139: Fix the username map optimization.
  • BUG 9699: Fix adding case sensitive spn.
  • BUG 9766: Cache name_to_sid/sid_to_name correctly.
  • BUG 9817: Fix 'map untrusted to domain' with NTLMv2.
  • BUG 9722: Properly handle oplock breaks in compound requests.
  • BUG 9782: Fix panic when running 'smbtorture smb.base'.

New in Samba 4.0.5 (Apr 11, 2013)

  • Major enhancements in Samba 4.0.5 include:
  • Fix large reads/writes from some Linux clients (bug #9706).
  • Add 'samba-tool dbcheck --reset-well-known-acls' (bugs #9740 and #9267).
  • Changes since 4.0.4:
  • BUG 9617: libnss-winbindd does not provide pass struct for groups mapped with ID_TYPE_BOTH and vice versa.
  • BUG 9653: idmap_autorid: Fix freeing of non-talloced memory.
  • BUG 9711: s4:winbindd: Do not drop the workgroup name in the getgrnam, getgrent and getgrgid calls.
  • BUG 9130: Certain xattrs cause Windows error 0x800700FF.
  • BUG 9519: Samba returns unexpected error on SMB posix open.
  • BUG 9642: Fix the build of vfs_afsacl.
  • BUG 9695: Backport tevent changes to bring library to version 0.9.18.
  • BUG 9706: Fix large reads/writes from some Linux clients.
  • BUG 9724: is_encrypted_packet() function incorrectly used inside server.
  • BUG 9733: Fix 'smbcontrol close-share'.
  • BUG 9748: Remove unneeded fstat system call from hot read path.
  • BUG 9760: Fix incorrect parsing of SMB2 command codes.
  • BUG 9643: Fix the build with --fake-kaserver.
  • BUG 9644: Fix compile of source3/lib/afs.c.
  • BUG 9669: Fix crash in 'net rpc join' against a Samba 3.0.33 PDC.
  • BUG 9666: Fix filtering of link-local addresses.
  • BUG 9663: 'make test' hangs.
  • BUG 9697: DsReplicaGetInfo fails due to sendto() EMSGSIZE error on UNIX domain socket.
  • BUG 9703: Fix build on solaris8: Do not force a specific perl on pod2man.
  • BUG 9717: Set LD_LIBRARY_PATH in install_with_python.sh.
  • BUG 9718: s4-idmap: Remove requirement that posixAccount or posixGroup be set for rfc2307.
  • BUG 9719: Allow forcing an override of an old @MODULES record.
  • BUG 9720: Do not print the admin password during 'samba-tool classicupgrade'.
  • BUG 9721: Make samba_upgradedns more robust (do not guess addresses when just changing roles).
  • BUG 9725: upgradeprovision and 'samba-tool dbcheck' patches for 4.0.NEXT.
  • BUG 9728: DO NOT install samba_upgradeprovision in 4.0.x.
  • BUG 9739: PIDL: Build fixes for hosts without CPP (Solaris 11).
  • BUG 9740: Add 'samba-tool dbcheck --reset-well-known-acls'.
  • BUG 9267: Can't delegate adding computers to domain.
  • BUG 9636: PIDL: Fix parsing linemarkers in preprocessor output.
  • BUG 9639: Rename internal subsystem pdb_ldap to pdb_ldapsam.
  • BUG 9646: Make SMB2_GETINFO multi-volume aware.
  • BUG 9633: Recursive mget should continue on EPERM.
  • BUG 9656: Work around FreeBSD's getaddrinfo() underscore issue.
  • BUG 9696: Remove incomplete samba_dnsupdate IPv6 link-local address check.
  • BUG 9697: Handle EMSGSIZE on UNIX domain sockets.
  • BUG 7825: Fix GNU ld version detection with old gcc releases.
  • BUG 9039: Never try to map global SAM name.
  • BUG 9701: Fix vfs_catia and update documentation.
  • BUG 9695: Backport tevent changes to bring library to version 0.9.18.
  • BUG 9727: Fix NULL pointer dereference.
  • BUG 9736: Change to smbd/dir.c code gives significant performance increases on large directory listings.
  • BUG 9557: Fix build on AIX.
  • BUG 9625: Reauth-capable client fails to access shares on Windows member.
  • BUG 9695: Backport tevent changes to bring library to version 0.9.18.
  • BUG 9706: Parameter is incorrect on Android.
  • BUG 9664: Fix correct linking of libreplace with cmdline-credentials.
  • BUG 9683: Fix several resource (fd) leaks.
  • BUG 9685: Fix a memory leak in spoolss rpc server.
  • BUG 9686: Fix a possible buffer overrun in pdb_smbpasswd.
  • BUG 9687: Fix several possible null pointer dereferences.
  • BUG 9723: Add a tool to migrate latin1 printing tdbs to registry.
  • BUG 9735: Fix Winbind separator in upn to username conversion.
  • BUG 9758: Don't leak the epm_Map policy handle.
  • BUG 9674: Samba denies owner Read Control when there is a DENY entry while W2K08 does not.
  • BUG 9689: Make sure that domain joins work correctly when the DC disallows NTLM auth.
  • BUG 9704: Fix nss_winbind name on FreeBSD.
  • BUG 9747: Make sure that we only propogate the INHERITED flag when we are allowed to.

New in Samba 4.0.4 (Mar 20, 2013)

  • Changes since 4.0.3:
  • Andrew Bartlett: BUG 9709: CVE-2013-1863: Remove forced set of 'create mask' to 0777.

New in Samba 4.0.3 (Feb 6, 2013)

  • MAJOR ENHANCEMENTS:
  • check_password_quality: Handle non-ASCII characters properly (bug #9105).
  • Fix ACL problem with delegation of privileges and deletion of accounts over LDAP interface (bug #8909).
  • Fix 'smbd' panic triggered by unlink after open (bug #9571).
  • smbd: Fix memleak in the async echo handler (bug #9549).
  • CHANGES SINCE 4.0.2:
  • Michael Adam :
  • BUG 9568: Document the command line options in dbwrap_tool(1).
  • Jeremy Allison :
  • BUG 9196: defer_open is triggered multiple times on the same request.
  • BUG 9518: conn->:share_access appears not be be reset between users.
  • BUG 9550: sigprocmask does not work on FreeBSD to stop further signals in a signal handler.
  • BUG 9572: Fix file corruption during SMB1 read by Mac OSX 10.8.2 clients.
  • BUG 9586: smbd[29175]: disk_free: sys_popen() failed" message logged in /var/log/message many times.
  • BUG 9587: Archive flag is always set on directories.
  • BUG 9588: ACLs are not inherited to directories for DFS shares.
  • Andrew Bartlett :
  • BUG 8909: Fix ACL problem with delegation of privileges and deletion of accounts over LDAP interface.
  • BUG 9461: FSMO seize of naming role fails: NT_STATUS_IO_TIMEOUT.
  • BUG 9564: Fix compilation of Solaris ACL module.
  • BUG 9581: gensec: Allow login without a PAC by default.
  • BUG 9596: Linked attribute handling should be by GUID.
  • BUG 9598: Use pid,task_id as cluster_id in process_single just like process_prefork.
  • BUG 9609: ldb: Ensure to decrement the transaction_active whenever we delete a transaction.
  • BUG 9609: Add 'ldbdump' tool.
  • BUG 9609: ldb: Remove no-longer-existing ltdb_unpack_data_free from ldb_tdb.h.
  • BUG 9609: ldb: Change ltdb_unpack_data to take an ldb_context.
  • BUG 9610: dsdb: Make secrets_tdb_sync cope with -H secrets.ldb.
  • Björn Baumbach :
  • BUG 9512: wafsamba: Use additional xml catalog file.
  • BUG 9517: samba_dnsupdate: Set KRB5_CONFIG for nsupdate command.
  • BUG 9552: smb.conf(5): Update list of available protocols.
  • BUG 9568: Add dbwrap_tool.1 manual page.
  • BUG 9569: ntlm_auth(1): Fix format and make examples visible.
  • Ira Cooper :
  • BUG 9575: Duplicate flags defined in the winbindd protocol.
  • Gönther Deschner :
  • BUG 9474: Downgrade v4 printer driver requests to v3.
  • BUG 9595: s3-winbind: Fix the build of idmap_ldap.
  • David Disseldorp :
  • BUG 9378: Add extra attributes for AD printer publishing.
  • Stephen Gallagher :
  • BUG 9609: ldb: Move doxygen comments for ldb_connect to the right place.
  • Volker Lendecke :
  • BUG 9541: Make use of posix_openpt.
  • BUG 9544: Fix build of vfs_commit and plug in async pwrite support.
  • BUG 9546: Fix aio_suspend detection on FreeBSD.
  • BUG 9548: Correctly detect O_DIRECT.
  • BUG 9549: smbd: Fix memleak in the async echo handler.
  • Stefan Metzmacher :
  • BUG 8909: Fix ACL problem with delegation of privileges and deletion of accounts over LDAP interface.
  • BUG 9105: check_password_quality: Handle non-ASCII characters properly.
  • BUG 9481: samba_upgradeprovision: fix the nTSecurityDescriptor on more containers.
  • BUG 9499: s3:smb2_negprot: set the 'remote_proto' value.
  • BUG 9508: s4:drsuapi: Make sure we report the meta data from the cycle start.
  • BUG 9540: terminate the irpc_servers_byname() result with server_id_set_disconnected().
  • BUG 9598: Fix timeouts of some IRPC calls.
  • BUG 9609: Fix a warning by converting from TDB_DATA to struct ldb_val.
  • Matthieu Patou :
  • BUG 8909: Add documentation.
  • BUG 9565: Adding additional Samba 4.0 DC to W2k8 srv AD domain (in win200 functional level) produces dbcheck errors.
  • Arvid Requate :
  • BUG 9555: s4-resolve: Fix parsing of IPv6/AAAA in dns_lookup.
  • Rusty Russell :
  • BUG 9609: tdb: Add '-e' option to tdbdump (and document it).
  • BUG 9609: tdb: 'tdbdump' should log errors, and fail in that case.
  • BUG 9609: tdb: Add tdb_rescue() to allow an emergency best-effort dump.
  • Samba-JP oota :
  • BUG 9528: Remove superfluous bracket in samba.8.xml.
  • BUG 9530: Fix typo in vfs_tsmsm.8.xml.
  • Andreas Schneider :
  • BUG 9574: Fix a possible null pointer dereference in spoolss.
  • Karolin Seeger :
  • BUG 9591: Correct meta data in ldb manpages.
  • Pavel Shilovsky :
  • BUG 9571: Fix 'smbd' panic triggered by unlink after open.
  • Andrew Tridgell :
  • BUG 9609: ldb: Fix callers for ldb_pack_data() and ldb_unpack_data().
  • BUG 9609: ldb: move ldb_pack.c into common.
  • Jelmer Vernooij :
  • BUG 9503: waf assumes that pythonX.Y-config is a Python script.

New in Samba 4.0.2 (Jan 31, 2013)

  • This is a security release in order to address CVE-2013-0213 (Clickjacking issue in SWAT) and CVE-2013-0214 (Potential XSRF in SWAT):
  • CVE-2013-0213: All current released versions of Samba are vulnerable to clickjacking in the Samba Web Administration Tool (SWAT). When the SWAT pages are integrated into a malicious web page via a frame or iframe and then overlaid by other content, an attacker could trick an administrator to potentially change Samba settings.In order to be vulnerable, SWAT must have been installed and enabled either as a standalone server launched from inetd or xinetd, or as a CGI plugin to Apache. If SWAT has not been installed or enabled (which is the default install state for Samba) this advisory can be ignored.
  • CVE-2013-0214: All current released versions of Samba are vulnerable to a cross-site request forgery in the Samba Web Administration Tool (SWAT). By guessing a user's password and then tricking a user who is authenticated with SWAT into clicking a manipulated URL on a different web page, it is possible to manipulate SWAT. In order to be vulnerable, the attacker needs to know the victim's password. Additionally SWAT must have been installed and enabled either as a standalone server launched from inetd or xinetd, or as a CGI plugin to Apache. If SWAT has not been installed or enabled (which is the default install state for Samba) this advisory can be ignored.
  • Changes since 4.0.1:
  • BUG 9576: CVE-2013-0213: Fix clickjacking issue in SWAT.
  • BUG 9577: CVE-2013-0214: Fix potential XSRF in SWAT.

New in Samba 4.0.1 (Jan 15, 2013)

  • This is a security release in order to address CVE-2013-0172:
  • Bug 9554 - CVE-2013-0172 - Samba 4.0 as an AD DC may provide authenticated users with write access to LDAP directory objects.

New in Samba 4.0.0 (Dec 12, 2012)

  • Active Directory services:
  • Samba 4.0 supports the server-side of the Active Directory logon environment used by Windows 2000 and later, so we can do full domain join and domain logon operations with these clients.
  • Our Domain Controller (DC) implementation includes our own built-in LDAP server and Kerberos Key Distribution Center (KDC) as well as the Samba3-like logon services provided over CIFS. We correctly generate the infamous Kerberos PAC, and include it with the Kerberos tickets we issue.
  • When running an AD DC, you only need to run 'samba' (not smbd/nmbd/winbindd), as the required services are co-coordinated by this master binary. The tool to administer the Active Directory services is called 'samba-tool'.
  • File Services:
  • Samba 4.0.0 ships with two distinct file servers. We now use the file server from the Samba 3.x series 'smbd' for all file serving by default.
  • Samba 4.0 also ships with the 'NTVFS' file server. This file server is what was used prior to the beta2 release of Samba 4.0, and is tuned to match the requirements of an AD domain controller. We continue to support this, not only to provide continuity to installations that have deployed it as part of an AD DC, but also as a running example of the NT-FSA architecture we expect to move smbd to in the longer term.
  • For pure file server work, the binaries users would expect from that series (smbd, nmbd, winbindd, smbpasswd) continue to be available.
  • DNS:
  • As DNS is an integral part of Active Directory, we also provide two DNS solutions, a simple internal DNS server for 'out of the box' configurations and a more elaborate BIND plugin using the BIND DLZ mechanism in versions 9.8 and 9.9. During the provision, you can select which backend to use. With the internal backend, your DNS server is good to go. If you chose the BIND_DLZ backend, a configuration file will be generated for bind to make it use this plugin, as well as a file explaining how to set up bind.
  • NTP:
  • To provide accurate timestamps to Windows clients, we integrate with the NTP project to provide secured NTP replies. To use you need to start ntpd and configure it with the 'restrict ... ms-sntp' and ntpsigndsocket options.
  • Python Scripting Interface:
  • A new scripting interface has been added to Samba 4, allowing Python programs to interface to Samba's internals, and many tools and internal workings of the DC code is now implemented in python.

New in Samba 3.6.10 (Dec 11, 2012)

  • Respond correctly to FILE_STREAM_INFO requests (bug #9460).
  • Fix segfault when "default devmode" is disabled (bug #9433).
  • Fix segfaults in "log level = 10" on Solaris (bug #9390).

New in Samba 3.6.9 (Dec 5, 2012)

  • When setting a non-default ACL, don't forget to apply masks to SMB_ACL_USER and SMB_ACL_GROUP entries (bug #9236).
  • Winbind can't fetch user or group info from AD via LDAP (bug #9147).
  • Fix segfault in smbd if user specified ports out for range (bug #9218).

New in Samba 4.0.0 RC6 (Dec 5, 2012)

  • Significant number of improvements to our Access Control List (ACL) code, particularly for the Active Directory Domain Controller, but also in our general purpose file server.

New in Samba 3.6.6 (Jun 26, 2012)

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

New in Samba 4.0.0 Alpha 20 (May 7, 2012)

  • Improvements to the 'samba-tool domain samba3upgrade' and samba_upgradedns tools
  • Stability improvements in the Samba4 winbind implementation (that used in the AD DC mode).
  • The BIND 9 DLZ plugin is now compatible with both BIND 9.8, and BIND 9.9.
  • dbcheck and runtime protection for the fSMORoleOwner attribute. This allows us to recover from a situation where the fSMORoleOwner is deleted.
  • Support for storing the posixAccount and other auxiliary objectClass values (the values are not used by Samba as an AD DC at this stage, but may be used by clients).
  • Some major but less visible changes include:
  • Continued early implementation work on the SMB 2.2 protocol client and server as the team improves and develops support these new protocols.
  • Initial work to build Samba using MIT kerberos in the top level waf build system. This is not complete at this time, but good progress is being made.

New in Samba 3.6.5 (May 7, 2012)

  • Fix incorrect permission checks when granting/removing privileges (CVE-2012-2111).

New in Samba 3.6.4 (May 7, 2012)

  • BUG 8815: PIDL based autogenerated code allows overwriting beyond of allocated array (CVE-2012-1182).

New in Samba 3.6.3 (Jan 30, 2012)

  • BUG 8724: Fix memory leak in parent smbd on connection.

New in Samba 3.6.2 (Jan 26, 2012)

  • BUG 8528: Fix SEGFAULT from net registry export on not zero terminated REG_SZ values.
  • BUG 8541: readlink() on Linux clients fails if the symlink target is outside of the share.
  • BUG 8542: smbclient posix_open command fails to return correct info on open file.
  • BUG 8548: winbind_samlogon_retry_loop ignores logon_parameters flags.
  • BUG 8561: Password change settings not fully observed.
  • BUG 8562: Fix double free error in talloc.
  • BUG 8614: Ensure we correctly calculate reply credits over all returned SMB2 replies.
  • BUG 8631: POSIX ACE x permission becomes rx following mapping to and from a DACL.
  • BUG 8636: When returning an ACL without SECINFO_DACL requested, we still set SEC_DESC_DACL_PRESENT in the type field.
  • BUG 8644: vfs_acl_xattr and vfs_acl_tdb modules can fail to add inheritable entries on a directory with no stored ACL.
  • BUG 8663: Fix deleting a symlink if the symlink target is outside of
  • the share.
  • BUG 8664: Fix renaming a symlink if the symlink target is outside of the share.
  • BUG 8673: Fix NT ACL issue.
  • BUG 8674: Fix buffer overflow issue with AES encryption in samba traffic analyzer.
  • BUG 8679: recvfile code path using splice() on Linux leaves data in the pipe on short write.
  • BUG 8687: Fix typo in 'net memberships' usage.
  • BUG 8710: Fix major leak with SMB2 in connections.tdb.
  • Fix a crash bug in the spoolss code.
  • Add new contributing FAQ announcing acceptance of corporate (C).
  • BUG 8444: Add an allocation pool to idmap_autorid.
  • BUG 8585: Increase a debug level.
  • BUG 8623: Fix crash bug when trying to browse Samba printers.
  • BUG 8580: Enable inotify if sys or kernel inotify is available.
  • BUG 8618: Fix migrate printer code.
  • BUG 8528: Fix SEGFAULT from net registry export on not zero terminated REG_SZ values.
  • BUG 7465: Remove pointless use_memory_krb5_ccache.
  • BUG 8176: Fix perl path.
  • BUG 8591: Fix marshalling of samr_ChangePasswordUser3.
  • BUG 8692: libads: Fix malloc/talloc mismatch in ads_keytab_verify_ticket().
  • BUG 4942: DeletePrinterDriverEx deletes files in use.
  • BUG 8575: Add systemd service files.
  • BUG 8606: Fix intermittent print job failures caused by character conversion errors.
  • BUG 8697: Make DeletePrinterDriverEx remove printer driver files.
  • BUG 8531: Make DSO_EXPORTS_CMD more portable.
  • BUG 8616: Allow to set TCP_NODELAYACK socket option on AIX.
  • BUG 8652: Document the "ignore system acls" option of vfs_acl_xattr and vfs_acl_tdb vfs modules.
  • BUG 8419: Make VFS op "streaminfo" stackable.
  • BUG 8371: Make Winbind receive user/group information.
  • BUG 8639: Fix the vfs_commit module.
  • BUG 8686: Packet validation checks can be done before length validation causing uninitialized memory read.
  • BUG 5326: Fix cli_write_and_x() against OS/2 print shares.
  • BUG 8357: Grant credits in async interim responses (SMB2).
  • BUG 8560: Make SMB2 handle compound request headers in the same way as Windows.
  • BUG 8573: Fix alignment in the non-extended-security negprot.
  • BUG 8586: libsmb: Only align unicode pipe_name.
  • BUG 8579: smb2_flush: Don't send uninitialized memory.
  • BUG 8592: Don't limit the number of open dptrs for SMB2.
  • BUG 8593: Fix a crash bug in cldap_socket_recv_dgram().
  • BUG 8684: Try ctdbd_init_connection() as root.
  • BUG 563: Fix 'smbclient tar' for files greater than 8GB on BE machines.
  • BUG 8600: Make cldap work over IPv6.
  • BUG 8674: Fix buffer overflow issue with AES encryption in samba traffic analyzer.
  • BUG 8550: Fix setting the machine account password.
  • BUG 8575: Add systemd service files.
  • BUG 8608: Winbind: Don't fail on users without a uid.
  • BUG 8628: libsmb: Don't duplicate Kerberos service tickets.
  • BUG 8643: Add an update function for Winbind cache.
  • BUG 8678: Fix Winbind segfault if we can't map the last user.
  • BUG 7705: Fix some RHEL packaging issues.
  • BUG 8607: Improve configure.in so it can be used outside the Samba source tree.
  • BUG 8525: Fix bug with sys_fseek() wrapper on *BSD / OS X).
  • BUG 8384: Fix Windows XP clients crashing smbd process every once in a while.

New in Samba 3.6.1 (Oct 21, 2011)

  • BUG 8368: Fix the fallback to the deprecated spelling idmap:script.
  • BUG 7509: smb_acl_to_posix: ACL is invalid for set (Invalid argument).
  • BUG 8229: Fix 'widelinks' regression.
  • BUG 8370: Fix vfs_chown_fsp.
  • BUG 8412: Fix "saving as" of MS Office 2007 (Word) documents on Samba shares with SMB2.
  • BUG 8422: Fix infinite loop in ACL module code.
  • BUG 8429: Compound SMB2 requests on an IPC connection can corrupt the reply stream.
  • BUG 8443: Be smarter about setting default permissions when a ACL_USER_OBJ isn't given.
  • BUG 8453: Fix smbclient segfaults when dialect option -m is used for legacy dialects.
  • BUG 8458: IE9 on Windows 7 cannot download files to samba 3.5.11 share.
  • BUG 8473: smb2_find uses a hard coded max reply size of 0x10000 instead of smb2_max_trans.
  • BUG 8474: SMB2 create doesn't cope with an Apple client using NULL blob in create.
  • BUG 8476: Samba asserts when SMB2 client breaks the crediting rules.
  • BUG 8477: Map to guest can return uninitialized blob of data.
  • BUG 8493: DFS breaks zip file extracting unless "follow symlinks = no" set.
  • BUG 8494: Remove "experimental" label on VFS ACL modules.
  • BUG 8507: smbd doesn't correctly honor the "force create mode" bits from a cifsfs create.
  • BUG 8509: Read-only handles on SAMR allow SAMR_DOMAIN_ACCESS_CREATE_USER.
  • BUG 8521: Winbind cache timeout expiry test was reversed.
  • BUG 8428: Fix wrong reply to DHnC (durable handle reconnect).
  • BUG 8518: SMB2 create call returns incorrect file allocation size.
  • BUG 8364: Fix the build of gpfs.c on RHEL 6.0 with gpfs 3.4.0-4.
  • BUG 7551: Return error of cli_push when 'put - /some/file' is used.
  • BUG 8395: Optimize serverid_exists() for Solaris.
  • BUG 8442: NFSv4 DENY ACLs always include SYNCHRONIZE flag - blocking renames.
  • BUG 8401: registry/reg_format.c must include includes.h.
  • BUG 7465: Fix 'net ads join -k' when KRB5CCNAME is not set.
  • BUG 8480: acl_xattr can free an invalid pointer if no blob is loaded.
  • BUG 8520: Fix SMB2 SMB2_OP_GETINFO and SMB2_OP_IOCTL parsing requirements.
  • BUG 8455: Fix uninitialized memory problem in group_sids_to_info3.
  • BUG 8256: Add man vfs_aio_fork.
  • BUG 8363: Fix build of vfs_prealloc on SLES8.
  • BUG 8515: Disallow "." in can_set_delete_on_close().
  • BUG 7864: Fix usage of cli_errstr().
  • BUG 8334: smb2: smbd logs "Invalid SMB packet: first request: 0x0008" and crashes.
  • BUG 8338: Add a fallback for missing open&x support in MAC OS/X Lion.
  • BUG 8360: OS/2 sends an unexpected write&x/read&x chain.
  • BUG 8385: Fix smbclient access to NT4 shares.
  • BUG 8409: Fix a Winbind race leading to 100% CPU load.
  • BUG 8420: Fix 'getent group' if trusted domains are not reachable.
  • BUG 8433: Fix segfault in iconv.c.
  • BUG 8455: Samba PDC is looking up only primary user group.
  • BUG 8365: Fix warning messages on Freebsd 4.6.2.
  • BUG 8407: SMB2 server can return requests out-of-order when processing a compound request.
  • BUG 8452: Check the wct of the incoming SMBnegprot responses.
  • BUG 8473: smb2_find uses a hard coded max reply size of 0x10000 instead of smb2_max_trans.
  • BUG 8476: Don't call smbd_terminate_connection in smb2_validate_message_id().
  • BUG 8503: SMB2_OP_CANCEL requests don't have to be signed.
  • BUG 8520: Fix SMB2 SMB2_OP_GETINFO and SMB2_OP_IOCTL parsing requirements.
  • BUG 8390: Fix the build of vfs_aixacl2.c.
  • BUG 8236: Empty notify servername.
  • BUG 8351: While migrating forms, don't fail if the form already exists.
  • BUG 8384: Fix smbd crashes triggered by Windows XP clients.

New in Samba 3.6.0 (Aug 10, 2011)

  • SMB2 support:
  • SMB2 support in 3.6.0 is fully functional (with one omission), and can be enabled by setting: max protocol = SMB2 in the [global] section of your smb.conf and re-starting Samba. All features should work over SMB2 except the modification of user quotas using the Windows quota management tools.
  • As this is the first release containing what we consider to be a fully featured SMB2 protocol, we are not enabling this by default, but encourage users to enable SMB2 and test it. Once we have enough confirmation from Samba users and OEMs that SMB2 support is stable in wide user testing we will enable SMB2 by default in a future Samba release.
  • Internal Winbind passdb changes:
  • Winbind has been changed to use the internal samr and lsa rpc pipe to get local user and group information instead of calling passdb functions. The reason is to use more of our infrastructure and test this infrastructure by using it. With this approach more code in Winbind is shared.
  • New Spoolss code:
  • The spoolss and the old RAP printing code have been completely overhauled and refactored.
  • All calls from lanman/printing code has been changed to go through the spoolss RPC interfaces, this allows us to keep all checks in one place and avoid special cases in the main printing code.
  • Printing code has been therefore confined within the spoolss code.
  • All the printing code, including the spoolss RPC interfaces has been changed to use the winreg RPC interfaces to store all data.
  • All data has been migrated from custom, arbitrary TDB files to the registry interface. This transition allow us to present correct data to windows client accessing the server registry through the winreg RPC interfaces to query for printer data. Data is served out from a real registry implementation and therefore arguably 100% forward compatible.
  • Migration code from the previous TDB files formats is provided. This code is automatically invoked the first time the new code is run on the server. Although manual migration is also available using the 'net printer migrate' command.
  • These changes not only make all the spoolss code much more closer to "the spec", it also greatly improves our internal testing of both spoolss and winreg interfaces, and reduces overall code duplication.
  • As part of this work, new tests have been also added to increase coverage.
  • This code will also allow, in future, an easy transition to split out the spooling functions into a separate daemon for those OEMs that do not need printing functionality in their appliances, reducing the code footprint.
  • ID Mapping Changes:
  • The id mapping configuration has been a source of much grief in the past. For this release, id mapping has been rewritten yet again with the goal of making the configuration more simple and more coherent while keeping the needed flexibility and even adding to the flexibility in some respects.
  • The major change that implies the configuration simplifications is at the heart of the id mapping system: The separation of the "idmap alloc system" that is responsible for the unix id counters in the tdb, tdb2 and ldap idmap backends from the id mapping code itself has been removed.
  • The sids_to_unixids operation is now atomic and encapsulates (if needed) the action of allocating a unix id for a mapping that is to be created.
  • Consequently all idmap alloc configuration parameters have vanished and it is hence now also not possible any more to specify an idmap alloc backend different from the idmap backend. Each idmap backend uses its own idmap unixid creation mechanism transparently.
  • As a consequence of the id mapping changes, the methods that are used for storing and deleting id mappings have been removed from the winbindd API. The "net idmap dump/restore" commands have been rewritten to not speak through winbindd any more but directly act on the databases.
  • This is currently available for the tdb and tdb2 backends, the implementation for ldap still missing.
  • The allocate_id functionality is preserved for the unix id creator of the default idmap configuration is also used as the source of unix ids for the group mapping database and for the posix attributes in a ldapsam:editposix setup.
  • As part of the changes, the default idmap configuration has been changed to be more coherent with the per-domain configuration.
  • The parameters "idmap uid", "idmap gid" and "idmap range" are now deprecated in favour of the systematic "idmap config * : range" and "idmap config * : backend" parameters. The reason for this change is that the old options only provided an incomplete and hence deceiving backwards compatibility, which was a source of many problems with upgrades. By introducing this change in configuration, it should be brought to the conciousness of the users that even the simple id mapping is not working exactly as in Samba 3.0 versions any more.
  • Endpoint Mapper:
  • As Microsoft is more and more relying on endpoint mapper and we didn't have a complete implementation we decided to create an instance for Samba. The endpoint mapper is like a DNS server but for ports. If you want to talk to a certain RPC service over TCP/IP, you just ask the endpoint mapper on which port it is running. Then you can connect to the service and make sure that it is running.
  • The code is deactivated by default, because it needs more testing and it doesn't scale yet. If you want to enable and test the endpoint mapper you can set "rpc_server:epmapper = daemon" in the smb.conf file.
  • Internal restructuring:
  • Ongoing internal restructuring for better separation of internal subsystem to achieve a faster build, smaller binaries and cleaner dependencies for the samba3 waf build.
  • SMB Traffic Analyzer:
  • Added the new SMB Traffic Analyzer (SMBTA) VFS module protocol 2 featuring encryption, multiple arguments, and easier parseability. A new tool 'smbta-util' has been created to control the encryption behaviour of SMBTA. For compatibility, SMBTA by default operates on version 1.
  • There are programs consuming the data that the module sends.

New in Samba 3.5.11 (Aug 4, 2011)

  • BUG 7462: Make SA_RESETHAND conditional on its existance.
  • BUG 8254: Make "acl check permissions = no" working in all cases.
  • BUG 8253: Fix Winbind panics if verify_idpool() fails.
  • BUG 8269: Stop spamming log with "Could not find child X -- ignoring" messages in smbd.
  • BUG 7460: Include sys/file.h only when available.
  • BUG 7841: Explicitly pass domain_sid to wbint_LookupRids().
  • BUG 8238: Fix access to Samba shares when Windows security patch KB2536276 is installed.
  • BUG 8322: Add HAVE_FUNCTION_ATTRIBUTE_DESTRUCTOR.
  • BUG 7841: Make WINBINDD_LOOKUPRIDS ask the right domain.
  • BUG 7949: Fix DoS in Winbind and smbd with many file descriptors open.
  • BUG 8276: Close all sockets attached to a subnet in close_subnet().

New in Samba 3.5.10 (Jul 27, 2011)

  • BUG 8289: SWAT contains a cross-site scripting vulnerability.
  • BUG 8290: CSRF vulnerability in SWAT.

New in Samba 3.5.9 (Jun 15, 2011)

  • BUG 6911: Kerberos authentication from Vista to Samba fails when security blob size is greater than 16 kB.
  • BUG 7080: Quota only shown when logged as root.
  • BUG 7528: Fix Solaris with NIS autohome.
  • BUG 7987: ACL can get lost when files are being renamed.
  • BUG 7996: sgid bit lost on folder rename.
  • BUG 8040: Fix 'smbclient' segfaults when a Cyrillic netbios name or workgroup is configured.
  • BUG 8072: Fix panic in create_file_acl_common.
  • BUG 8038: Fix is_myname_or_ipaddr() to be robust against strange DNS setups.
  • BUG 8083: "inherit owner = yes" doesn't interact correctly with vfs_acl_xattr or vfs_acl_tdb module.
  • BUG 8088: Fix segfault in rpccli_samr_chng_pswd_auth_crap if any input blobs are null.
  • BUG 8111: CIFS VFS: Fix unexpected error on SMB posix open.
  • BUG 8157: Fix parsing CUPS printcap files in std_pcap_cache_reload().
  • BUG 8163: Fix our asn.1 parser to handle negative numbers.
  • BUG 8211: "inherit owner = yes" doesn't interact correctly with "inherit permissions = yes".
  • BUG 8008: Fix a segfault in the krb5 locator plugin.
  • BUG 8012: Use getgrset() instead of initgroups() + getgroups() when getgrouplist() is not defined.
  • BUG 8031: Convert gpfs:sharemodes and gpfs:leases parameters from a global setting to a per share setting.
  • BUG 7893: Don't ever ask for machine$ principals as a target.
  • BUG 8074: Fix debug message.
  • BUG 6966: Respect "allow trusted domains = no" in Winbind.
  • BUG 8047: Fix mdns registration if "interfaces=" is used.
  • BUG 7993: Make sure we don't crash when publishing a single printer.
  • BUG 8085: Fix incorrect timeout handling in ncacn_ip_tcp client code.
  • BUG 8132: Fix filling printers location field when using CUPS.
  • BUG 7836: Make newly added printers visible to clients.
  • BUG 7994: Use printcap IDL for IPC.
  • BUG 7825: Fix GNU ld version detection with old gcc releases.
  • BUG 8033: Add explicit configure option whether to enable dmapi support or not.
  • BUG 8099: setpwent() actually does endpwent() on FreeBSD.
  • BUG 8009: Fix getting username in 'net rap session'.
  • BUG 8011: Fix memory corruption in shadow_copy2.
  • BUG 8016: Fix gpfs_get_xattr.
  • BUG 8042: File creation on OS/X.
  • BUG 8054: Winbind cache stores/retrieves wrong sizes for 16-bit ints.
  • BUG 8066: Fix wrong output in 'smbget'.
  • BUG 8087: Fix wbcChangeUserPasswordEx in RESPONSE mode.
  • BUG 8010: Fix inode generation so nautilus can count total dir size correctly.
  • BUG 6364: Pull realm from supplied username on libnet join.
  • BUG 8166: Don't lockout users when offline.
  • BUG 7383: Normalize IPv4 mapped IPv6 addresses in both directions.
  • BUG 8034: SEC_STD_DELETE is always granted to the owner of a file.
  • BUG 8055: Can't see Parts of DFS CIFS share.
  • BUG 7610: winbindd_cache.tdb grows too large when scaled.
  • BUG 6762: Fix ctdb on gpfs error with MS Office.

New in Samba 3.5.8 (Mar 7, 2011)

  • Major enhancements in Samba 3.5.8 include:
  • Fix Winbind crash bug when no DC is available (bug #7730).
  • Fix finding users on domain members (bug #7743).
  • Fix memory leaks in Winbind (bug #7879).
  • Fix printing with Windows 7 clients (bug #7567).

New in Samba 3.5.7 (Mar 1, 2011)

  • BUG 7949: Fix DoS in Winbind and smbd with many file descriptors open.

New in Samba 3.5.5 (Sep 16, 2010)

  • This is a security release in order to address CVE-2010-3069:
  • All current released versions of Samba are vulnerable to a buffer overrun vulnerability. The sid_parse() function (and related dom_sid_parse() function in the source4 code) do not correctly check their input lengths when reading a binary representation of a Windows SID (Security ID). This allows a malicious client to send a sid that can overflow the stack variable that is being used to store the SID in the Samba smbd server.
  • Jeremy Allison * BUG 7669: Fix for CVE-2010-3069.
  • Andrew Bartlett * BUG 7669: Fix for CVE-2010-3069.

New in Samba 3.5.4 (Jun 23, 2010)

  • BUG 7507: Fix init_sam_from_ldap storing group in sid2uid cache.
  • BUG 7188: Make ea data checks identical for trans2open and trans2mkdir.
  • BUG 7410: Samba sends "raw" inode number as uniqueid with unix extensions.
  • BUG 7449: Fix spnego returning incorrect mechListMIC string.
  • BUG 7341: Fix Winbind over IPv6.
  • BUG 7459: Fix some crash bugs and missing error codes in AddDriver paths.
  • BUG 7479: Fix crash bug in _samr_QueryUserInfo{2} level 18.
  • BUG 7517: Fix session setup from linux kernel cifs clients with "sec=ntlmv2".
  • BUG 7209: Fix build on RHEL5.
  • BUG 7427: Using IBM xl_C compiler produces wrong results in configure.
  • BUG 7503: Fix calculation of st_blocks in vfs_streams_xattr.
  • BUG 7504: Fix numerous build issues.
  • BUG 7253: Fix Samba login cache problem on Sparc Architecture.
  • BUG 7262: Fix editing users' groups via UsrMgr.
  • BUG 7500: Fix 'not a string literal' warning in netdomjoin-gui.
  • BUG 7099: Allow previous password to be stored and use it to check tickets.
  • BUG 7423: Fix printing large formats.
  • BUG 7448: Fix smbd crash when sambaLMPassword and sambaNTPassword entries missing from ldap.

New in Samba 3.5.3 (May 19, 2010)

  • Fix MS-DFS functionality (bug #7339).
  • Fix a Winbind crash when scanning trusts (bug #7389).
  • Fix problems with SIGCHLD handling in Winbind (bug #7317).

New in Samba 3.5.2 (Apr 7, 2010)

  • BUG 7231: Fix automatic building of vfs_tsmsm if gpfs and dmapi are present.
  • BUG 7232: Fix race conditions in CTDB persistent transactions.
  • BUG 7313: Make 'net conf addshare' atomic.
  • BUG 7314: Eliminate race condition in creating/scanning sorted subkeys in the registry backend.
  • BUG 7075: Fix bug in vfs_scannedonly rmdir implementation.
  • BUG 7159: Fix handling of bad server data returns in client rpc_transport.
  • BUG 7234: Symlink delete fails but incorrectly reports success to client.
  • BUG 7255: Fix "printer admin" functionality.
  • BUG 7283: Fix smbd segfault if using vfs_acl_tdb.
  • BUG 7297: Fix smbd crashes with CUPS printers and no [printers] share defined.
  • BUG 7310: Fix DOS attribute inconsistency with MS Office.
  • BUG 7290: Fix core dump in 'ntlm_auth' with "gss-spnego" helper.
  • BUG 6727: Fix several printing issues.
  • BUG 7237: Fix smbd segfaults in _netr_SamLogon for clients sending null domain.
  • BUG 7256: Fix value-needed calculation in_spoolss_EnumPrinterData().
  • BUG 7258: Fix _winreg_QueryValue crash bugs and implement Windows behavior.
  • BUG 7203: Fix 'net share' command.
  • BUG 7269: Fix job management commands for CUPS queues.
  • BUG 6853: Fix race condition in mount.cifs that allows user to replace mountpoint with a symlink.
  • BUG 5198: Fix parsing of the gecos field.
  • BUG 7202: Fix access by multi-threaded applications.
  • BUG 7212: Fix returning of group members with 'getent group'.
  • BUG 7216: Fix the build of net_afs.c with --fake-kaserver=yes.
  • BUG 7229: Fix a NULL pointer dereference in smbd.
  • BUG 7232: Fix race conditions in CTDB persistent transactions.
  • BUG 7254: Fix an uninitialized variable read in smbd.
  • BUG 7278: Fix a memleak in Winbind.
  • BUG 6814: Fix valgrind warning.
  • BUG 7170: Never mark external domains as internal in Winbind.
  • BUG 7225: Make Winbind logs more verbose for troubleshooting.
  • BUG 7251: Fix smbd segfault in "waiting for connections" message.
  • BUG 7295: Fix Winbind reconnection to it's own domain.
  • BUG 7316: Winbind possibly segfaults when trying a trusted domain without inbound trust.
  • BUG 1206: Fix segfault if hide files or veto files has no ".AppleDouble".
  • BUG 7204: Fix DN parsing name was always null.
  • BUG 7312: Many disconnecting clients render clustered Samba unusuable for some time.
  • BUG 7206: Signals are processed twice in child.

New in Samba 3.5.1 (Mar 9, 2010)

  • BUG 7222: Fix for CVE-2010-0728.

New in Samba 3.5.0 (Mar 1, 2010)

  • General changes:
  • Add support for full Windows timestamp resolution
  • The Using Samba HTML book has been removed.
  • 'net', 'smbclient' and libsmbclient can use credentials cached by Winbind.
  • The default value of "wide links" has been changed to "no".
  • Protocol changes:
  • Experimental implementation of SMB2
  • Printing Changes:
  • Add encryption support for connections to a CUPS server
  • Winbind changes:
  • Major refactoring
  • Asynchronous
  • VFS modules:
  • New vfs_scannedonly module has been added.

New in Samba 3.4.6 (Feb 24, 2010)

  • "wide links" and "unix extensions" are incompatible (bug #7104).
  • Fix printing with 64 bit clients (bug #6888).
  • Fix core dump on Ubuntu 8.04 64 bit (bug #7063).
  • Fix failing of smbd to respond to a read or a write caused by Linux asynchronous IO (aio) (bug #7067).
  • Fix string buffer overflow causing heap corruption in smbd (bug #7096).

New in Samba 3.5.0 RC3 (Feb 23, 2010)

  • BUG 6557: Fix vfs_full_audit.
  • BUG 6876: Fix duplicate initializer in the rmdir module.
  • BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
  • BUG 7067: Fix failing of smbd to respond to a read or a write caused by Linux asynchronous IO (aio).
  • BUG 7069: Fix 'smbget' error status.
  • BUG 7072: Fix unlocking of accounts from ldap.
  • BUG 7079 Cliconnect gets realm wrong with trusted domains.
  • BUG 7081: Fix vfs_expand_msdfs.
  • BUG 7084: Fix storing of create time on directories in an EA in new create time code.
  • BUG 7104: "wide links" and "unix extensions" are incompatible.
  • BUG 7118: Fix nmbd problems with socket address.
  • BUG 7122: Fix reading of large browselist.
  • BUG 7154: "mangling method = hash" can crash storing a name containing a '.'.
  • BUG 7155: Valgrind Conditional jump or move depends on uninitialised value(s) error when "mangling method = hash"..
  • BUG 6888: Fix printing with 64 bit clients.
  • BUG 7130: Fix listing of printjobs in Windows 7.
  • BUG 7148: Fix get_acl_blob in the acl_tdb VFS module.
  • BUG 7103: Fix build issue on Tru64.
  • BUG 7116: Change ldap filter to what really was intended.
  • Fix some wrong newlines in de translation strings.
  • BUG 6868: Fix crash bug in 'cifs.upcall'.
  • BUG 7085: Fix an early release of the global lock that can cause data corruption in libtdb.
  • BUG 7139: Owner of file not available with Kerberos.
  • BUG 6888: Fix printing with 64 bit clients.
  • BUG 7098: Fix results of 'smbclient -L' with a large browse list.
  • BUG 7116: Add pdb_ldap performance fixes.
  • BUG 7118: Add new "nmbd bind explicit broadcast" parameter.
  • BUG 7119: Support large browselist.
  • BUG 7140: Fix IPv4/IPv6 problems.
  • BUG 7071: Fix build of 'smbfilter'.
  • BUG 7047: Add cross option to samba_cv_linux_getgrouplist_ok.
  • BUG 7102: Normalize "Changing password for" msg IDs and STRs.
  • BUG 7076: Fix build of vfs_scannedonly on AIX.
  • BUG 7106: Fix malformed require_membership_of_sid.

New in Samba 3.5.0 RC2 (Jan 27, 2010)

  • BUG 4347: Check password history before increasing "badPasswordCount".
  • BUG 5202: Fix changing of ACLs on writable file with "dos filemode=yes".
  • BUG 6876: Fix deletion of an object whose parent folder does not have delete rights fails even if the delete right is set on the object in vfs_acl_xattr and vfs_acl_tdb.
  • BUG 7033: Fix SMBrmdir error message when deleting a directory fails.
  • BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
  • BUG 7045: Fix bad (non memory copying) interfaces in smbc_setXXXX calls.
  • BUG 7029: Disable sanity check in NetShareEnum for better compatibility with Windows.
  • BUG 7039: Fix compile error with WITH_DNS_UPDATE. Update .po files.
  • BUG 7043: Fix crash bug in libsmbclient.
  • BUG 7039: Complete German translation of 'net'.
  • BUG 7039: Improve some German translations in 'net'.
  • BUG 7052: Fix DFS on AIX.
  • BUG 6981: Fix large paged search with DirX LDAP servers.
  • BUG 7027: Fix a segfault in winbindd_dual_ccache_ntlm_auth().
  • BUG 7037: Fix a Winbind segfault in "trusted_domains".
  • BUG 7046: Fix libsmbclient crash against OpenSolaris CIFS server.
  • BUG 7062: Make 'net', 'smbclient' and libsmbclient use the logon credentials cached by Winbind.
  • Lock down some srvsvc calls according to what w2k3 seems to do.
  • BUG 6157: Restore Samba 3.0.x behavior and use the first "uid" value in pdb_ldap.
  • BUG 7034: Fix segfault in vfs_cap.
  • BUG 7028: Add new scannedonly VFS module.

New in Samba 3.4.5 (Jan 19, 2010)

  • BUG 5202: Fix changing of ACLs on writable files with "dos filemode=yes".
  • BUG 7020: Fix memory leak in smbd.
  • BUG 7036: Fix 'net rpc getsid' in hardened Windows environments.
  • BUG 7045: Fix bad (non memory copying) interfaces in smbc_setXXXX calls.
  • BUG 7043: Fix crash bug in "SMBC_parse_path".
  • BUG 7046: Fix a crash in libsmbclient used against the OpenSolaris CIFS server.
  • BUG 6642: Fix opening the quota magic file.
  • BUG 6919: Fix remote quota management.
  • BUG 7034: Fix internal error caused by vfs_cap.

New in Samba 4.0.0 Alpha 11 (Jan 11, 2010)

  • fixed a number of serious bugs in the implementation of AD-compatible 'Directory Replication Services'. We can now join an AD domain as a read-write DC.

New in Samba 3.4.4 (Jan 7, 2010)

  • BUG 6851: Add pdbedit --kickoff-time/-K to set the user's kickoff time.
  • BUG 6901: Fix "UID range full" error in Winbind.
  • BUG 6910: Fix multiple LDAP servers in "idmap backend" and "idmap alloc backend".
  • BUG 6828: Fix infinite timeout when byte lock held outside of samba.
  • BUG 6837: Fix "Too many open files" message when trying to access a large number of files with Windows 7.
  • BUG 6841: Fix "map acl inherit = yes".
  • BUG 6867: Fix listing of directories with a lot of files.
  • BUG 6875: Fix DOS attributes on OS/2 clients.
  • BUG 6880: Fix listing of workgroup servers in libsmbclient.
  • BUG 6898: Samba duplicates file content on appending.
  • BUG 6939: Fix long filenames with "mangling method = hash".
  • BUG 7005: Fix "mangle method = hash" truncates files with dot "." character.
  • BUG 4832: Fix iconv checks.
  • BUG 6697: Fix interdomain trust relationships with Win2008R2.
  • BUG 6868: Support building with Heimdal we well as with MIT.
  • BUG 6889: Fix Winbind crashes when queried from nss.
  • BUG 6929: Fix build with recent heimdal.
  • Fix the build of the winbind krb5 locator plugin.
  • Fix enumprinter key client and server.
  • BUG 6338: Do not always display "none" in 'net rpc trustdom list'.
  • BUG 6850: Fix shadow copy display on Windows 7.
  • BUG 6981: Fix paged search with DirX LDAP server.
  • BUG 6982: Remove erroneous out of memory error path in lookup_sid.
  • BUG 6997: Fix _samr_GetAliasMembership for results with 0 rids.
  • BUG 6967: Fix 'net ads join' with OU.
  • BUG 7014: Fix Winbind crash when retrieving empty group members.
  • BUG 6918: Fix krb5 build problem on Ubuntu karmic.

New in Samba 4.0.0 Alpha 9 (Dec 1, 2009)

  • Samba4 now includes the full set of user interface strings (display Specifiers) required to have the Microsoft Management Console operate
  • LDB (the core Samba4 database library) has again been reworked for better performance
  • Replication between Samba4 and Active Directory domains using the native replication protocol (DRS) has been demonstrated.
  • Access Control Lists (in nTSecurityDescriptor) are now set correctly on objects in the directory, based on the same rules as Windows 2008. (Searches and still use a simplistic administrator/not administrator criteria)

New in Samba 3.4.3 (Oct 31, 2009)

  • Jeremy Allison :
  • BUG 6529: Offline files conflict with Vista and Office 2003.
  • BUG 6726: SIVAL should have been an SVAL.
  • BUG 6769: Fix symlink unlink.
  • BUG 6774: smbd crashes if "aio write behind" is set.
  • BUG 6776: Fix core dump caused by running overlapping Byte Lock test.
  • BUG 6781: Fix renaming subfolders in Explorer view.
  • BUG 6793: Fix Winbind crash with "INTERNAL ERROR: Signal 6".
  • BUG 6796: Deleting an event context on shutdown can cause smbd to crash.
  • BUG 6828: Fix infinite timeout when byte lock held outside of Samba.
  • BUG 6829: Fix displaying of multibyte characters in smbclient.
  • Günther Deschner :
  • BUG 6711: Fix trust relationships to windows 2008 (2008 r2).
  • BUG 6815: Fix Windows 2008 R2 SPNEGO negTokenTarg parsing failure.
  • Olaf Flebbe :
  • BUG 6772: Allow outstanding_aio_calls to be decremented.
  • BUG 6804: Fix hpux compiler issue.
  • BUG 6805: Correctly handle aio_error() and errno.
  • Björn Jacke :
  • BUG 6704: Fix syntax error in avahi configure test.
  • BUG 6728: BSD needs sys/sysctl.h included to build properly.
  • BUG 6824: Fix avahi activation.
  • QNX doesn't know uint - replace with uint_t.
  • Andrew Klosterman :
  • BUG 6690: Fix wrong error check in profile.
  • Marc Aurele La France :
  • BUG 6707: Fix an occasional segfault in config file parsing.
  • Jeff Layton :
  • BUG 6810: Add support for finding alternate credcaches to cifs.upcall.
  • Volker Lendecke :
  • BUG 6606: Fix file corruption using smbclient with NT4 server.
  • BUG 6703: Allow smbstatus as non-root.
  • BUG 6731: Fix reading beyond the end of a named stream in xattr_streams.
  • BUG 6765: Add a "hidden" parameter "share:fake_fscaps".
  • BUG 6793: Fix segfault in winbindd_pam_auth.
  • BUG 6797: Fix a memleak in libwbclient.
  • BUG 6807: Fix a segfault in "net rpc trustdom list" for long domain names.
  • Fix an uninitialized variable.
  • Only ever handle one event after a select call.
  • Derrell Lipman :
  • BUG 6532: Fix domain enumeration if master browser has space in name.
  • Stefan Metzmacher :
  • BUG 6711: Fix trust relationships to windows 2008 (2008 r2).
  • Buchan Milne :
  • BUG 6791: Fix linking order in cifs.upcall.
  • Lars Müller :
  • BUG 6710: Adjust regex to match variable names including underscores.
  • Conditional install of the cifs.upcall man page.
  • Shirish Pargaonkar :
  • BUG 4675: mount.cifs: Do not attempt to update /etc/mtab if it is a symbolic link.
  • Karolin Seeger :
  • Fix warning occuring when building the manpages.
  • Simo Sorce :
  • BUG 6764: Fix timeval calculation.
  • Bo Yang :
  • BUG 6735: Don't overwrite password in pam_winbind, subsequent pam modules might use the old password and new password.
  • BUG 6811: Fix reference to freed memory in pam_winbind.
  • BUG 6826: Don't fail authentication when one or some group of require-membership-of is invalid.
  • BUG 6840: Fix crash in pam_winbind.

New in Samba 3.4.2 (Oct 1, 2009)

  • BUG 6763: Fix for CVE-2009-2813.
  • BUG 6768: Fix for CVE-2009-2906.
  • Fix for CVE-2009-2948.

New in Samba 3.4.1 (Sep 9, 2009)

  • Fix authentication on member servers without Winbind (bug #6650).
  • Nautilus fails to copy files from an SMB share (bug #6649).
  • Fix connections of Win98 clients (bug #6551).
  • Fix interdomain trusts with Windows 2008 R2 DCs (bug #6697).
  • Fix Winbind authentication issue (bug #6646).

New in Samba 3.4.0 (Jul 11, 2009)

  • Configuration changes: The default passdb backend has been changed to 'tdbsam'!
  • General changes: Samba4 and Samba3 sources are included in the tarball
  • Authentication Changes: Changed the way smbd handles untrusted domain names given during user authentication.
  • Printing Changes: Various fixes including printer change notificiation for Samba spoolss print servers.
  • Internal changes:
  • The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog and spoolss) were replaced by autogenerated code based on PIDL.
  • Samba3 and Samba4 do now share a common tevent library.
  • The code has been cleaned up and the major basic interfaces are shared with Samba4 now.
  • An asynchronous API has been added.

New in Samba 3.3.6 (Jul 3, 2009)

  • This is a security release in order to address CVE-2009-1888.

New in Samba 3.4.0 RC1 (Jun 19, 2009)

  • Configuration changes: The default passdb backend has been changed to 'tdbsam'!
  • General changes: Samba4 and Samba3 sources are included in the tarball
  • Authentication Changes: Changed the way smbd handles untrusted domain names given during user authentication.
  • Printing Changes: Various fixes including printer change notificiation for Samba spoolss print servers.
  • Internal changes:
  • The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog and spoolss) were replaced by autogenerated code based on PIDL.
  • Samba3 and Samba4 do now share a common tevent library.
  • The code has been cleaned up and the major basic interfaces are shared with Samba4 now.
  • An asynchronous API has been added.

New in Samba 3.3.5 (Jun 16, 2009)

  • Fix SAMR and LSA checks (bug #6089, #6289)
  • Fix posix acls when setting an ACL without explicit ACE for the owner (bug #2346).
  • Fix joining of Win7 into Samba domain (bug #6099).
  • Fix joining of Win2000 SP4 clients (bug #6301).

New in Samba 3.4.0 Pre 1 (Apr 30, 2009)

  • General changes: Samba4 and Samba3 sources are included in the tarball
  • Authentication Changes: Changed the way smbd handles untrusted domain names given during user authentication.
  • Printing Changes: Various fixes including printer change notificiation for Samba spoolss print servers.
  • Internal changes:
  • The remaining hand-marshalled DCE/RPC services (ntsvcs, svcctl, eventlog and spoolss) were replaced by autogenerated code based on PIDL.
  • Samba3 and Samba4 do now share a common tevent library.
  • The code has been cleaned up and the major basic interfaces are shared with Samba4 now.
  • An asynchronous API has been added.

New in Samba 3.3.4 (Apr 29, 2009)

  • net conf: Save share name as given, not as lower case only.
  • Prevent creation of registry keys containing the '/' character.
  • BUG 6089: Fix samr_OpenDomain access checks.
  • BUG 6254: Fix IPv6 PUT/GET errors to an SMB server (3.3) with "msdfs root" set to "yes".
  • BUG 6279: Fix Winbind crash.
  • Allow pdbedit to change a user rid/sid.
  • When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid.
  • Don't access a freed structure when logging off and re-using a vuid.
  • BUG 5329: Add "net rpc service delete/create".
  • BUG 6238: Make sure wbcLogoffUserParams are properly initialized before freed.
  • BUG 6263: Fix domain logins for WinXP clients pre SP3.
  • BUG 6286: Call init function for builtin idmap modules before probing for them as shared modules.
  • Try to to fix password_expired flag handling.
  • Make sure to grey out change fields in the netdomjoin-gui when not running as root.
  • Don't look up local user for remote changes, even when root.
  • BUG 6243: Fix usrmgr.exe creating a user.
  • Use procid_str in debug messages for better cluster-debuggability.
  • Use cluster-aware procid_is_me instead of comparing pids.
  • Fix smbd crash for close_on_completion.
  • Fix a memleak in an unlikely error path in change_notify_create().
  • Do not use the file system GET_REAL_FILENAME for mangled names.
  • Fix a crash bug if we timeout in net rpc trustdom list.
  • Add '--request-timeout' option to net.
  • In net_conf_import, start a transaction when importing a single share.
  • Fix writing of roaming profiles with "profile acls" set to "yes".

New in Samba 3.3.3 (Apr 2, 2009)

  • BUG 6195: Don't let smbd child processes panic.
  • Add backend_requires_messaging() method to libsmbconf.
  • Add methods is_writeable() and wrapper smbconf_is_writeable() to libsmbconf.
  • Fall back to file backend when no valid backend was found.
  • Fix a memleak in dbwrap_rbt.
  • Provide transaction_start|commit|cancel fns for the registry tdb.
  • Speed up "net conf drop".
  • Speed up "net conf import".
  • Add transactions to the libsmbconf API.
  • Reduce memory usage of "net conf import".
  • Registry cleanup.
  • Fix handling of SAMBA_VERSION_VENDOR_PATCH.
  • Fix build of pam_winbind.so with static linking.
  • Tidy up some convert_string_internal error cases.
  • BUG 6186: Fix map readonly.
  • BUG 6195: Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb correctly.
  • BUG 6196: Unable to serve files with colons to Linux CIFS/VFS client.
  • BUG 6224: nmbd waits 5 minutes at startup before checking if it needs to run elections.
  • Allow DFS client paths to work when POSIX pathnames have been selected.
  • Try and fix the build farm RAW-STREAMS errors.
  • Ensure files starting with multiple dots are hidden.
  • BUG 6102: NetQueryDisplayInformation could return wrong information.
  • BUG 6193: Avoid messing with sync_context in libnet_samsync_delta().
  • Fix notify_printer_status_byname.
  • Fix Coverity IDs 722, 762, 774, 775, 776.
  • Fix build on old Heimdal based systems.
  • Fix compile warning.
  • Use parentheses in if condition to make negation clear.
  • Add dirsort module.
  • BUG 6147: Fix detection of the GNU ld version.
  • BUG 6097: Fix smbd segfault.
  • BUG 6130: Don't crash in winbindd_rpc lookup_groupmem() on unmapped members.
  • BUG 6139: Add missing whitespace in mount.cifs error message.
  • Fix a malloc/talloc mismatch when cli_initialise() fails.
  • Fix a valgrind error.
  • Speed up "net conf list".
  • Add sorted subkey cache.
  • Use StrCaseCmp in the dirsort module.
  • Document the dirsort module.
  • Fix the build on HP/UX.
  • Disable dns_sd by default.
  • Add avahi detection to configure.
  • Add event avahi binding.
  • Use avahi to register _smb._tcp in smbd.
  • Fix two memleaks in the encryption code.
  • Fix a scary "fill_share_mode_lock failed" message.
  • BUG 6228: Fix SMBC_open_ctx failure due to path resolve failure doesn't set errno.
  • Don't use reserved words in smbconftort.
  • Fix smb signing for fragmented trans/trans2/nttrans requests.
  • Parse_packet can return NULL which is then dereferenced in match_mailslot_name.
  • Format the header check for netinet/ip.h more nicely.
  • Fix detection of netinet/ip.h on FreeBSD.
  • Missing break in conversion function prevents tdb password database update.

New in Samba 3.3.2 (Mar 12, 2009)

  • Fix "force group".
  • Fix saving of files on Samba share using MS Office 2007.
  • Fix guest authentication in setups with "security = share" and "guest ok = yes" when Winbind is running.
  • Fix corruptions of source path in tar mode of smbclient.

New in Samba 3.3.1 (Feb 24, 2009)

  • Fix net ads join when "ldap ssl = start tls".
  • Fix renaming/deleting of files using Windows clients.
  • Fix renaming/deleting a "not matching/resolving" symlink.
  • Fix remotely adding a share via the Windows MMC.

New in Samba 3.3.0 (Jan 27, 2009)

  • General changes:
  • The passdb tdbsam version has been raised.
  • Configuration/installation:
  • Splitting of library directory into library directory and separate modules directory.
  • The default value of "ldap ssl" has been changed to "start tls".
  • File Serving:
  • Extended Cluster support.
  • New experimental VFS modules "vfs_acl_xattr" and "vfs_acl_tdb" to store NTFS ACLs on Samba file servers.
  • Winbind:
  • Simplified idmap configuration.
  • New idmap backends "adex" and "hash".
  • Added new parameter "winbind reconnect delay".
  • Added support for user and group aliasing.
  • Added support for multiple domains to idmap_ad.
  • Administrative tools:
  • The destination "all" of smbcontrol does now affect all running daemons including nmbd and winbindd.
  • New 'net rpc vampire keytab' and 'net rpc vampire ldif' commands.
  • The 'net' utility can now use kerberos for joining and authentication.
  • The 'wbinfo' utility can now add, modify and remove identity mapping entries.
  • Libraries:
  • NetApi library implements various new calls for User- and Group Account Management.
  • libsmbclient does now determine case sensitivity based on file system attributes.

New in Samba 3.2.7 (Jan 5, 2009)

  • Fix for CVE-2009-0022.

New in Samba 3.3.0 RC2 (Dec 28, 2008)

  • BUG 1254: Fix "write list" in setups using "security = share".
  • BUG 5937: Fix filenames with "*" char hiding other files.
  • BUG 5953: Fix segfaults in smbclient.
  • Fix usrmgr opening a user object as non-root.
  • BUG 3661: Add support for trusted domains to idmap_ad.
  • Fix default backend handling for ad backends.
  • Fix potential segfault in vfs_tsmsm.
  • Fix several RHEL CTDB packaging issues.
  • BUG 5957: Do not abort rename process on valid rename script.
  • Fix various potential memleaks in samr_SetUserInfo.
  • Fix access bits in netapi.
  • BUG 5934: Use USER environment in mount.cifs when no user is specified.
  • variable
  • BUG 5688: LPQ process is orphaned if socket address parameter is invalid.
  • Vars for signals must be volatile sig_atomic_t.
  • BUG 5929: Fix build of vfs_prealloc with option --with-cluster-support and GPFS.
  • BUG 5928: Fix 'testparm --version'.
  • Allow mounts to ipv6 capable servers in mount.cifs.
  • Fix crash bug when freeing a non-malloc'ed buffer if the client sends a non-encrypted packet with the crypto state set.
  • Fix error code when smbclient puts a file over an existing directory.
  • Pass the get_real_filename operation through the VFS.
  • BUG 5749: Re-set acctflags while joining.
  • Fix several issues concerning Alternate Data Streams.
  • Fix valgrind bug lp_parm_const_string().
  • Fix setting of trust passwords using 'net rpc trustdom add'.
  • Correctly detect if the current dc is the closest one.
  • Fix a delete on close divergence from windows.
  • Fix logging to syslog.
  • BUG 5944: Fix starting of nmbd with "socket address" set to "".
  • Fix script installmo.sh when no .po file exists.

New in Samba 4.0.0 Alpha 5 (Dec 28, 2008)

  • DAP backend support restored (issues preventing the use of the LDAP backend in alpha4 have been addressed).
  • SMB2 Support: The SMB2 server, while still disabled, has improved, and now supports SMB2 signing.
  • OpenChange support: Updates have been made since alpha4 to better support OpenChange's use of Samba4's libraries.
  • Faster ldb loading: A fix to avoid calling 'init_module' (which was not defined by Samba modules, but was by the C library) will fix some of the slowness in authentication.
  • SWAT Remains Disabled: Due to a lack of developer time and without a long-term web developer to maintain it, the SWAT web UI remains been disabled (and would need to be rewritten in python in any case).
  • GNU Make: To try and simplfy our build system, we rely on GNU Make to avoid autogenerating a massive single makefile.

New in Samba 3.2.6 (Dec 28, 2008)

  • Fix Winbind crash bugs.
  • Fix moving of readonly files.
  • Fix "write list" in setups using "security = share".
  • Fix access to cups-printers with cups 1.3.4.
  • Fix timeouts in setups with large groups.
  • Fix several bugs concerning Alternate Data Streams.
  • Add new SMB traffic analyzer VFS module.

New in Samba 4.0.0 Alpha 4 (Aug 8, 2008)

  • Python Bindings: Bindings for Python are now used for all internal scripting, and the system python installation is used to run all Samba python scripts (in place of smbpython found in the previous alpha).
  • As such Python is no longer optional, and configure will generate an error if it cannot locate an appropriate Python installation.
  • SWAT Remains Disabled: Due to a lack of developer time and without a long-term web developer to maintain it, the SWAT web UI remains been disabled (and would need to be rewritten in python in any case).
  • GNU Make: To try and simplfy our build system, we rely on GNU Make to avoid autogenerating a massive single makefile.
  • Registry: Samba4's registry library has continued to improve.
  • ID mapping: Samba4 uses the internal ID mapping in winbind for all but a few core users. Samba users should not appear in /etc/passwd, as Samba will generate new user and group IDs regradless.
  • NTP: Samba4 can act as a signing server for the ntp.org NTP deamon, allowing NTPd to reply using Microsoft's non-standard signing scheme.A patch to make NTPd talk to Samba for this purpose has been submitted to the ntp.org project.
  • CLDAP: Users should experience less arbitary delays and more success with group policy, domain joins and logons due to an improved implementation of CLDAP and the 'netlogon' mailslot datagrams.
  • SMB2: The Samba4 SMB2 server and testsuite have been greatly improved, but the SMB2 server remains off by default.
  • Secure DNS update: Configuration for GSS-TSIG updates of DNS records is now generated by the provision script.

New in Samba 4.0.0 Alpha 4 (Aug 8, 2008)

  • Major bug fixes included in Samba 3.2.1 are:
  • Race condition in Winbind leading to a crash.
  • Regression in Winbindd offline mode.
  • Flushing of smb.conf when creating a new share using SWAT.
  • Setting of ACEs in setups with "dos filemode = yes".
  • Michael Adam
  • BUG 5608: Fix link creation for libtalloc.so.1 (and friends) on Solaris 8.
  • BUG 5594: Fix "make test" by adding and using a new testparm switch "--skip-logic-checks".
  • Fix creation of libaddns.a, libsmbclient.a and libsharemodes.a.
  • Update the section about net conf in the net(8) manpage.
  • Improve processing of registry shares.
  • Fix listing of registry shares with testparm.
  • Fix several build issues.
  • Jeremy Allison
  • BUG 5578: Fix error from strlcat.
  • BUG 5613: Fix flushing of smb.conf when creating a new share using SWAT.
  • Ensure consistent use of pdb_get_nt_passwd instead of pdb_get_lanman_passwd.
  • Remove worrying warning message when safe_strcpy tries to copy a pseaudo interface name that's too long.
  • Canonicalize servername in the printer functions to remove leading '' characters.
  • Fix option processing in smbcacls - add POPT_COMMON_CONNECTION.
  • Fix bug creating files using DOS clients with mixed case files.
  • Fix uninitialized variable.
  • Yannick Bergeron
  • Fix compile error on AIX 6.1
  • Jim Brown
  • Fix SGI compiler warnings.
  • Guenther Deschner
  • BUG 5616: Fix session keys also in rpccli_netr_LogonSamLogonEx wrapper.
  • BUG 5570: Fix bogus error message during AD domain join.
  • Fix trusted domain handling in Winbindd.
  • Fix build warning.
  • SATOH Fumiyasu
  • BUG 5202: Fix setting of ACEs for users/groups with write access in setups with 'dos filemode = yes'.
  • Re-activate 'acl group control' parameter and make it only apply to owning group.
  • Volodymyr Khomenko
  • Make ntimes function more like POSIX and allow NULL arg.
  • Volker Lendecke
  • BUG 5512: Fix alignment problems on sparc.
  • BUG 5616: Fix share connections in setups with "server signing = mandatory" or SMB signing set on the client side.
  • Fix a race condition in Winbind leading to a crash.
  • Fix a segfault in base64_encode_data_blob.
  • Fix some uninitialized variable references via ndr_print.
  • Fix error message if trying to join with a non-privileged user.
  • Fix setups using "include = registry" without [global] settings in the registry.
  • Fix "net sam rights" on domain member servers.
  • Add documentation for the vfs streams modules.
  • Herb Lewis
  • Cleanup some duplicate code by passing the password to the wbinfo_auth* functions.
  • Allow SID with 0 in subauthority to be converted properly.
  • Zach Loafman
  • Set sin[6]_family instead of ss_family in in[6]_addr_to_sockaddr_storage.
  • Fix realpath() check so that it doesn't generate a core() when it fails.
  • Jim McDonough
  • Fix overwriting of winbind logfiles.
  • Lars Mueller
  • Fix "vfs_full_audit.c: name table not in sync with vfs.h" panic.
  • Darshan Purandare
  • Add broadcasting of the debug message to all winbindd children.
  • Karolin Seeger
  • BUG 5635: Fix updating of printer queues.
  • Andreas Schneider
  • Release still reachable memory if the smbclient context is freed.
  • Remove trailing withespace from wbinfo -m which breaks gdm auth.
  • Simo Sorce
  • BUG 5540: Fix "set primary group script" user option substitution.
  • Fix regression in Winbindd offline mode.
  • Bo Yang
  • Allow authentication and memory credential refresh after password change from gdm/xdm.
  • Allow %u parameters for print job username.