Skip to content
Commits on Source (183)
......@@ -25,7 +25,7 @@
########################################################
SAMBA_VERSION_MAJOR=4
SAMBA_VERSION_MINOR=9
SAMBA_VERSION_RELEASE=1
SAMBA_VERSION_RELEASE=2
########################################################
# If a official release has a serious bug #
......
=============================
Release Notes for Samba 4.9.2
November 08, 2018
=============================
This is the latest stable release of the Samba 4.9 release series.
Changes since 4.9.1:
--------------------
o Andrew Bartlett <abartlet@samba.org>
* BUG 13418: dsdb: Add comments explaining the limitations of our current
backlink behaviour.
* BUG 13621: Fix problems running domain backups (handling SMBv2, sites).
o Tim Beale <timbeale@catalyst.net.nz>
* BUG 13621: Fix problems running domain backups (handling SMBv2, sites).
o Ralph Boehme <slow@samba.org>
* BUG 13465: testparm: Fix crashes with PANIC: Messaging not initialized on
SLES 12 SP3.
* BUG 13642: Make vfs_fruit able to cleanup AppleDouble files.
* BUG 13646: File saving issues with vfs_fruit on samba >= 4.8.5.
* BUG 13649: Enabling vfs_fruit looses FinderInfo.
* BUG 13667: Cancelling of SMB2 aio reads and writes returns wrong error
NT_STATUS_INTERNAL_ERROR.
o Amitay Isaacs <amitay@gmail.com>
* BUG 13641: Fix CTDB recovery record resurrection from inactive nodes and
simplify vacuuming.
o Volker Lendecke <vl@samba.org>
* BUG 13465: examples: Fix the smb2mount build.
* BUG 13629: libtevent: Fix build due to missing open_memstream on Illiumos.
* BUG 13662: winbindd_cache: Fix timeout calculation for sid<->name cache.
o Gary Lockyer <gary@catalyst.net.nz>
* BUG 13653: dsdb encrypted_secrets: Allow "ldb:// and "mdb://" in file path.
o Stefan Metzmacher <metze@samba.org>
* BUG 13418: Extended DN SID component missing for member after switching
group membership.
* BUG 13624: Return STATUS_SESSION_EXPIRED error encrypted, if the request
was encrypted.
o David Mulder <dmulder@suse.com>
* BUG 13621: python: Allow forced signing via smb.SMB().
* BUG 13665: lib:socket: If returning early, set ifaces.
o Noel Power <noel.power@suse.com>
* BUG 13616: ldb: Bump ldb version to 1.4.3, Python: Ensure ldb.Dn can accept
utf8 encoded unicode.
o Christof Schmitt <cs@samba.org>
* BUG 13465: testparm: Fix crashes with PANIC: Messaging not initialized on
SLES 12 SP3.
* BUG 13673: smbd: Fix DELETE_ON_CLOSE behaviour on files with READ_ONLY
attribute.
o Andreas Schneider <asn@samba.org>
* BUG 13601: waf: Add -fstack-clash-protection.
* BUG 13668: winbind: Fix segfault if an invalid passdb backend is
configured.
o Martin Schwenke <martin@meltin.net>
* BUG 13659: Fix bugs in CTDB event handling.
* BUG 13670: Misbehaving nodes are sometimes not banned.
#######################################
Reporting bugs & Development Discussion
#######################################
Please discuss this release on the samba-technical mailing list or by
joining the #samba-technical IRC channel on irc.freenode.net.
If you do report problems then please try to send high quality
feedback. If you don't provide vital information to help us track down
the problem then you will probably be ignored. All bug reports should
be filed under the "Samba 4.1 and newer" product in the project's Bugzilla
database (https://bugzilla.samba.org/).
======================================================================
== Our Code, Our Bugs, Our Responsibility.
== The Samba Team
======================================================================
Release notes for older releases follow:
----------------------------------------
=============================
Release Notes for Samba 4.9.1
September 24, 2018
......@@ -53,8 +147,8 @@ database (https://bugzilla.samba.org/).
======================================================================
Release notes for older releases follow:
----------------------------------------
----------------------------------------------------------------------
=============================
Release Notes for Samba 4.9.0
......
......@@ -674,23 +674,42 @@ def SAMBA_CONFIG_H(conf, path=None):
return
# we need to build real code that can't be optimized away to test
if conf.check(fragment='''
#include <stdio.h>
int main(void)
{
char t[100000];
while (fgets(t, sizeof(t), stdin));
return 0;
}
''',
execute=0,
ccflags='-fstack-protector',
ldflags='-fstack-protector',
mandatory=False,
msg='Checking if toolchain accepts -fstack-protector'):
conf.ADD_CFLAGS('-fstack-protector')
conf.ADD_LDFLAGS('-fstack-protector')
stack_protect_list = ['-fstack-protector-strong', '-fstack-protector']
for stack_protect_flag in stack_protect_list:
flag_supported = conf.check(fragment='''
#include <stdio.h>
int main(void)
{
char t[100000];
while (fgets(t, sizeof(t), stdin));
return 0;
}
''',
execute=0,
ccflags=[ '-Werror', '-Wp,-D_FORTIFY_SOURCE=2', stack_protect_flag],
mandatory=False,
msg='Checking if compiler accepts %s' % (stack_protect_flag))
if flag_supported:
conf.ADD_CFLAGS('-Wp,-D_FORTIFY_SOURCE=2 %s' % (stack_protect_flag))
break
flag_supported = conf.check(fragment='''
#include <stdio.h>
int main(void)
{
char t[100000];
while (fgets(t, sizeof(t), stdin));
return 0;
}
''',
execute=0,
ccflags=[ '-Werror', '-fstack-clash-protection'],
mandatory=False,
msg='Checking if compiler accepts -fstack-clash-protection')
if flag_supported:
conf.ADD_CFLAGS('-fstack-clash-protection')
if Options.options.debug:
conf.ADD_CFLAGS('-g', testflags=True)
......
......@@ -523,9 +523,15 @@ int sock_daemon_add_unix(struct sock_daemon_context *sockd,
return 0;
}
void sock_daemon_set_startup_fd(struct sock_daemon_context *sockd, int fd)
bool sock_daemon_set_startup_fd(struct sock_daemon_context *sockd, int fd)
{
if (! set_close_on_exec(fd)) {
D_ERR("Failed to set close-on-exec on startup fd\n");
return false;
}
sockd->startup_fd = fd;
return true;
}
/*
......
......@@ -216,8 +216,9 @@ int sock_daemon_add_unix(struct sock_daemon_context *sockd,
*
* @param[in] sockd Socket daemon context
* @param[in] fd File descriptor
* @return true on success, false on error
*/
void sock_daemon_set_startup_fd(struct sock_daemon_context *sockd, int fd);
bool sock_daemon_set_startup_fd(struct sock_daemon_context *sockd, int fd);
/**
* @brief Async computation start to run a socket daemon
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb-etcd
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB\-ETCD" "7" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB\-ETCD" "7" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb-script.options
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB\-SCRIPT\&.OPTIO" "5" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB\-SCRIPT\&.OPTIO" "5" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb-statistics
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB\-STATISTICS" "7" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB\-STATISTICS" "7" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb-tunables
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB\-TUNABLES" "7" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB\-TUNABLES" "7" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB" "1" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB" "1" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB" "7" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB" "7" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb.conf
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB\&.CONF" "5" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB\&.CONF" "5" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb.sysconfig
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB\&.SYSCONFIG" "5" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB\&.SYSCONFIG" "5" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdb_diagnostics
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDB_DIAGNOSTICS" "1" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDB_DIAGNOSTICS" "1" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: Ceph RADOS Mutex
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CEPH RADOS MUTEX" "7" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CEPH RADOS MUTEX" "7" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdbd
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDBD" "1" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDBD" "1" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ctdbd_wrapper
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "CTDBD_WRAPPER" "1" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "CTDBD_WRAPPER" "1" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ltdbtool
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "LTDBTOOL" "1" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "LTDBTOOL" "1" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: onnode
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "ONNODE" "1" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "ONNODE" "1" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......
......@@ -2,12 +2,12 @@
.\" Title: ping_pong
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 09/24/2018
.\" Date: 11/08/2018
.\" Manual: CTDB - clustered TDB database
.\" Source: ctdb
.\" Language: English
.\"
.TH "PING_PONG" "1" "09/24/2018" "ctdb" "CTDB \- clustered TDB database"
.TH "PING_PONG" "1" "11/08/2018" "ctdb" "CTDB \- clustered TDB database"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
......