Karolin Seeger | 20 Oct 10:01 2014

[Release Planning 4.1] Samba 4.1.14 scheduled for December 1


Samba 4.1.14 is scheduled for Monday, December 1.
The release branches will be frozen on Monday, November 24.

has been updated accordingly.



Samba			http://www.samba.org
SerNet			http://www.sernet.de
sambaXP			http://www.sambaxp.org

Karolin Seeger | 20 Oct 09:55 2014

[Announce] Samba 4.1.13 Available for Download

			   "I'm not insane. My mother had me tested!"

			    Sheldon, Big Bang Theory

Release Announcements

This is the latest stable release of Samba 4.1.

Changes since 4.1.12:

o    Michael Adam <obnox <at> samba.org>
     * BUG 10809: s3:smbd:open_file: Use a more natural check.

o   Jeremy Allison <jra <at> samba.org>
    * BUG 10717: s3: winbindd: Old NT Domain code sets struct
      winbind_domain->alt_name to be NULL. Ensure this is safe with modern
    * BUG 10779: pthreadpool: Slightly serialize jobs.
    * BUG 10809: s3: smbd: Open logic fix.
    * BUG 10830: s3: nmbd: Ensure the main nmbd process doesn't create zombies.
    * BUG 10831: s3: lib: Signal handling - ensure smbrun and change password
      code save and restore existing SIGCHLD handlers.
    * BUG 10848: s3: smb2cli: Query info return length check was reversed.

o   Günther Deschner <gd <at> samba.org>
    * BUG 9984: s3-libnet: Make sure we do not overwrite precreated SPNs.
(Continue reading)

Richard Sharpe | 20 Oct 02:56 2014

Using HyperV with Samba 4.2 (An update)

Hi folks,

Sending this out in the hope that it will be useful to some people.


This document describes how to get Samba 4.2 (or the Samba master
branch at this time) to work with HyperV.

The work described here was requested by Hedvig Inc and made possible
with technical help from Ata E Hussain and Abhijit Shennoy, who
provided packet captures and integrated the changes supplied into
Samba and tested that things worked.

We are making this information available so that more people can try
it out and provide feedback on the problems etc.


This code is not production ready. Support for reconnection of
persistent handles is still being developed and there are likely to be
corner cases that are not handled.

However, it can be used for testing.


There are two things that are needed to allow HyperV at least work
against Samba. You will need to start with the Samba 4.2 sources (the
latest master branch is probably best.)
(Continue reading)

Björn Jacke | 19 Oct 15:48 2014

[PATCH] nss_winbind: add getgroupmembership for FreeBSD

The getgroupmembership call on FreeBSD is needed for "winbind expand groups=0"
(the new default in 4.2) to work.

Thanks to Timur I. Bakeyev for the enhancement patch.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10835

Signed-off-by: Bjoern Jacke <bj <at> sernet.de>
 nsswitch/winbind_nss_freebsd.c | 74 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 73 insertions(+), 1 deletion(-)

diff --git a/nsswitch/winbind_nss_freebsd.c b/nsswitch/winbind_nss_freebsd.c
index 5fcd557..476349f 100644
--- a/nsswitch/winbind_nss_freebsd.c
+++ b/nsswitch/winbind_nss_freebsd.c
 <at>  <at>  -5,6 +5,7  <at>  <at> 
    routines against Samba winbind/Windows NT Domain

    Copyright (C) Aaron Collins 2003
+   Copyright (C) Timur I. Bakeyev 2013

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
 <at>  <at>  -23,7 +24,6  <at>  <at> 
 #include "winbind_client.h"

 /* Make sure that the module gets registered needed by freebsd 5.1 */
 extern enum nss_status _nss_winbind_getgrent_r(struct group *, char *, size_t,
(Continue reading)

Rowland Penny | 19 Oct 14:46 2014

4.2rc2 and winbindd

OK, I have compiled 4.2rc2 on Debian 7.5 running in a VM and set up a 
test DC. this was set up to test the new (old?) winbindd. From what I 
have read this is exactly the same daemon that would be run if I setup a 
client and presumably needs the same configuration in smb.conf.

Therefore, after provision, I changed smb.conf to this:

# Global parameters
         workgroup = EXAMPLE
         realm = example.com
         netbios name = DEBDC
         server role = active directory domain controller
         dns forwarder =
         idmap_ldb:use rfc2307 = yes
         dedicated keytab file = /etc/krb5.keytab
         kerberos method = secrets and keytab
         winbind enum users = yes
         winbind enum groups = yes
         winbind use default domain = yes
         winbind expand groups = 4
         winbind nss info = rfc2307
         winbind refresh tickets = Yes
         winbind normalize names = Yes
         idmap config * : backend = tdb
         idmap config * : range = 2000-9999
         idmap config HOME : backend  = ad
         idmap config HOME : range = 10000-999999
         idmap config HOME : schema_mode = rfc2307
         log level = 9
(Continue reading)

Marc Muehlfeld | 18 Oct 01:37 2014

[PATCH] docs: Update Roadmap (samba-v4-2-test)


attached a patch for updating the 'Roadmap' file of samba-v4-2-test.

Please review and push.

Steve French | 18 Oct 01:04 2014

Another server bug found with xfstests

I am liking xfstests more - found another server bug
(https://bugzilla.samba.org/show_bug.cgi?id=10883) running it today

Now if we could just figure out a good way to automate it in our
regression testing of Samba server too (not just of client kernel
builds) ...




Michael Adam | 17 Oct 11:32 2014

[PATCH] fix comment typo

Attached. Review/push/... appreciated

Thanks - Michael
Jelmer Vernooij | 17 Oct 09:48 2014

[PATCH 1/2] Add samba.ensure_third_party_module() function, loading external python modules from third_party/ if the system doesn't provide them.

Signed-off-by: Jelmer Vernooij <jelmer <at> samba.org>
 python/samba/__init__.py  | 35 ++++++++++++++++++++++++++++++-----
 third_party/wscript_build | 27 +++++++++++++++++++++++++++
 wscript                   |  1 -
 wscript_build             |  3 +--
 4 files changed, 58 insertions(+), 8 deletions(-)
 create mode 100644 third_party/wscript_build

diff --git a/python/samba/__init__.py b/python/samba/__init__.py
index cd2a309..0cbdec7 100644
--- a/python/samba/__init__.py
+++ b/python/samba/__init__.py
 <at>  <at>  -314,7 +314,8  <at>  <at>  def valid_netbios_name(name):
     return True

-def import_bundled_package(modulename, location):
+def import_bundled_package(modulename, location, source_tree_container,
+                           namespace):
     """Import the bundled version of a package.

     :note: This should only be called if the system version of the package
 <at>  <at>  -322,14 +323,35  <at>  <at>  def import_bundled_package(modulename, location):

     :param modulename: Module name to import
     :param location: Location to add to sys.path (can be relative to
-        ${srcdir}/lib)
+        ${srcdir}/${source_tree_container})
+    :param source_tree_container: Directory under source root that
(Continue reading)

Amitay Isaacs | 17 Oct 08:59 2014

[PATCH] ctdb-tools: Fix heap-use-after-free problem


Here's a small patch that fixes issues found by address sanitizer.

Please review and push.


Martin Schwenke | 17 Oct 05:53 2014

[PATCHES] CTDB logging rework

This reworks much of the CTDB logging subsystem.  Main points are:

* Bug fix to put a newline back at the end of messages logged to file
  (recent regression).

* Remove the separate CTDB log daemon.

* Add syslog via UDP logging, as per RFCs 5424 and RFC5426.

  This provides the same functionality as the current CTDB log daemon
  but outsources the implementation to the syslog daemon.  :-)

* Modular backends.

* Remove debug levels DEBUG_EMERG, DEBUG_ALERT and DEBUG_CRIT.

  CTDB has too many debug levels and the above are incompatible with
  Samba's debug code. This keeps DEBUG_ALERT and DEBUG_CRIT as
  internally defined to DEBUG_ERR to avoid code churn.  DEBUG_EMERG is
  already unused.

* Single CTDB_LOGGING option (corresponding to --logging daemon
  option).  Valid values are:


  Default remains file:...

(Continue reading)