diff -Nru samba-4.3.9+dfsg/debian/changelog samba-4.3.11+dfsg/debian/changelog --- samba-4.3.9+dfsg/debian/changelog 2016-05-24 13:29:25.000000000 +0000 +++ samba-4.3.11+dfsg/debian/changelog 2016-09-23 18:15:30.000000000 +0000 @@ -1,3 +1,17 @@ +samba (2:4.3.11+dfsg-0ubuntu0.14.04.1) trusty-security; urgency=medium + + * SECURITY UPDATE: client-signing protection mechanism bypass + - Updated to upstream 4.3.11 + - CVE-2016-2119 + * Removed patches included in new version + - debian/patches/samba-bug11912.patch + - debian/patches/samba-bug11914.patch + * debian/patches/git_smbclient_cpu.patch: + - backport upstream patch to fix smbclient users hanging/eating cpu on + trying to contact a machine which is not there. + + -- Marc Deslauriers Fri, 23 Sep 2016 14:14:05 -0400 + samba (2:4.3.9+dfsg-0ubuntu0.14.04.3) trusty-security; urgency=medium * SECURITY REGRESSION: NTLM authentication issues (LP: #1578576) diff -Nru samba-4.3.9+dfsg/debian/patches/git_smbclient_cpu.patch samba-4.3.11+dfsg/debian/patches/git_smbclient_cpu.patch --- samba-4.3.9+dfsg/debian/patches/git_smbclient_cpu.patch 1970-01-01 00:00:00.000000000 +0000 +++ samba-4.3.11+dfsg/debian/patches/git_smbclient_cpu.patch 2016-08-10 09:11:22.000000000 +0000 @@ -0,0 +1,59 @@ +From b863a62ef2c1e71f3cdf4c74994369baa45dbce7 Mon Sep 17 00:00:00 2001 +From: Ralph Boehme +Date: Wed, 3 Aug 2016 15:00:45 +0200 +Subject: [PATCH] async_req: make async_connect_send() "reentrant" +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Allow callers to pass in socket fds that where already passed to an +earlier call of async_connect_send(). Callers expect this behaviour and +it was working until 05d4dbda8357712cb81008e0d611fdb0e7239587 broke it. + +The proper fix would be to change callers to close the fd and start from +scratch with a fresh socket. + +Bug: https://bugzilla.samba.org/show_bug.cgi?id=12105 + +Signed-off-by: Ralph Boehme +Reviewed-by: Jeremy Allison + +Autobuild-User(master): Ralph Böhme +Autobuild-Date(master): Thu Aug 4 05:03:21 CEST 2016 on sn-devel-144 + +(cherry picked from commit 9c6a4ea2788808bdcc7bfea798d838ea56c3b5ec) +--- + lib/async_req/async_sock.c | 16 +++++++++++++--- + 1 file changed, 13 insertions(+), 3 deletions(-) + +diff --git a/lib/async_req/async_sock.c b/lib/async_req/async_sock.c +index c14acf3..3af1748 100644 +--- a/lib/async_req/async_sock.c ++++ b/lib/async_req/async_sock.c +@@ -128,11 +128,21 @@ struct tevent_req *async_connect_send( + } + + /* +- * The only errno indicating that the connect is still in +- * flight is EINPROGRESS, everything else is an error ++ * The only errno indicating that an initial connect is still ++ * in flight is EINPROGRESS. ++ * ++ * We get EALREADY when someone calls us a second time for a ++ * given fd and the connect is still in flight (and returned ++ * EINPROGRESS the first time). ++ * ++ * This allows callers like open_socket_out_send() to reuse ++ * fds and call us with an fd for which the connect is still ++ * in flight. The proper thing to do for callers would be ++ * closing the fd and starting from scratch with a fresh ++ * socket. + */ + +- if (errno != EINPROGRESS) { ++ if (errno != EINPROGRESS && errno != EALREADY) { + tevent_req_error(req, errno); + return tevent_req_post(req, ev); + } +-- +2.7.4 diff -Nru samba-4.3.9+dfsg/debian/patches/samba-bug11912.patch samba-4.3.11+dfsg/debian/patches/samba-bug11912.patch --- samba-4.3.9+dfsg/debian/patches/samba-bug11912.patch 2016-05-20 11:30:59.000000000 +0000 +++ samba-4.3.11+dfsg/debian/patches/samba-bug11912.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,80 +0,0 @@ -From 1bc62343c8f4dac6934fcb2d23fe0727666e3621 Mon Sep 17 00:00:00 2001 -From: Stefan Metzmacher -Date: Mon, 9 May 2016 16:14:31 +0200 -Subject: [PATCH] libcli/auth: let msrpc_parse() return talloc'ed empty strings - -This make it more predictable for the callers. - -BUG: https://bugzilla.samba.org/show_bug.cgi?id=11912 -BUG: https://bugzilla.redhat.com/show_bug.cgi?id=1334356 -BUG: https://launchpad.net/bugs/1578576 - -Signed-off-by: Stefan Metzmacher - -Autobuild-User(master): Stefan Metzmacher -Autobuild-Date(master): Mon May 9 22:27:21 CEST 2016 on sn-devel-144 - -(cherry picked from commit 58a83236294117d32d9883ac3024f81fa1730a87) ---- - libcli/auth/msrpc_parse.c | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -diff --git a/libcli/auth/msrpc_parse.c b/libcli/auth/msrpc_parse.c -index d499d9e..74a7bcc 100644 ---- a/libcli/auth/msrpc_parse.c -+++ b/libcli/auth/msrpc_parse.c -@@ -262,7 +262,11 @@ bool msrpc_parse(TALLOC_CTX *mem_ctx, - - ps = va_arg(ap, char **); - if (len1 == 0 && len2 == 0) { -- *ps = (char *)discard_const(""); -+ *ps = talloc_strdup(mem_ctx, ""); -+ if (*ps == NULL) { -+ ret = false; -+ goto cleanup; -+ } - } else { - /* make sure its in the right format - be strict */ - if ((len1 != len2) || (ptr + len1 < ptr) || (ptr + len1 < len1) || (ptr + len1 > blob->length)) { -@@ -289,7 +293,11 @@ bool msrpc_parse(TALLOC_CTX *mem_ctx, - goto cleanup; - } - } else { -- (*ps) = (char *)discard_const(""); -+ *ps = talloc_strdup(mem_ctx, ""); -+ if (*ps == NULL) { -+ ret = false; -+ goto cleanup; -+ } - } - } - break; -@@ -302,7 +310,11 @@ bool msrpc_parse(TALLOC_CTX *mem_ctx, - ps = (char **)va_arg(ap, char **); - /* make sure its in the right format - be strict */ - if (len1 == 0 && len2 == 0) { -- *ps = (char *)discard_const(""); -+ *ps = talloc_strdup(mem_ctx, ""); -+ if (*ps == NULL) { -+ ret = false; -+ goto cleanup; -+ } - } else { - if ((len1 != len2) || (ptr + len1 < ptr) || (ptr + len1 < len1) || (ptr + len1 > blob->length)) { - ret = false; -@@ -325,7 +337,11 @@ bool msrpc_parse(TALLOC_CTX *mem_ctx, - goto cleanup; - } - } else { -- (*ps) = (char *)discard_const(""); -+ *ps = talloc_strdup(mem_ctx, ""); -+ if (*ps == NULL) { -+ ret = false; -+ goto cleanup; -+ } - } - } - break; --- -1.9.1 - diff -Nru samba-4.3.9+dfsg/debian/patches/samba-bug11914.patch samba-4.3.11+dfsg/debian/patches/samba-bug11914.patch --- samba-4.3.9+dfsg/debian/patches/samba-bug11914.patch 2016-05-20 11:31:04.000000000 +0000 +++ samba-4.3.11+dfsg/debian/patches/samba-bug11914.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,104 +0,0 @@ -From a01374bdc5b5f41d30618e95f5cb7f9f7cd47d66 Mon Sep 17 00:00:00 2001 -From: Stefan Metzmacher -Date: Wed, 11 May 2016 17:59:32 +0200 -Subject: [PATCH] s3:ntlm_auth: make ntlm_auth_generate_session_info() more - complete -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The generate_session_info() function maybe called more than once -per session. - -Some may try to look/dereference session_info->security_token, -so we provide simplified token. - -BUG: https://bugzilla.samba.org/show_bug.cgi?id=11914 - -Signed-off-by: Stefan Metzmacher -Reviewed-by: Andreas Schneider -Reviewed-by: Günther Deschner -(cherry picked from commit 825cce1f88b797c80116769e1755328dee2ba0e1) ---- - source3/utils/ntlm_auth.c | 51 ++++++++++++++++++++++++++++++++++++++++++----- - 1 file changed, 46 insertions(+), 5 deletions(-) - -diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c -index 1ac6881..bbb0be4 100644 ---- a/source3/utils/ntlm_auth.c -+++ b/source3/utils/ntlm_auth.c -@@ -27,6 +27,7 @@ - #include "includes.h" - #include "lib/param/param.h" - #include "popt_common.h" -+#include "libcli/security/security.h" - #include "utils/ntlm_auth.h" - #include "../libcli/auth/libcli_auth.h" - #include "auth/ntlmssp/ntlmssp.h" -@@ -705,18 +706,58 @@ static NTSTATUS ntlm_auth_generate_session_info(struct auth4_context *auth_conte - uint32_t session_info_flags, - struct auth_session_info **session_info_out) - { -- char *unix_username = (char *)server_returned_info; -- struct auth_session_info *session_info = talloc_zero(mem_ctx, struct auth_session_info); -- if (!session_info) { -+ const char *unix_username = (const char *)server_returned_info; -+ bool ok; -+ struct dom_sid *sids = NULL; -+ struct auth_session_info *session_info = NULL; -+ -+ session_info = talloc_zero(mem_ctx, struct auth_session_info); -+ if (session_info == NULL) { - return NT_STATUS_NO_MEMORY; - } - - session_info->unix_info = talloc_zero(session_info, struct auth_user_info_unix); -- if (!session_info->unix_info) { -+ if (session_info->unix_info == NULL) { -+ TALLOC_FREE(session_info); -+ return NT_STATUS_NO_MEMORY; -+ } -+ session_info->unix_info->unix_name = talloc_strdup(session_info->unix_info, -+ unix_username); -+ if (session_info->unix_info->unix_name == NULL) { -+ TALLOC_FREE(session_info); -+ return NT_STATUS_NO_MEMORY; -+ } -+ -+ session_info->security_token = talloc_zero(session_info, struct security_token); -+ if (session_info->security_token == NULL) { - TALLOC_FREE(session_info); - return NT_STATUS_NO_MEMORY; - } -- session_info->unix_info->unix_name = talloc_steal(session_info->unix_info, unix_username); -+ -+ sids = talloc_zero_array(session_info->security_token, -+ struct dom_sid, 3); -+ if (sids == NULL) { -+ TALLOC_FREE(session_info); -+ return NT_STATUS_NO_MEMORY; -+ } -+ ok = dom_sid_parse(SID_WORLD, &sids[0]); -+ if (!ok) { -+ TALLOC_FREE(session_info); -+ return NT_STATUS_INTERNAL_ERROR; -+ } -+ ok = dom_sid_parse(SID_NT_NETWORK, &sids[1]); -+ if (!ok) { -+ TALLOC_FREE(session_info); -+ return NT_STATUS_INTERNAL_ERROR; -+ } -+ ok = dom_sid_parse(SID_NT_AUTHENTICATED_USERS, &sids[2]); -+ if (!ok) { -+ TALLOC_FREE(session_info); -+ return NT_STATUS_INTERNAL_ERROR; -+ } -+ -+ session_info->security_token->num_sids = talloc_array_length(sids); -+ session_info->security_token->sids = sids; - - *session_info_out = session_info; - --- -1.9.1 - diff -Nru samba-4.3.9+dfsg/debian/patches/series samba-4.3.11+dfsg/debian/patches/series --- samba-4.3.9+dfsg/debian/patches/series 2016-05-20 13:30:08.000000000 +0000 +++ samba-4.3.11+dfsg/debian/patches/series 2016-09-23 18:14:57.000000000 +0000 @@ -17,5 +17,4 @@ krb_zero_cursor.patch fix_pam_smbpass.patch winbind_trusted_domains.patch -samba-bug11912.patch -samba-bug11914.patch +git_smbclient_cpu.patch diff -Nru samba-4.3.9+dfsg/docs/manpages/dbwrap_tool.1 samba-4.3.11+dfsg/docs/manpages/dbwrap_tool.1 --- samba-4.3.9+dfsg/docs/manpages/dbwrap_tool.1 2016-05-02 07:51:36.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/dbwrap_tool.1 2016-07-05 10:37:51.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: dbwrap_tool .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "DBWRAP_TOOL" "1" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "DBWRAP_TOOL" "1" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/eventlogadm.8 samba-4.3.11+dfsg/docs/manpages/eventlogadm.8 --- samba-4.3.9+dfsg/docs/manpages/eventlogadm.8 2016-05-02 07:51:36.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/eventlogadm.8 2016-07-05 10:37:52.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: eventlogadm .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "EVENTLOGADM" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "EVENTLOGADM" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/findsmb.1 samba-4.3.11+dfsg/docs/manpages/findsmb.1 --- samba-4.3.9+dfsg/docs/manpages/findsmb.1 2016-05-02 07:51:36.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/findsmb.1 2016-07-05 10:37:52.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: findsmb .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "FINDSMB" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "FINDSMB" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/idmap_ad.8 samba-4.3.11+dfsg/docs/manpages/idmap_ad.8 --- samba-4.3.9+dfsg/docs/manpages/idmap_ad.8 2016-05-02 07:51:36.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/idmap_ad.8 2016-07-05 10:37:52.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: idmap_ad .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "IDMAP_AD" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "IDMAP_AD" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/idmap_autorid.8 samba-4.3.11+dfsg/docs/manpages/idmap_autorid.8 --- samba-4.3.9+dfsg/docs/manpages/idmap_autorid.8 2016-05-02 07:51:37.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/idmap_autorid.8 2016-07-05 10:37:52.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: idmap_autorid .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "IDMAP_AUTORID" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "IDMAP_AUTORID" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/idmap_hash.8 samba-4.3.11+dfsg/docs/manpages/idmap_hash.8 --- samba-4.3.9+dfsg/docs/manpages/idmap_hash.8 2016-05-02 07:51:37.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/idmap_hash.8 2016-07-05 10:37:53.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: idmap_hash .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "IDMAP_HASH" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "IDMAP_HASH" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/idmap_ldap.8 samba-4.3.11+dfsg/docs/manpages/idmap_ldap.8 --- samba-4.3.9+dfsg/docs/manpages/idmap_ldap.8 2016-05-02 07:51:37.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/idmap_ldap.8 2016-07-05 10:37:53.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: idmap_ldap .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "IDMAP_LDAP" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "IDMAP_LDAP" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/idmap_nss.8 samba-4.3.11+dfsg/docs/manpages/idmap_nss.8 --- samba-4.3.9+dfsg/docs/manpages/idmap_nss.8 2016-05-02 07:51:37.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/idmap_nss.8 2016-07-05 10:37:53.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: idmap_nss .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "IDMAP_NSS" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "IDMAP_NSS" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/idmap_rfc2307.8 samba-4.3.11+dfsg/docs/manpages/idmap_rfc2307.8 --- samba-4.3.9+dfsg/docs/manpages/idmap_rfc2307.8 2016-05-02 07:51:37.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/idmap_rfc2307.8 2016-07-05 10:37:53.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: idmap_rfc2307 .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "IDMAP_RFC2307" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "IDMAP_RFC2307" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/idmap_rid.8 samba-4.3.11+dfsg/docs/manpages/idmap_rid.8 --- samba-4.3.9+dfsg/docs/manpages/idmap_rid.8 2016-05-02 07:51:38.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/idmap_rid.8 2016-07-05 10:37:53.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: idmap_rid .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "IDMAP_RID" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "IDMAP_RID" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/idmap_script.8 samba-4.3.11+dfsg/docs/manpages/idmap_script.8 --- samba-4.3.9+dfsg/docs/manpages/idmap_script.8 2016-05-02 07:51:38.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/idmap_script.8 2016-07-05 10:37:54.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: idmap_script .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "IDMAP_SCRIPT" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "IDMAP_SCRIPT" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/idmap_tdb2.8 samba-4.3.11+dfsg/docs/manpages/idmap_tdb2.8 --- samba-4.3.9+dfsg/docs/manpages/idmap_tdb2.8 2016-05-02 07:51:38.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/idmap_tdb2.8 2016-07-05 10:37:54.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: idmap_tdb2 .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "IDMAP_TDB2" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "IDMAP_TDB2" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/idmap_tdb.8 samba-4.3.11+dfsg/docs/manpages/idmap_tdb.8 --- samba-4.3.9+dfsg/docs/manpages/idmap_tdb.8 2016-05-02 07:51:38.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/idmap_tdb.8 2016-07-05 10:37:54.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: idmap_tdb .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "IDMAP_TDB" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "IDMAP_TDB" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/libsmbclient.7 samba-4.3.11+dfsg/docs/manpages/libsmbclient.7 --- samba-4.3.9+dfsg/docs/manpages/libsmbclient.7 2016-05-02 07:51:39.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/libsmbclient.7 2016-07-05 10:37:54.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: libsmbclient .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: 7 .\" Source: Samba 4.3 .\" Language: English .\" -.TH "LIBSMBCLIENT" "7" "05/02/2016" "Samba 4\&.3" "7" +.TH "LIBSMBCLIENT" "7" "07/05/2016" "Samba 4\&.3" "7" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/lmhosts.5 samba-4.3.11+dfsg/docs/manpages/lmhosts.5 --- samba-4.3.9+dfsg/docs/manpages/lmhosts.5 2016-05-02 07:51:39.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/lmhosts.5 2016-07-05 10:37:55.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: lmhosts .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: File Formats and Conventions .\" Source: Samba 4.3 .\" Language: English .\" -.TH "LMHOSTS" "5" "05/02/2016" "Samba 4\&.3" "File Formats and Conventions" +.TH "LMHOSTS" "5" "07/05/2016" "Samba 4\&.3" "File Formats and Conventions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/log2pcap.1 samba-4.3.11+dfsg/docs/manpages/log2pcap.1 --- samba-4.3.9+dfsg/docs/manpages/log2pcap.1 2016-05-02 07:51:39.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/log2pcap.1 2016-07-05 10:37:55.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: log2pcap .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "LOG2PCAP" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "LOG2PCAP" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/net.8 samba-4.3.11+dfsg/docs/manpages/net.8 --- samba-4.3.9+dfsg/docs/manpages/net.8 2016-05-02 07:51:39.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/net.8 2016-07-05 10:37:55.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: net .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "NET" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "NET" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/nmbd.8 samba-4.3.11+dfsg/docs/manpages/nmbd.8 --- samba-4.3.9+dfsg/docs/manpages/nmbd.8 2016-05-02 07:51:40.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/nmbd.8 2016-07-05 10:37:55.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: nmbd .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "NMBD" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "NMBD" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/nmblookup.1 samba-4.3.11+dfsg/docs/manpages/nmblookup.1 --- samba-4.3.9+dfsg/docs/manpages/nmblookup.1 2016-05-02 07:51:40.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/nmblookup.1 2016-07-05 10:37:56.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: nmblookup .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "NMBLOOKUP" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "NMBLOOKUP" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/ntlm_auth.1 samba-4.3.11+dfsg/docs/manpages/ntlm_auth.1 --- samba-4.3.9+dfsg/docs/manpages/ntlm_auth.1 2016-05-02 07:51:40.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/ntlm_auth.1 2016-07-05 10:37:56.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: ntlm_auth .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "NTLM_AUTH" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "NTLM_AUTH" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/pam_winbind.8 samba-4.3.11+dfsg/docs/manpages/pam_winbind.8 --- samba-4.3.9+dfsg/docs/manpages/pam_winbind.8 2016-05-02 07:51:40.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/pam_winbind.8 2016-07-05 10:37:56.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: pam_winbind .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: 8 .\" Source: Samba 4.3 .\" Language: English .\" -.TH "PAM_WINBIND" "8" "05/02/2016" "Samba 4\&.3" "8" +.TH "PAM_WINBIND" "8" "07/05/2016" "Samba 4\&.3" "8" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/pam_winbind.conf.5 samba-4.3.11+dfsg/docs/manpages/pam_winbind.conf.5 --- samba-4.3.9+dfsg/docs/manpages/pam_winbind.conf.5 2016-05-02 07:51:40.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/pam_winbind.conf.5 2016-07-05 10:37:56.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: pam_winbind.conf .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: 5 .\" Source: Samba 4.3 .\" Language: English .\" -.TH "PAM_WINBIND\&.CONF" "5" "05/02/2016" "Samba 4\&.3" "5" +.TH "PAM_WINBIND\&.CONF" "5" "07/05/2016" "Samba 4\&.3" "5" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/pdbedit.8 samba-4.3.11+dfsg/docs/manpages/pdbedit.8 --- samba-4.3.9+dfsg/docs/manpages/pdbedit.8 2016-05-02 07:51:41.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/pdbedit.8 2016-07-05 10:37:57.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: pdbedit .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "PDBEDIT" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "PDBEDIT" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/profiles.1 samba-4.3.11+dfsg/docs/manpages/profiles.1 --- samba-4.3.9+dfsg/docs/manpages/profiles.1 2016-05-02 07:51:41.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/profiles.1 2016-07-05 10:37:57.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: profiles .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "PROFILES" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "PROFILES" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/rpcclient.1 samba-4.3.11+dfsg/docs/manpages/rpcclient.1 --- samba-4.3.9+dfsg/docs/manpages/rpcclient.1 2016-05-02 07:51:41.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/rpcclient.1 2016-07-05 10:37:57.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: rpcclient .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "RPCCLIENT" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "RPCCLIENT" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/samba.7 samba-4.3.11+dfsg/docs/manpages/samba.7 --- samba-4.3.9+dfsg/docs/manpages/samba.7 2016-05-02 07:51:42.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/samba.7 2016-07-05 10:37:58.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: samba .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: Miscellanea .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SAMBA" "7" "05/02/2016" "Samba 4\&.3" "Miscellanea" +.TH "SAMBA" "7" "07/05/2016" "Samba 4\&.3" "Miscellanea" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/samba.8 samba-4.3.11+dfsg/docs/manpages/samba.8 --- samba-4.3.9+dfsg/docs/manpages/samba.8 2016-05-02 07:51:42.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/samba.8 2016-07-05 10:37:58.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: samba .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SAMBA" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "SAMBA" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/samba-regedit.8 samba-4.3.11+dfsg/docs/manpages/samba-regedit.8 --- samba-4.3.9+dfsg/docs/manpages/samba-regedit.8 2016-05-02 07:51:41.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/samba-regedit.8 2016-07-05 10:37:57.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: samba-regedit .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SAMBA\-REGEDIT" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "SAMBA\-REGEDIT" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/samba-tool.8 samba-4.3.11+dfsg/docs/manpages/samba-tool.8 --- samba-4.3.9+dfsg/docs/manpages/samba-tool.8 2016-05-02 07:51:42.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/samba-tool.8 2016-07-05 10:37:57.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: samba-tool .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SAMBA\-TOOL" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "SAMBA\-TOOL" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/sharesec.1 samba-4.3.11+dfsg/docs/manpages/sharesec.1 --- samba-4.3.9+dfsg/docs/manpages/sharesec.1 2016-05-02 07:51:42.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/sharesec.1 2016-07-05 10:37:58.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: sharesec .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SHARESEC" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "SHARESEC" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbcacls.1 samba-4.3.11+dfsg/docs/manpages/smbcacls.1 --- samba-4.3.9+dfsg/docs/manpages/smbcacls.1 2016-05-02 07:51:46.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbcacls.1 2016-07-05 10:38:02.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbcacls .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBCACLS" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "SMBCACLS" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbclient.1 samba-4.3.11+dfsg/docs/manpages/smbclient.1 --- samba-4.3.9+dfsg/docs/manpages/smbclient.1 2016-05-02 07:51:46.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbclient.1 2016-07-05 10:38:02.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbclient .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBCLIENT" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "SMBCLIENT" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smb.conf.5 samba-4.3.11+dfsg/docs/manpages/smb.conf.5 --- samba-4.3.9+dfsg/docs/manpages/smb.conf.5 2016-05-02 07:51:46.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smb.conf.5 2016-07-05 10:38:02.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smb.conf .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: File Formats and Conventions .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMB\&.CONF" "5" "05/02/2016" "Samba 4\&.3" "File Formats and Conventions" +.TH "SMB\&.CONF" "5" "07/05/2016" "Samba 4\&.3" "File Formats and Conventions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbcontrol.1 samba-4.3.11+dfsg/docs/manpages/smbcontrol.1 --- samba-4.3.9+dfsg/docs/manpages/smbcontrol.1 2016-05-02 07:51:47.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbcontrol.1 2016-07-05 10:38:02.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbcontrol .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBCONTROL" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "SMBCONTROL" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbcquotas.1 samba-4.3.11+dfsg/docs/manpages/smbcquotas.1 --- samba-4.3.9+dfsg/docs/manpages/smbcquotas.1 2016-05-02 07:51:47.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbcquotas.1 2016-07-05 10:38:03.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbcquotas .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBCQUOTAS" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "SMBCQUOTAS" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbd.8 samba-4.3.11+dfsg/docs/manpages/smbd.8 --- samba-4.3.9+dfsg/docs/manpages/smbd.8 2016-05-02 07:51:47.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbd.8 2016-07-05 10:38:03.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbd .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBD" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "SMBD" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbget.1 samba-4.3.11+dfsg/docs/manpages/smbget.1 --- samba-4.3.9+dfsg/docs/manpages/smbget.1 2016-05-02 07:51:47.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbget.1 2016-07-05 10:38:03.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbget .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBGET" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "SMBGET" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbgetrc.5 samba-4.3.11+dfsg/docs/manpages/smbgetrc.5 --- samba-4.3.9+dfsg/docs/manpages/smbgetrc.5 2016-05-02 07:51:47.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbgetrc.5 2016-07-05 10:38:03.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbgetrc .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: File Formats and Conventions .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBGETRC" "5" "05/02/2016" "Samba 4\&.3" "File Formats and Conventions" +.TH "SMBGETRC" "5" "07/05/2016" "Samba 4\&.3" "File Formats and Conventions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbpasswd.5 samba-4.3.11+dfsg/docs/manpages/smbpasswd.5 --- samba-4.3.9+dfsg/docs/manpages/smbpasswd.5 2016-05-02 07:51:48.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbpasswd.5 2016-07-05 10:38:03.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbpasswd .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: File Formats and Conventions .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBPASSWD" "5" "05/02/2016" "Samba 4\&.3" "File Formats and Conventions" +.TH "SMBPASSWD" "5" "07/05/2016" "Samba 4\&.3" "File Formats and Conventions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbpasswd.8 samba-4.3.11+dfsg/docs/manpages/smbpasswd.8 --- samba-4.3.9+dfsg/docs/manpages/smbpasswd.8 2016-05-02 07:51:48.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbpasswd.8 2016-07-05 10:38:04.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbpasswd .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBPASSWD" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "SMBPASSWD" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbspool.8 samba-4.3.11+dfsg/docs/manpages/smbspool.8 --- samba-4.3.9+dfsg/docs/manpages/smbspool.8 2016-05-02 07:51:48.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbspool.8 2016-07-05 10:38:04.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbspool .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBSPOOL" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "SMBSPOOL" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbspool_krb5_wrapper.8 samba-4.3.11+dfsg/docs/manpages/smbspool_krb5_wrapper.8 --- samba-4.3.9+dfsg/docs/manpages/smbspool_krb5_wrapper.8 2016-05-02 07:51:48.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbspool_krb5_wrapper.8 2016-07-05 10:38:04.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbspool_krb5_wrapper .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.4 .\" Language: English .\" -.TH "SMBSPOOL_KRB5_WRAPPE" "8" "05/02/2016" "Samba 4\&.4" "System Administration tools" +.TH "SMBSPOOL_KRB5_WRAPPE" "8" "07/05/2016" "Samba 4\&.4" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbstatus.1 samba-4.3.11+dfsg/docs/manpages/smbstatus.1 --- samba-4.3.9+dfsg/docs/manpages/smbstatus.1 2016-05-02 07:51:49.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbstatus.1 2016-07-05 10:38:04.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbstatus .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBSTATUS" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "SMBSTATUS" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbtar.1 samba-4.3.11+dfsg/docs/manpages/smbtar.1 --- samba-4.3.9+dfsg/docs/manpages/smbtar.1 2016-05-02 07:51:49.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbtar.1 2016-07-05 10:38:05.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbtar .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBTAR" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "SMBTAR" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbta-util.8 samba-4.3.11+dfsg/docs/manpages/smbta-util.8 --- samba-4.3.9+dfsg/docs/manpages/smbta-util.8 2016-05-02 07:51:49.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbta-util.8 2016-07-05 10:38:05.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbta-util .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBTA\-UTIL" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "SMBTA\-UTIL" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/smbtree.1 samba-4.3.11+dfsg/docs/manpages/smbtree.1 --- samba-4.3.9+dfsg/docs/manpages/smbtree.1 2016-05-02 07:51:49.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/smbtree.1 2016-07-05 10:38:05.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smbtree .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMBTREE" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "SMBTREE" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/testparm.1 samba-4.3.11+dfsg/docs/manpages/testparm.1 --- samba-4.3.9+dfsg/docs/manpages/testparm.1 2016-05-02 07:51:50.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/testparm.1 2016-07-05 10:38:05.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: testparm .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "TESTPARM" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "TESTPARM" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_acl_tdb.8 samba-4.3.11+dfsg/docs/manpages/vfs_acl_tdb.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_acl_tdb.8 2016-05-02 07:51:50.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_acl_tdb.8 2016-07-05 10:38:06.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_acl_tdb .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_ACL_TDB" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_ACL_TDB" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_acl_xattr.8 samba-4.3.11+dfsg/docs/manpages/vfs_acl_xattr.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_acl_xattr.8 2016-05-02 07:51:50.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_acl_xattr.8 2016-07-05 10:38:06.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_acl_xattr .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_ACL_XATTR" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_ACL_XATTR" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_aio_fork.8 samba-4.3.11+dfsg/docs/manpages/vfs_aio_fork.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_aio_fork.8 2016-05-02 07:51:50.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_aio_fork.8 2016-07-05 10:38:06.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_aio_fork .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_AIO_FORK" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_AIO_FORK" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_aio_linux.8 samba-4.3.11+dfsg/docs/manpages/vfs_aio_linux.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_aio_linux.8 2016-05-02 07:51:50.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_aio_linux.8 2016-07-05 10:38:06.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_aio_linux .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_AIO_LINUX" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_AIO_LINUX" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_aio_pthread.8 samba-4.3.11+dfsg/docs/manpages/vfs_aio_pthread.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_aio_pthread.8 2016-05-02 07:51:51.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_aio_pthread.8 2016-07-05 10:38:06.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_aio_pthread .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_AIO_PTHREAD" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_AIO_PTHREAD" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_audit.8 samba-4.3.11+dfsg/docs/manpages/vfs_audit.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_audit.8 2016-05-02 07:51:51.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_audit.8 2016-07-05 10:38:07.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_audit .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_AUDIT" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_AUDIT" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_btrfs.8 samba-4.3.11+dfsg/docs/manpages/vfs_btrfs.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_btrfs.8 2016-05-02 07:51:51.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_btrfs.8 2016-07-05 10:38:07.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_btrfs .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_BTRFS" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_BTRFS" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_cacheprime.8 samba-4.3.11+dfsg/docs/manpages/vfs_cacheprime.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_cacheprime.8 2016-05-02 07:51:51.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_cacheprime.8 2016-07-05 10:38:07.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_cacheprime .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_CACHEPRIME" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_CACHEPRIME" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_cap.8 samba-4.3.11+dfsg/docs/manpages/vfs_cap.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_cap.8 2016-05-02 07:51:52.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_cap.8 2016-07-05 10:38:07.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_cap .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_CAP" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_CAP" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_catia.8 samba-4.3.11+dfsg/docs/manpages/vfs_catia.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_catia.8 2016-05-02 07:51:52.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_catia.8 2016-07-05 10:38:08.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_catia .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_CATIA" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_CATIA" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_ceph.8 samba-4.3.11+dfsg/docs/manpages/vfs_ceph.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_ceph.8 2016-05-02 07:51:52.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_ceph.8 2016-07-05 10:38:08.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_ceph .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_CEPH" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_CEPH" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_commit.8 samba-4.3.11+dfsg/docs/manpages/vfs_commit.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_commit.8 2016-05-02 07:51:52.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_commit.8 2016-07-05 10:38:08.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_commit .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_COMMIT" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_COMMIT" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_crossrename.8 samba-4.3.11+dfsg/docs/manpages/vfs_crossrename.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_crossrename.8 2016-05-02 07:51:52.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_crossrename.8 2016-07-05 10:38:08.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_crossrename .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_CROSSRENAME" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_CROSSRENAME" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_default_quota.8 samba-4.3.11+dfsg/docs/manpages/vfs_default_quota.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_default_quota.8 2016-05-02 07:51:53.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_default_quota.8 2016-07-05 10:38:08.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_default_quota .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_DEFAULT_QUOTA" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_DEFAULT_QUOTA" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_dirsort.8 samba-4.3.11+dfsg/docs/manpages/vfs_dirsort.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_dirsort.8 2016-05-02 07:51:53.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_dirsort.8 2016-07-05 10:38:09.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_dirsort .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_DIRSORT" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_DIRSORT" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_extd_audit.8 samba-4.3.11+dfsg/docs/manpages/vfs_extd_audit.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_extd_audit.8 2016-05-02 07:51:53.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_extd_audit.8 2016-07-05 10:38:09.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_extd_audit .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_EXTD_AUDIT" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_EXTD_AUDIT" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_fake_perms.8 samba-4.3.11+dfsg/docs/manpages/vfs_fake_perms.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_fake_perms.8 2016-05-02 07:51:53.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_fake_perms.8 2016-07-05 10:38:09.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_fake_perms .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_FAKE_PERMS" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_FAKE_PERMS" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_fileid.8 samba-4.3.11+dfsg/docs/manpages/vfs_fileid.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_fileid.8 2016-05-02 07:51:54.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_fileid.8 2016-07-05 10:38:09.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_fileid .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_FILEID" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_FILEID" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_fruit.8 samba-4.3.11+dfsg/docs/manpages/vfs_fruit.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_fruit.8 2016-05-02 07:51:54.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_fruit.8 2016-07-05 10:38:10.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_fruit .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_FRUIT" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_FRUIT" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -296,6 +296,14 @@ The default is \fIno\fR\&. .RE +.PP +fruit:posix_rename = yes | no +.RS 4 +Whether to enable POSIX directory rename behaviour for OS X clients\&. Without this, directories can\*(Aqt be renamed if any client has any file inside it (recursive!) open\&. +.sp +The default is +\fIyes\fR\&. +.RE .SH "EXAMPLES" .sp .if n \{\ diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_full_audit.8 samba-4.3.11+dfsg/docs/manpages/vfs_full_audit.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_full_audit.8 2016-05-02 07:51:54.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_full_audit.8 2016-07-05 10:38:10.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_full_audit .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_FULL_AUDIT" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_FULL_AUDIT" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_glusterfs.8 samba-4.3.11+dfsg/docs/manpages/vfs_glusterfs.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_glusterfs.8 2016-05-02 07:51:54.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_glusterfs.8 2016-07-05 10:38:10.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_glusterfs .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_GLUSTERFS" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_GLUSTERFS" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_gpfs.8 samba-4.3.11+dfsg/docs/manpages/vfs_gpfs.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_gpfs.8 2016-05-02 07:51:54.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_gpfs.8 2016-07-05 10:38:10.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_gpfs .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_GPFS" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_GPFS" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_linux_xfs_sgid.8 samba-4.3.11+dfsg/docs/manpages/vfs_linux_xfs_sgid.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_linux_xfs_sgid.8 2016-05-02 07:51:55.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_linux_xfs_sgid.8 2016-07-05 10:38:10.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_syncops .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_SYNCOPS" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_SYNCOPS" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_media_harmony.8 samba-4.3.11+dfsg/docs/manpages/vfs_media_harmony.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_media_harmony.8 2016-05-02 07:51:55.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_media_harmony.8 2016-07-05 10:38:11.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_media_harmony .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_MEDIA_HARMONY" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_MEDIA_HARMONY" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_netatalk.8 samba-4.3.11+dfsg/docs/manpages/vfs_netatalk.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_netatalk.8 2016-05-02 07:51:55.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_netatalk.8 2016-07-05 10:38:11.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_netatalk .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_NETATALK" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_NETATALK" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_prealloc.8 samba-4.3.11+dfsg/docs/manpages/vfs_prealloc.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_prealloc.8 2016-05-02 07:51:55.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_prealloc.8 2016-07-05 10:38:11.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_prealloc .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_PREALLOC" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_PREALLOC" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_preopen.8 samba-4.3.11+dfsg/docs/manpages/vfs_preopen.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_preopen.8 2016-05-02 07:51:56.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_preopen.8 2016-07-05 10:38:11.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_preopen .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_PREOPEN" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_PREOPEN" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_readahead.8 samba-4.3.11+dfsg/docs/manpages/vfs_readahead.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_readahead.8 2016-05-02 07:51:56.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_readahead.8 2016-07-05 10:38:12.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_readahead .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_READAHEAD" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_READAHEAD" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_readonly.8 samba-4.3.11+dfsg/docs/manpages/vfs_readonly.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_readonly.8 2016-05-02 07:51:56.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_readonly.8 2016-07-05 10:38:12.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_readonly .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_READONLY" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_READONLY" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_recycle.8 samba-4.3.11+dfsg/docs/manpages/vfs_recycle.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_recycle.8 2016-05-02 07:51:56.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_recycle.8 2016-07-05 10:38:12.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_recycle .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_RECYCLE" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_RECYCLE" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_scannedonly.8 samba-4.3.11+dfsg/docs/manpages/vfs_scannedonly.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_scannedonly.8 2016-05-02 07:51:56.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_scannedonly.8 2016-07-05 10:38:12.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_scannedonly .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_SCANNEDONLY" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_SCANNEDONLY" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_shadow_copy2.8 samba-4.3.11+dfsg/docs/manpages/vfs_shadow_copy2.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_shadow_copy2.8 2016-05-02 07:51:57.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_shadow_copy2.8 2016-07-05 10:38:13.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_shadow_copy2 .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_SHADOW_COPY2" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_SHADOW_COPY2" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_shadow_copy.8 samba-4.3.11+dfsg/docs/manpages/vfs_shadow_copy.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_shadow_copy.8 2016-05-02 07:51:57.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_shadow_copy.8 2016-07-05 10:38:12.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_shadow_copy .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_SHADOW_COPY" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_SHADOW_COPY" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_shell_snap.8 samba-4.3.11+dfsg/docs/manpages/vfs_shell_snap.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_shell_snap.8 2016-05-02 07:51:57.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_shell_snap.8 2016-07-05 10:38:13.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_shell_snap .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_SHELL_SNAP" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_SHELL_SNAP" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_smb_traffic_analyzer.8 samba-4.3.11+dfsg/docs/manpages/vfs_smb_traffic_analyzer.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_smb_traffic_analyzer.8 2016-05-02 07:51:57.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_smb_traffic_analyzer.8 2016-07-05 10:38:13.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: smb_traffic_analyzer .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "SMB_TRAFFIC_ANALYZER" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "SMB_TRAFFIC_ANALYZER" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_snapper.8 samba-4.3.11+dfsg/docs/manpages/vfs_snapper.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_snapper.8 2016-05-02 07:51:58.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_snapper.8 2016-07-05 10:38:13.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_snapper .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_SNAPPER" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_SNAPPER" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_streams_depot.8 samba-4.3.11+dfsg/docs/manpages/vfs_streams_depot.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_streams_depot.8 2016-05-02 07:51:58.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_streams_depot.8 2016-07-05 10:38:14.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_streams_depot .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_STREAMS_DEPOT" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_STREAMS_DEPOT" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_streams_xattr.8 samba-4.3.11+dfsg/docs/manpages/vfs_streams_xattr.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_streams_xattr.8 2016-05-02 07:51:58.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_streams_xattr.8 2016-07-05 10:38:14.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_streams_xattr .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_STREAMS_XATTR" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_STREAMS_XATTR" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_syncops.8 samba-4.3.11+dfsg/docs/manpages/vfs_syncops.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_syncops.8 2016-05-02 07:51:58.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_syncops.8 2016-07-05 10:38:14.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_syncops .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_SYNCOPS" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_SYNCOPS" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfstest.1 samba-4.3.11+dfsg/docs/manpages/vfstest.1 --- samba-4.3.9+dfsg/docs/manpages/vfstest.1 2016-05-02 07:52:00.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfstest.1 2016-07-05 10:38:16.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfstest .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFSTEST" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "VFSTEST" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_time_audit.8 samba-4.3.11+dfsg/docs/manpages/vfs_time_audit.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_time_audit.8 2016-05-02 07:51:59.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_time_audit.8 2016-07-05 10:38:14.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_time_audit .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_TIME_AUDIT" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_TIME_AUDIT" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_tsmsm.8 samba-4.3.11+dfsg/docs/manpages/vfs_tsmsm.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_tsmsm.8 2016-05-02 07:51:59.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_tsmsm.8 2016-07-05 10:38:14.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_tsmsm .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_TSMSM" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_TSMSM" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_unityed_media.8 samba-4.3.11+dfsg/docs/manpages/vfs_unityed_media.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_unityed_media.8 2016-05-02 07:51:59.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_unityed_media.8 2016-07-05 10:38:15.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_unityed_media .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_UNITYED_MEDIA" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_UNITYED_MEDIA" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_worm.8 samba-4.3.11+dfsg/docs/manpages/vfs_worm.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_worm.8 2016-05-02 07:51:59.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_worm.8 2016-07-05 10:38:15.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_worm .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_WORM" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_WORM" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_xattr_tdb.8 samba-4.3.11+dfsg/docs/manpages/vfs_xattr_tdb.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_xattr_tdb.8 2016-05-02 07:52:00.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_xattr_tdb.8 2016-07-05 10:38:15.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_xattr_tdb .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_XATTR_TDB" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_XATTR_TDB" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/vfs_zfsacl.8 samba-4.3.11+dfsg/docs/manpages/vfs_zfsacl.8 --- samba-4.3.9+dfsg/docs/manpages/vfs_zfsacl.8 2016-05-02 07:52:00.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/vfs_zfsacl.8 2016-07-05 10:38:15.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: vfs_zfsacl .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "VFS_ZFSACL" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "VFS_ZFSACL" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/wbinfo.1 samba-4.3.11+dfsg/docs/manpages/wbinfo.1 --- samba-4.3.9+dfsg/docs/manpages/wbinfo.1 2016-05-02 07:52:00.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/wbinfo.1 2016-07-05 10:38:16.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: wbinfo .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: User Commands .\" Source: Samba 4.3 .\" Language: English .\" -.TH "WBINFO" "1" "05/02/2016" "Samba 4\&.3" "User Commands" +.TH "WBINFO" "1" "07/05/2016" "Samba 4\&.3" "User Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/winbindd.8 samba-4.3.11+dfsg/docs/manpages/winbindd.8 --- samba-4.3.9+dfsg/docs/manpages/winbindd.8 2016-05-02 07:52:01.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/winbindd.8 2016-07-05 10:38:16.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: winbindd .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: System Administration tools .\" Source: Samba 4.3 .\" Language: English .\" -.TH "WINBINDD" "8" "05/02/2016" "Samba 4\&.3" "System Administration tools" +.TH "WINBINDD" "8" "07/05/2016" "Samba 4\&.3" "System Administration tools" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs/manpages/winbind_krb5_locator.7 samba-4.3.11+dfsg/docs/manpages/winbind_krb5_locator.7 --- samba-4.3.9+dfsg/docs/manpages/winbind_krb5_locator.7 2016-05-02 07:52:00.000000000 +0000 +++ samba-4.3.11+dfsg/docs/manpages/winbind_krb5_locator.7 2016-07-05 10:38:16.000000000 +0000 @@ -2,12 +2,12 @@ .\" Title: winbind_krb5_locator .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 05/02/2016 +.\" Date: 07/05/2016 .\" Manual: 7 .\" Source: Samba 4.3 .\" Language: English .\" -.TH "WINBIND_KRB5_LOCATOR" "7" "05/02/2016" "Samba 4\&.3" "7" +.TH "WINBIND_KRB5_LOCATOR" "7" "07/05/2016" "Samba 4\&.3" "7" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff -Nru samba-4.3.9+dfsg/docs-xml/manpages/vfs_fruit.8.xml samba-4.3.11+dfsg/docs-xml/manpages/vfs_fruit.8.xml --- samba-4.3.9+dfsg/docs-xml/manpages/vfs_fruit.8.xml 2015-07-21 09:47:48.000000000 +0000 +++ samba-4.3.11+dfsg/docs-xml/manpages/vfs_fruit.8.xml 2016-06-14 07:37:36.000000000 +0000 @@ -226,6 +226,17 @@ + + fruit:posix_rename = yes | no + + Whether to enable POSIX directory rename behaviour + for OS X clients. Without this, directories can't be + renamed if any client has any file inside it + (recursive!) open. + The default is yes. + + + diff -Nru samba-4.3.9+dfsg/lib/replace/snprintf.c samba-4.3.11+dfsg/lib/replace/snprintf.c --- samba-4.3.9+dfsg/lib/replace/snprintf.c 2015-07-21 09:47:48.000000000 +0000 +++ samba-4.3.11+dfsg/lib/replace/snprintf.c 2016-06-14 07:37:36.000000000 +0000 @@ -804,7 +804,7 @@ { int signvalue = 0; unsigned LLONG uvalue; - char convert[20]; + char convert[22+1]; /* 64-bit value in octal: 22 digits + \0 */ int place = 0; int spadlen = 0; /* amount to space pad */ int zpadlen = 0; /* amount to zero pad */ @@ -834,8 +834,8 @@ (caps? "0123456789ABCDEF":"0123456789abcdef") [uvalue % (unsigned)base ]; uvalue = (uvalue / (unsigned)base ); - } while(uvalue && (place < 20)); - if (place == 20) place--; + } while(uvalue && (place < sizeof(convert))); + if (place == sizeof(convert)) place--; convert[place] = 0; zpadlen = max - place; diff -Nru samba-4.3.9+dfsg/lib/util/become_daemon.c samba-4.3.11+dfsg/lib/util/become_daemon.c --- samba-4.3.9+dfsg/lib/util/become_daemon.c 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/lib/util/become_daemon.c 2016-06-14 07:37:36.000000000 +0000 @@ -24,7 +24,7 @@ #include "includes.h" #include "system/filesys.h" #include "system/locale.h" -#if HAVE_LIBSYSTEMD_DAEMON +#if defined(HAVE_LIBSYSTEMD_DAEMON) || defined(HAVE_LIBSYSTEMD) #include #endif #include "lib/util/close_low_fd.h" @@ -69,7 +69,7 @@ if (do_fork) { newpid = fork(); if (newpid) { -#if HAVE_LIBSYSTEMD_DAEMON +#if defined(HAVE_LIBSYSTEMD_DAEMON) || defined(HAVE_LIBSYSTEMD) sd_notifyf(0, "READY=0\nSTATUS=Starting process...\nMAINPID=%lu", (unsigned long) newpid); #endif /* HAVE_LIBSYSTEMD_DAEMON */ _exit(0); @@ -98,7 +98,7 @@ _PUBLIC_ void exit_daemon(const char *msg, int error) { -#ifdef HAVE_LIBSYSTEMD_DAEMON +#if defined(HAVE_LIBSYSTEMD_DAEMON) || defined(HAVE_LIBSYSTEMD) if (msg == NULL) { msg = strerror(error); } @@ -117,7 +117,7 @@ if (name == NULL) { name = "Samba"; } -#ifdef HAVE_LIBSYSTEMD_DAEMON +#if defined(HAVE_LIBSYSTEMD_DAEMON) || defined(HAVE_LIBSYSTEMD) sd_notifyf(0, "READY=1\nSTATUS=%s: ready to serve connections...", name); #endif DEBUG(0, ("STATUS=daemon '%s' finished starting up and ready to serve " @@ -129,7 +129,7 @@ if (name == NULL) { name = "Samba"; } -#ifdef HAVE_LIBSYSTEMD_DAEMON +#if defined(HAVE_LIBSYSTEMD_DAEMON) || defined(HAVE_LIBSYSTEMD) sd_notifyf(0, "\nSTATUS=%s: %s", name, msg); #endif DEBUG(0, ("STATUS=daemon '%s' : %s", name, msg)); diff -Nru samba-4.3.9+dfsg/libcli/auth/msrpc_parse.c samba-4.3.11+dfsg/libcli/auth/msrpc_parse.c --- samba-4.3.9+dfsg/libcli/auth/msrpc_parse.c 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/libcli/auth/msrpc_parse.c 2016-06-14 07:37:36.000000000 +0000 @@ -262,7 +262,11 @@ ps = va_arg(ap, char **); if (len1 == 0 && len2 == 0) { - *ps = (char *)discard_const(""); + *ps = talloc_strdup(mem_ctx, ""); + if (*ps == NULL) { + ret = false; + goto cleanup; + } } else { /* make sure its in the right format - be strict */ if ((len1 != len2) || (ptr + len1 < ptr) || (ptr + len1 < len1) || (ptr + len1 > blob->length)) { @@ -289,7 +293,11 @@ goto cleanup; } } else { - (*ps) = (char *)discard_const(""); + *ps = talloc_strdup(mem_ctx, ""); + if (*ps == NULL) { + ret = false; + goto cleanup; + } } } break; @@ -302,7 +310,11 @@ ps = (char **)va_arg(ap, char **); /* make sure its in the right format - be strict */ if (len1 == 0 && len2 == 0) { - *ps = (char *)discard_const(""); + *ps = talloc_strdup(mem_ctx, ""); + if (*ps == NULL) { + ret = false; + goto cleanup; + } } else { if ((len1 != len2) || (ptr + len1 < ptr) || (ptr + len1 < len1) || (ptr + len1 > blob->length)) { ret = false; @@ -325,7 +337,11 @@ goto cleanup; } } else { - (*ps) = (char *)discard_const(""); + *ps = talloc_strdup(mem_ctx, ""); + if (*ps == NULL) { + ret = false; + goto cleanup; + } } } break; diff -Nru samba-4.3.9+dfsg/libcli/smb/smbXcli_base.c samba-4.3.11+dfsg/libcli/smb/smbXcli_base.c --- samba-4.3.9+dfsg/libcli/smb/smbXcli_base.c 2016-05-02 07:48:32.000000000 +0000 +++ samba-4.3.11+dfsg/libcli/smb/smbXcli_base.c 2016-07-05 07:14:56.000000000 +0000 @@ -5313,6 +5313,10 @@ return false; } + if (session->conn->mandatory_signing) { + return false; + } + if (session->conn->protocol >= PROTOCOL_SMB2_02) { if (session->smb2->session_flags & SMB2_SESSION_FLAG_IS_GUEST) { return true; @@ -5567,7 +5571,7 @@ const struct iovec *recv_iov) { struct smbXcli_conn *conn = session->conn; - uint16_t no_sign_flags; + uint16_t no_sign_flags = 0; uint8_t session_key[16]; bool check_signature = true; uint32_t hdr_flags; @@ -5592,7 +5596,18 @@ return NT_STATUS_INVALID_PARAMETER_MIX; } - no_sign_flags = SMB2_SESSION_FLAG_IS_GUEST | SMB2_SESSION_FLAG_IS_NULL; + if (!conn->mandatory_signing) { + /* + * only allow guest sessions without + * mandatory signing. + * + * If we try an authentication with username != "" + * and the server let us in without verifying the + * password we don't have a negotiated session key + * for signing. + */ + no_sign_flags = SMB2_SESSION_FLAG_IS_GUEST; + } if (session->smb2->session_flags & no_sign_flags) { session->smb2->should_sign = false; diff -Nru samba-4.3.9+dfsg/librpc/idl/dcerpc.idl samba-4.3.11+dfsg/librpc/idl/dcerpc.idl --- samba-4.3.9+dfsg/librpc/idl/dcerpc.idl 2016-03-30 10:19:32.000000000 +0000 +++ samba-4.3.11+dfsg/librpc/idl/dcerpc.idl 2016-07-05 07:14:49.000000000 +0000 @@ -535,7 +535,23 @@ const uint32 DCERPC_FRAG_MAX_SIZE = 5840; const uint8 DCERPC_AUTH_LEN_OFFSET = 10; const uint8 DCERPC_NCACN_PAYLOAD_OFFSET = 16; - const uint32 DCERPC_NCACN_PAYLOAD_MAX_SIZE = 0x400000; /* 4 MByte */ + + /* + * See [MS-RPCE] 3.3.3.5.4 Maximum Server Input Data Size + * 4 MByte is the default limit of reassembled request payload + */ + const uint32 DCERPC_NCACN_REQUEST_DEFAULT_MAX_SIZE = 0x400000; + + /* + * See [MS-RPCE] 3.3.2.5.2 Handling Responses + * + * Indicates that Windows accepts up to 0x7FFFFFFF ~2 GByte + * + * talloc has a limit of 256 MByte, so we need to use something smaller. + * + * For now we try our luck with 240 MByte. + */ + const uint32 DCERPC_NCACN_RESPONSE_DEFAULT_MAX_SIZE = 0xf000000; /* 240 MByte */ /* little-endian flag */ const uint8 DCERPC_DREP_LE = 0x10; diff -Nru samba-4.3.9+dfsg/packaging/RHEL/setup/smb.init samba-4.3.11+dfsg/packaging/RHEL/setup/smb.init --- samba-4.3.9+dfsg/packaging/RHEL/setup/smb.init 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/packaging/RHEL/setup/smb.init 2016-06-14 07:37:36.000000000 +0000 @@ -18,6 +18,8 @@ exit 0 fi +DAEMON_COREFILE_LIMIT='unlimited' + # Avoid using root's TMPDIR unset TMPDIR diff -Nru samba-4.3.9+dfsg/packaging/RHEL/setup/winbind.init samba-4.3.11+dfsg/packaging/RHEL/setup/winbind.init --- samba-4.3.9+dfsg/packaging/RHEL/setup/winbind.init 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/packaging/RHEL/setup/winbind.init 2016-06-14 07:37:36.000000000 +0000 @@ -16,6 +16,8 @@ exit 0 fi +DAEMON_COREFILE_LIMIT='unlimited' + # Avoid using root's TMPDIR unset TMPDIR diff -Nru samba-4.3.9+dfsg/packaging/RHEL-CTDB/setup/smb.init samba-4.3.11+dfsg/packaging/RHEL-CTDB/setup/smb.init --- samba-4.3.9+dfsg/packaging/RHEL-CTDB/setup/smb.init 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/packaging/RHEL-CTDB/setup/smb.init 2016-06-14 07:37:36.000000000 +0000 @@ -18,6 +18,8 @@ exit 0 fi +DAEMON_COREFILE_LIMIT='unlimited' + # Avoid using root's TMPDIR unset TMPDIR diff -Nru samba-4.3.9+dfsg/packaging/RHEL-CTDB/setup/winbind.init samba-4.3.11+dfsg/packaging/RHEL-CTDB/setup/winbind.init --- samba-4.3.9+dfsg/packaging/RHEL-CTDB/setup/winbind.init 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/packaging/RHEL-CTDB/setup/winbind.init 2016-06-14 07:37:36.000000000 +0000 @@ -16,6 +16,8 @@ exit 0 fi +DAEMON_COREFILE_LIMIT='unlimited' + # Avoid using root's TMPDIR unset TMPDIR diff -Nru samba-4.3.9+dfsg/packaging/systemd/nmb.service samba-4.3.11+dfsg/packaging/systemd/nmb.service --- samba-4.3.9+dfsg/packaging/systemd/nmb.service 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/packaging/systemd/nmb.service 2016-06-14 07:37:36.000000000 +0000 @@ -9,6 +9,7 @@ EnvironmentFile=-/etc/sysconfig/samba ExecStart=/usr/sbin/nmbd $NMBDOPTIONS ExecReload=/usr/bin/kill -HUP $MAINPID +LimitCORE=infinity [Install] WantedBy=multi-user.target diff -Nru samba-4.3.9+dfsg/packaging/systemd/smb.service samba-4.3.11+dfsg/packaging/systemd/smb.service --- samba-4.3.9+dfsg/packaging/systemd/smb.service 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/packaging/systemd/smb.service 2016-06-14 07:37:36.000000000 +0000 @@ -10,6 +10,7 @@ EnvironmentFile=-/etc/sysconfig/samba ExecStart=/usr/sbin/smbd $SMBDOPTIONS ExecReload=/usr/bin/kill -HUP $MAINPID +LimitCORE=infinity [Install] WantedBy=multi-user.target diff -Nru samba-4.3.9+dfsg/packaging/systemd/winbind.service samba-4.3.11+dfsg/packaging/systemd/winbind.service --- samba-4.3.9+dfsg/packaging/systemd/winbind.service 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/packaging/systemd/winbind.service 2016-06-14 07:37:36.000000000 +0000 @@ -9,6 +9,7 @@ EnvironmentFile=-/etc/sysconfig/samba ExecStart=/usr/sbin/winbindd "$WINBINDOPTIONS" ExecReload=/usr/bin/kill -HUP $MAINPID +LimitCORE=infinity [Install] WantedBy=multi-user.target diff -Nru samba-4.3.9+dfsg/python/samba/netcmd/fsmo.py samba-4.3.11+dfsg/python/samba/netcmd/fsmo.py --- samba-4.3.9+dfsg/python/samba/netcmd/fsmo.py 2016-01-12 08:16:11.000000000 +0000 +++ samba-4.3.11+dfsg/python/samba/netcmd/fsmo.py 2016-06-14 07:37:36.000000000 +0000 @@ -31,17 +31,26 @@ ) from samba.samdb import SamDB -def get_fsmo_roleowner(samdb, roledn): +def get_fsmo_roleowner(samdb, roledn, role): """Gets the owner of an FSMO role :param roledn: The DN of the FSMO role + :param role: The FSMO role """ - res = samdb.search(roledn, - scope=ldb.SCOPE_BASE, attrs=["fSMORoleOwner"]) - if len(res) == 0: - raise CommandError('"%s" does not have a FSMO roleowner' % roledn) - master_owner = res[0]["fSMORoleOwner"][0] - return master_owner + try: + res = samdb.search(roledn, + scope=ldb.SCOPE_BASE, attrs=["fSMORoleOwner"]) + except LdbError, (num, msg): + if num == ldb.ERR_NO_SUCH_OBJECT: + return "* The '%s' role is not present in this domain" % role + raise + + if 'fSMORoleOwner' in res[0]: + master_owner = res[0]["fSMORoleOwner"][0] + return master_owner + else: + master_owner = "* The '%s' role does not have an FSMO roleowner" % role + return master_owner def transfer_dns_role(outf, sambaopts, credopts, role, samdb): @@ -54,23 +63,23 @@ forest_dn = samba.dn_from_dns_name(samdb.forest_dns_name()) role_object = "CN=Infrastructure,DC=ForestDnsZones," + forest_dn - try: - res = samdb.search(role_object, - attrs=["fSMORoleOwner"], - scope=ldb.SCOPE_BASE, - controls=["extended_dn:1:1"]) + res = samdb.search(role_object, + attrs=["fSMORoleOwner"], + scope=ldb.SCOPE_BASE, + controls=["extended_dn:1:1"]) - if 'fSMORoleOwner' in res[0]: - try: - master_guid = str(misc.GUID(ldb.Dn(samdb, - res[0]['fSMORoleOwner'][0]) - .get_extended_component('GUID'))) - master_owner = str(ldb.Dn(samdb, res[0]['fSMORoleOwner'][0])) - except LdbError, (num, msg): - raise CommandError("GUID not found in partition naming master DN %s : %s \n" % - (res[0]['fSMORoleOwner'][0], msg)) - except LdbError, (num, msg): - raise CommandError("DNS partion %s not found : %s" % (role, msg)) + if 'fSMORoleOwner' in res[0]: + try: + master_guid = str(misc.GUID(ldb.Dn(samdb, + res[0]['fSMORoleOwner'][0]) + .get_extended_component('GUID'))) + master_owner = str(ldb.Dn(samdb, res[0]['fSMORoleOwner'][0])) + except LdbError, (num, msg): + raise CommandError("No GUID found in naming master DN %s : %s \n" % + (res[0]['fSMORoleOwner'][0], msg)) + else: + outf.write("* The '%s' role does not have an FSMO roleowner\n" % role) + return False if role == "domaindns": master_dns_name = '%s._msdcs.%s' % (master_guid, @@ -150,12 +159,12 @@ m = ldb.Message() m.dn = ldb.Dn(samdb, "") if role == "rid": - master_owner = get_fsmo_roleowner(samdb, rid_dn) + master_owner = get_fsmo_roleowner(samdb, rid_dn, role) m["becomeRidMaster"]= ldb.MessageElement( "1", ldb.FLAG_MOD_REPLACE, "becomeRidMaster") elif role == "pdc": - master_owner = get_fsmo_roleowner(samdb, domain_dn) + master_owner = get_fsmo_roleowner(samdb, domain_dn, role) res = samdb.search(domain_dn, scope=ldb.SCOPE_BASE, attrs=["objectSid"]) @@ -165,34 +174,38 @@ sid, ldb.FLAG_MOD_REPLACE, "becomePdc") elif role == "naming": - master_owner = get_fsmo_roleowner(samdb, naming_dn) + master_owner = get_fsmo_roleowner(samdb, naming_dn, role) m["becomeDomainMaster"]= ldb.MessageElement( "1", ldb.FLAG_MOD_REPLACE, "becomeDomainMaster") elif role == "infrastructure": - master_owner = get_fsmo_roleowner(samdb, infrastructure_dn) + master_owner = get_fsmo_roleowner(samdb, infrastructure_dn, role) m["becomeInfrastructureMaster"]= ldb.MessageElement( "1", ldb.FLAG_MOD_REPLACE, "becomeInfrastructureMaster") elif role == "schema": - master_owner = get_fsmo_roleowner(samdb, schema_dn) + master_owner = get_fsmo_roleowner(samdb, schema_dn, role) m["becomeSchemaMaster"]= ldb.MessageElement( "1", ldb.FLAG_MOD_REPLACE, "becomeSchemaMaster") else: raise CommandError("Invalid FSMO role.") - if master_owner != new_owner: - try: - samdb.modify(m) - except LdbError, (num, msg): - raise CommandError("Transfer of '%s' role failed: %s" % - (role, msg)) + if not '*' in master_owner: + if master_owner != new_owner: + try: + samdb.modify(m) + except LdbError, (num, msg): + raise CommandError("Transfer of '%s' role failed: %s" % + (role, msg)) - outf.write("FSMO transfer of '%s' role successful\n" % role) - return True + outf.write("FSMO transfer of '%s' role successful\n" % role) + return True + else: + outf.write("This DC already has the '%s' FSMO role\n" % role) + return False else: - outf.write("This DC already has the '%s' FSMO role\n" % role) + outf.write("%s\n" % master_owner) return False class cmd_fsmo_seize(Command): @@ -210,7 +223,7 @@ Option("-H", "--URL", help="LDB URL for database or target server", type=str, metavar="URL", dest="H"), Option("--force", - help="Force seizing of the role without attempting to transfer first.", + help="Force seizing of role without attempting to transfer.", action="store_true"), Option("--role", type="choice", choices=["rid", "pdc", "infrastructure", "schema", "naming", "domaindns", "forestdns", "all"], @@ -253,32 +266,41 @@ raise CommandError("Invalid FSMO role.") #first try to transfer to avoid problem if the owner is still active seize = False - master_owner = get_fsmo_roleowner(samdb, m.dn) - if master_owner != serviceName: - if force is None: - self.message("Attempting transfer...") - if not transfer_role(self.outf, role, samdb): - #transfer failed, use the big axe... - seize = True - self.message("Transfer unsuccessful, seizing...") - else: - self.message("Not seizing role as transfer was successful") - - if force is not None or seize == True: - self.message("Seizing %s FSMO role..." % role) - m["fSMORoleOwner"]= ldb.MessageElement( - serviceName, ldb.FLAG_MOD_REPLACE, - "fSMORoleOwner") - try: - samdb.modify(m) - except LdbError, (num, msg): - raise CommandError("Failed to seize '%s' role: %s" % - (role, msg)) - self.outf.write("FSMO seize of '%s' role successful\n" % role) - return True + master_owner = get_fsmo_roleowner(samdb, m.dn, role) + if not '*' in master_owner: + # if there is a different owner + if master_owner != serviceName: + # if --force isn't given, attempt transfer + if force is None: + self.message("Attempting transfer...") + try: + transfer_role(self.outf, role, samdb) + except: + #transfer failed, use the big axe... + seize = True + self.message("Transfer unsuccessful, seizing...") + else: + self.message("Transfer successful, not seizing role") + return True + else: + self.outf.write("This DC already has the '%s' FSMO role\n" % + role) + return False else: - self.outf.write("This DC already has the '%s' FSMO role\n" % role) - return False + seize = True + + if force is not None or seize == True: + self.message("Seizing %s FSMO role..." % role) + m["fSMORoleOwner"]= ldb.MessageElement( + serviceName, ldb.FLAG_MOD_REPLACE, + "fSMORoleOwner") + try: + samdb.modify(m) + except LdbError, (num, msg): + raise CommandError("Failed to seize '%s' role: %s" % + (role, msg)) + self.outf.write("FSMO seize of '%s' role successful\n" % role) + return True def seize_dns_role(self, role, samdb, credopts, sambaopts, versionopts, force): @@ -299,33 +321,43 @@ raise CommandError("Invalid FSMO role.") #first try to transfer to avoid problem if the owner is still active seize = False - master_owner = get_fsmo_roleowner(samdb, m.dn) - if master_owner != serviceName: - if force is None: - self.message("Attempting transfer...") - if not transfer_dns_role(self.outf, sambaopts, credopts, role, - samdb): - #transfer failed, use the big axe... - seize = True - self.message("Transfer unsuccessful, seizing...") - else: - self.message("Not seizing role as transfer was successful\n") - - if force is not None or seize == True: - self.message("Seizing %s FSMO role..." % role) - m["fSMORoleOwner"]= ldb.MessageElement( - serviceName, ldb.FLAG_MOD_REPLACE, - "fSMORoleOwner") - try: - samdb.modify(m) - except LdbError, (num, msg): - raise CommandError("Failed to seize '%s' role: %s" % - (role, msg)) - self.outf.write("FSMO seize of '%s' role successful\n" % role) - return True + master_owner = get_fsmo_roleowner(samdb, m.dn, role) + if not '*' in master_owner: + # if there is a different owner + if master_owner != serviceName: + # if --force isn't given, attempt transfer + if force is None: + self.message("Attempting transfer...") + try: + transfer_dns_role(self.outf, sambaopts, credopts, role, + samdb) + except: + #transfer failed, use the big axe... + seize = True + self.message("Transfer unsuccessful, seizing...") + else: + self.message("Transfer successful, not seizing role\n") + return True + else: + self.outf.write("This DC already has the '%s' FSMO role\n" % + role) + return False else: - self.outf.write("This DC already has the '%s' FSMO role\n" % role) - return False + seize = True + + if force is not None or seize == True: + self.message("Seizing %s FSMO role..." % role) + m["fSMORoleOwner"]= ldb.MessageElement( + serviceName, ldb.FLAG_MOD_REPLACE, + "fSMORoleOwner") + try: + samdb.modify(m) + except LdbError, (num, msg): + raise CommandError("Failed to seize '%s' role: %s" % + (role, msg)) + self.outf.write("FSMO seize of '%s' role successful\n" % role) + return True + def run(self, force=None, H=None, role=None, credopts=None, sambaopts=None, versionopts=None): @@ -388,13 +420,16 @@ domaindns_dn = "CN=Infrastructure,DC=DomainDnsZones," + domain_dn forestdns_dn = "CN=Infrastructure,DC=ForestDnsZones," + forest_dn - infrastructureMaster = get_fsmo_roleowner(samdb, infrastructure_dn) - pdcEmulator = get_fsmo_roleowner(samdb, domain_dn) - namingMaster = get_fsmo_roleowner(samdb, naming_dn) - schemaMaster = get_fsmo_roleowner(samdb, schema_dn) - ridMaster = get_fsmo_roleowner(samdb, rid_dn) - domaindnszonesMaster = get_fsmo_roleowner(samdb, domaindns_dn) - forestdnszonesMaster = get_fsmo_roleowner(samdb, forestdns_dn) + infrastructureMaster = get_fsmo_roleowner(samdb, infrastructure_dn, + "infrastructure") + pdcEmulator = get_fsmo_roleowner(samdb, domain_dn, "pdc") + namingMaster = get_fsmo_roleowner(samdb, naming_dn, "naming") + schemaMaster = get_fsmo_roleowner(samdb, schema_dn, "schema") + ridMaster = get_fsmo_roleowner(samdb, rid_dn, "rid") + domaindnszonesMaster = get_fsmo_roleowner(samdb, domaindns_dn, + "domaindns") + forestdnszonesMaster = get_fsmo_roleowner(samdb, forestdns_dn, + "forestdns") self.message("SchemaMasterRole owner: " + schemaMaster) self.message("InfrastructureMasterRole owner: " + infrastructureMaster) @@ -449,8 +484,10 @@ transfer_role(self.outf, "naming", samdb) transfer_role(self.outf, "infrastructure", samdb) transfer_role(self.outf, "schema", samdb) - transfer_dns_role(self.outf, sambaopts, credopts, "domaindns", samdb) - transfer_dns_role(self.outf, sambaopts, credopts, "forestdns", samdb) + transfer_dns_role(self.outf, sambaopts, credopts, + "domaindns", samdb) + transfer_dns_role(self.outf, sambaopts, credopts, "forestdns", + samdb) else: if role == "domaindns" or role == "forestdns": transfer_dns_role(self.outf, sambaopts, credopts, role, samdb) diff -Nru samba-4.3.9+dfsg/python/samba/tests/samba_tool/fsmo.py samba-4.3.11+dfsg/python/samba/tests/samba_tool/fsmo.py --- samba-4.3.9+dfsg/python/samba/tests/samba_tool/fsmo.py 1970-01-01 00:00:00.000000000 +0000 +++ samba-4.3.11+dfsg/python/samba/tests/samba_tool/fsmo.py 2016-06-14 07:37:36.000000000 +0000 @@ -0,0 +1,29 @@ +# Unix SMB/CIFS implementation. +# Copyright (C) Rowland Penny 2016 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + +import os +from samba.tests.samba_tool.base import SambaToolCmdTest + +class FsmoCmdTestCase(SambaToolCmdTest): + """Test for samba-tool fsmo show subcommand""" + + def test_fsmoget(self): + """Run fsmo show to see if it errors""" + (result, out, err) = self.runsubcmd("fsmo", "show") + + self.assertCmdSuccess(result) + self.assertEquals(err,"","Shouldn't be any error messages") diff -Nru samba-4.3.9+dfsg/source3/auth/token_util.c samba-4.3.11+dfsg/source3/auth/token_util.c --- samba-4.3.9+dfsg/source3/auth/token_util.c 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/source3/auth/token_util.c 2016-06-14 07:37:36.000000000 +0000 @@ -672,6 +672,7 @@ TALLOC_CTX *tmp_ctx = talloc_stackframe(); gid_t *gids; struct dom_sid *group_sids; + struct dom_sid tmp_sid; uint32_t num_group_sids; uint32_t num_gids; uint32_t i; @@ -753,7 +754,6 @@ *uid = sam_acct->unix_pw->pw_uid; } else if (sid_check_is_in_unix_users(user_sid)) { - struct dom_sid tmp_sid; uint32_t getgroups_num_group_sids; /* This is a unix user not in passdb. We need to ask nss * directly, without consulting passdb */ diff -Nru samba-4.3.9+dfsg/source3/client/smbspool.c samba-4.3.11+dfsg/source3/client/smbspool.c --- samba-4.3.9+dfsg/source3/client/smbspool.c 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/source3/client/smbspool.c 2016-06-14 07:37:36.000000000 +0000 @@ -250,7 +250,7 @@ * Setup the SAMBA server state... */ - setup_logging("smbspool", DEBUG_STDOUT); + setup_logging("smbspool", DEBUG_STDERR); smb_init_locale(); diff -Nru samba-4.3.9+dfsg/source3/client/smbspool_krb5_wrapper.c samba-4.3.11+dfsg/source3/client/smbspool_krb5_wrapper.c --- samba-4.3.9+dfsg/source3/client/smbspool_krb5_wrapper.c 2016-02-22 09:36:15.000000000 +0000 +++ samba-4.3.11+dfsg/source3/client/smbspool_krb5_wrapper.c 2016-06-14 07:37:36.000000000 +0000 @@ -24,12 +24,15 @@ #include "system/passwd.h" #include +#include #include #include #include "dynconfig/dynconfig.h" +#undef calloc + enum cups_smb_dbglvl_e { CUPS_SMB_LOG_DEBUG = 0, CUPS_SMB_LOG_ERROR, @@ -195,7 +198,14 @@ * Make sure we do not have LD_PRELOAD or other security relevant * environment variables set. */ +#ifdef HAVE_CLEARENV clearenv(); +#else + { + extern char **environ; + environ = calloc(1, sizeof(*environ)); + } +#endif CUPS_SMB_DEBUG("Setting KRB5CCNAME to '%s'", gen_cc); setenv("KRB5CCNAME", gen_cc, 1); diff -Nru samba-4.3.9+dfsg/source3/lib/dumpcore.c samba-4.3.11+dfsg/source3/lib/dumpcore.c --- samba-4.3.9+dfsg/source3/lib/dumpcore.c 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/source3/lib/dumpcore.c 2016-06-14 07:37:36.000000000 +0000 @@ -251,21 +251,6 @@ goto out; } - -#ifdef HAVE_GETRLIMIT -#ifdef RLIMIT_CORE - { - struct rlimit rlp; - getrlimit(RLIMIT_CORE, &rlp); - rlp.rlim_cur = MAX(16*1024*1024,rlp.rlim_cur); - setrlimit(RLIMIT_CORE, &rlp); - getrlimit(RLIMIT_CORE, &rlp); - DEBUG(3,("Maximum core file size limits now %d(soft) %d(hard)\n", - (int)rlp.rlim_cur,(int)rlp.rlim_max)); - } -#endif -#endif - /* FIXME: if we have a core-plus-pid facility, configurably set * this up here. */ diff -Nru samba-4.3.9+dfsg/source3/lib/sysquotas_4B.c samba-4.3.11+dfsg/source3/lib/sysquotas_4B.c --- samba-4.3.9+dfsg/source3/lib/sysquotas_4B.c 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/source3/lib/sysquotas_4B.c 2016-06-14 07:37:36.000000000 +0000 @@ -81,6 +81,12 @@ dp->hardlimit = XLATE_TO_BLOCKS(qblk->dqb_bhardlimit); dp->curblocks = XLATE_TO_BLOCKS(qblk->dqb_curbytes); #undef XLATE_TO_BLOCKS +#else + dp->bsize = DEV_BSIZE; + + dp->softlimit = qblk->dqb_bsoftlimit; + dp->hardlimit = qblk->dqb_bhardlimit; + dp->curblocks = qblk->dqb_curblocks; #endif dp->ihardlimit = qblk->dqb_ihardlimit; diff -Nru samba-4.3.9+dfsg/source3/libnet/libnet_join.c samba-4.3.11+dfsg/source3/libnet/libnet_join.c --- samba-4.3.9+dfsg/source3/libnet/libnet_join.c 2016-05-02 07:48:32.000000000 +0000 +++ samba-4.3.11+dfsg/source3/libnet/libnet_join.c 2016-06-14 07:37:36.000000000 +0000 @@ -394,6 +394,7 @@ size_t num_spns = 0; char *spn = NULL; bool ok; + const char **netbios_aliases = NULL; /* Find our DN */ @@ -455,6 +456,65 @@ } } + netbios_aliases = lp_netbios_aliases(); + if (netbios_aliases != NULL) { + for (; *netbios_aliases != NULL; netbios_aliases++) { + /* + * Add HOST/NETBIOSNAME + */ + spn = talloc_asprintf(mem_ctx, "HOST/%s", *netbios_aliases); + if (spn == NULL) { + TALLOC_FREE(spn); + return ADS_ERROR_LDAP(LDAP_NO_MEMORY); + } + if (!strupper_m(spn)) { + TALLOC_FREE(spn); + return ADS_ERROR_LDAP(LDAP_NO_MEMORY); + } + + ok = ads_element_in_array(spn_array, num_spns, spn); + if (ok) { + TALLOC_FREE(spn); + continue; + } + ok = add_string_to_array(spn_array, spn, + &spn_array, &num_spns); + if (!ok) { + TALLOC_FREE(spn); + return ADS_ERROR_LDAP(LDAP_NO_MEMORY); + } + TALLOC_FREE(spn); + + /* + * Add HOST/netbiosname.domainname + */ + if (r->out.dns_domain_name == NULL) { + continue; + } + fstr_sprintf(my_fqdn, "%s.%s", + *netbios_aliases, + r->out.dns_domain_name); + + spn = talloc_asprintf(mem_ctx, "HOST/%s", my_fqdn); + if (spn == NULL) { + return ADS_ERROR_LDAP(LDAP_NO_MEMORY); + } + + ok = ads_element_in_array(spn_array, num_spns, spn); + if (ok) { + TALLOC_FREE(spn); + continue; + } + ok = add_string_to_array(spn_array, spn, + &spn_array, &num_spns); + if (!ok) { + TALLOC_FREE(spn); + return ADS_ERROR_LDAP(LDAP_NO_MEMORY); + } + TALLOC_FREE(spn); + } + } + /* make sure to NULL terminate the array */ spn_array = talloc_realloc(mem_ctx, spn_array, const char *, num_spns + 1); if (spn_array == NULL) { diff -Nru samba-4.3.9+dfsg/source3/libsmb/cliconnect.c samba-4.3.11+dfsg/source3/libsmb/cliconnect.c --- samba-4.3.9+dfsg/source3/libsmb/cliconnect.c 2016-05-02 07:48:32.000000000 +0000 +++ samba-4.3.11+dfsg/source3/libsmb/cliconnect.c 2016-07-05 07:14:57.000000000 +0000 @@ -1588,6 +1588,9 @@ * have a negotiated session key. * * So just pretend we are completely done. + * + * Note that smbXcli_session_is_guest() + * always returns false if we require signing. */ state->blob_in = data_blob_null; state->local_ready = true; diff -Nru samba-4.3.9+dfsg/source3/libsmb/clifile.c samba-4.3.11+dfsg/source3/libsmb/clifile.c --- samba-4.3.9+dfsg/source3/libsmb/clifile.c 2016-02-24 10:40:03.000000000 +0000 +++ samba-4.3.11+dfsg/source3/libsmb/clifile.c 2016-06-14 07:37:36.000000000 +0000 @@ -4593,7 +4593,7 @@ status = cli_trans(talloc_tos(), cli, SMBtrans2, NULL, -1, 0, 0, setup, 1, 0, param, param_len, 2, - data, data_len, CLI_BUFFER_SIZE, + data, data_len, 0, NULL, NULL, 0, NULL, /* rsetup */ NULL, 0, NULL, /* rparam */ diff -Nru samba-4.3.9+dfsg/source3/libsmb/cli_smb2_fnum.c samba-4.3.11+dfsg/source3/libsmb/cli_smb2_fnum.c --- samba-4.3.9+dfsg/source3/libsmb/cli_smb2_fnum.c 2016-02-22 09:36:15.000000000 +0000 +++ samba-4.3.11+dfsg/source3/libsmb/cli_smb2_fnum.c 2016-06-14 07:37:36.000000000 +0000 @@ -262,6 +262,7 @@ NTSTATUS status; if (tevent_req_is_nterror(req, &status)) { + state->cli->raw_status = status; return status; } if (pfnum != NULL) { @@ -270,6 +271,7 @@ if (cr != NULL) { *cr = state->cr; } + state->cli->raw_status = NT_STATUS_OK; return NT_STATUS_OK; } @@ -390,7 +392,11 @@ NTSTATUS cli_smb2_close_fnum_recv(struct tevent_req *req) { - return tevent_req_simple_recv_ntstatus(req); + struct cli_smb2_close_fnum_state *state = tevent_req_data( + req, struct cli_smb2_close_fnum_state); + NTSTATUS status = tevent_req_simple_recv_ntstatus(req); + state->cli->raw_status = status; + return status; } NTSTATUS cli_smb2_close_fnum(struct cli_state *cli, uint16_t fnum) @@ -2302,6 +2308,7 @@ req, struct cli_smb2_read_state); if (tevent_req_is_nterror(req, &status)) { + state->cli->raw_status = status; return status; } /* @@ -2311,6 +2318,7 @@ */ *received = (ssize_t)state->received; *rcvbuf = state->buf; + state->cli->raw_status = NT_STATUS_OK; return NT_STATUS_OK; } @@ -2409,6 +2417,7 @@ NTSTATUS status; if (tevent_req_is_nterror(req, &status)) { + state->cli->raw_status = status; tevent_req_received(req); return status; } @@ -2416,6 +2425,7 @@ if (pwritten != NULL) { *pwritten = (size_t)state->written; } + state->cli->raw_status = NT_STATUS_OK; tevent_req_received(req); return NT_STATUS_OK; } @@ -2573,11 +2583,13 @@ NTSTATUS status; if (tevent_req_is_nterror(req, &status)) { + state->cli->raw_status = status; return status; } if (pwritten != NULL) { *pwritten = (size_t)state->written; } + state->cli->raw_status = NT_STATUS_OK; return NT_STATUS_OK; } @@ -2838,12 +2850,14 @@ NTSTATUS status; if (tevent_req_is_nterror(req, &status)) { + state->cli->raw_status = status; tevent_req_received(req); return status; } if (written != NULL) { *written = state->written; } + state->cli->raw_status = NT_STATUS_OK; tevent_req_received(req); return NT_STATUS_OK; } diff -Nru samba-4.3.9+dfsg/source3/locking/share_mode_lock.c samba-4.3.11+dfsg/source3/locking/share_mode_lock.c --- samba-4.3.9+dfsg/source3/locking/share_mode_lock.c 2015-10-20 10:40:54.000000000 +0000 +++ samba-4.3.11+dfsg/source3/locking/share_mode_lock.c 2016-06-14 07:37:36.000000000 +0000 @@ -441,6 +441,11 @@ TALLOC_FREE(d->record); /* + * Release the dptr as well before reparenting to NULL + * (in-memory cache) context. + */ + TALLOC_FREE(data.dptr); + /* * Reparent d into the in-memory cache so it can be reused if the * sequence number matches. See parse_share_modes() * for details. diff -Nru samba-4.3.9+dfsg/source3/modules/vfs_fruit.c samba-4.3.11+dfsg/source3/modules/vfs_fruit.c --- samba-4.3.9+dfsg/source3/modules/vfs_fruit.c 2016-01-12 08:16:11.000000000 +0000 +++ samba-4.3.11+dfsg/source3/modules/vfs_fruit.c 2016-06-14 07:37:36.000000000 +0000 @@ -132,6 +132,7 @@ bool unix_info_enabled; bool copyfile_enabled; bool veto_appledouble; + bool posix_rename; /* * Additional options, all enabled by default, @@ -1355,6 +1356,9 @@ config->use_copyfile = lp_parm_bool(-1, FRUIT_PARAM_TYPE_NAME, "copyfile", false); + config->posix_rename = lp_parm_bool( + SNUM(handle->conn), FRUIT_PARAM_TYPE_NAME, "posix_rename", true); + config->readdir_attr_rsize = lp_parm_bool( SNUM(handle->conn), "readdir_attr", "aapl_rsize", true); @@ -3427,7 +3431,7 @@ fsp->aapl_copyfile_supported = true; } - if (fsp->is_directory) { + if (config->posix_rename && fsp->is_directory) { /* * Enable POSIX directory rename behaviour */ diff -Nru samba-4.3.9+dfsg/source3/passdb/pdb_ldap.c samba-4.3.11+dfsg/source3/passdb/pdb_ldap.c --- samba-4.3.9+dfsg/source3/passdb/pdb_ldap.c 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/source3/passdb/pdb_ldap.c 2016-06-14 07:37:36.000000000 +0000 @@ -1005,7 +1005,7 @@ entry, "gecos", ctx); - if (unix_pw.pw_gecos) { + if (unix_pw.pw_gecos == NULL) { unix_pw.pw_gecos = fullname; } unix_pw.pw_dir = smbldap_talloc_single_attribute( @@ -1013,7 +1013,7 @@ entry, "homeDirectory", ctx); - if (unix_pw.pw_dir) { + if (unix_pw.pw_dir == NULL) { unix_pw.pw_dir = discard_const_p(char, ""); } unix_pw.pw_shell = smbldap_talloc_single_attribute( @@ -1021,7 +1021,7 @@ entry, "loginShell", ctx); - if (unix_pw.pw_shell) { + if (unix_pw.pw_shell == NULL) { unix_pw.pw_shell = discard_const_p(char, ""); } diff -Nru samba-4.3.9+dfsg/source3/rpcclient/rpcclient.c samba-4.3.11+dfsg/source3/rpcclient/rpcclient.c --- samba-4.3.9+dfsg/source3/rpcclient/rpcclient.c 2016-03-30 10:19:32.000000000 +0000 +++ samba-4.3.11+dfsg/source3/rpcclient/rpcclient.c 2016-06-14 07:37:36.000000000 +0000 @@ -904,6 +904,7 @@ const char *binding_string = NULL; char *user, *domain, *q; const char *host; + int signing_state = SMB_SIGNING_IPC_DEFAULT; /* make sure the vars that get altered (4th field) are in a fixed location or certain compilers complain */ @@ -1077,6 +1078,16 @@ } } + signing_state = get_cmdline_auth_info_signing_state(rpcclient_auth_info); + switch (signing_state) { + case SMB_SIGNING_OFF: + lp_set_cmdline("client ipc signing", "no"); + break; + case SMB_SIGNING_REQUIRED: + lp_set_cmdline("client ipc signing", "required"); + break; + } + if (get_cmdline_auth_info_use_kerberos(rpcclient_auth_info)) { flags |= CLI_FULL_CONNECTION_USE_KERBEROS | CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS; @@ -1084,6 +1095,9 @@ if (get_cmdline_auth_info_use_ccache(rpcclient_auth_info)) { flags |= CLI_FULL_CONNECTION_USE_CCACHE; } + if (get_cmdline_auth_info_use_pw_nt_hash(rpcclient_auth_info)) { + flags |= CLI_FULL_CONNECTION_USE_NT_HASH; + } user = talloc_strdup(frame, get_cmdline_auth_info_username(rpcclient_auth_info)); SMB_ASSERT(user != NULL); @@ -1104,7 +1118,7 @@ get_cmdline_auth_info_domain(rpcclient_auth_info), get_cmdline_auth_info_password(rpcclient_auth_info), flags, - get_cmdline_auth_info_signing_state(rpcclient_auth_info)); + SMB_SIGNING_IPC_DEFAULT); if (!NT_STATUS_IS_OK(nt_status)) { DEBUG(0,("Cannot connect to server. Error was %s\n", nt_errstr(nt_status))); diff -Nru samba-4.3.9+dfsg/source3/script/tests/test_rpcclient_pw_nt_hash.sh samba-4.3.11+dfsg/source3/script/tests/test_rpcclient_pw_nt_hash.sh --- samba-4.3.9+dfsg/source3/script/tests/test_rpcclient_pw_nt_hash.sh 1970-01-01 00:00:00.000000000 +0000 +++ samba-4.3.11+dfsg/source3/script/tests/test_rpcclient_pw_nt_hash.sh 2016-06-14 07:37:36.000000000 +0000 @@ -0,0 +1,27 @@ +#!/bin/sh +# +# Blackbox tests for the rpcclient --pw-nt-hash option +# + +if [ $# -lt 4 ]; then +cat <st)) { - bool delete_pending; - uint32_t name_hash; - - status = file_name_hash(conn, - smb_fname_str_dbg(smb_fname), - &name_hash); - if (!NT_STATUS_IS_OK(status)) { - goto fail; - } - - get_file_infos(vfs_file_id_from_sbuf(conn, - &smb_fname->st), - name_hash, - &delete_pending, NULL); - if (delete_pending) { - status = NT_STATUS_DELETE_PENDING; - goto fail; - } - } -#endif - /* * Add to the dirpath that we have resolved so far. */ diff -Nru samba-4.3.9+dfsg/source3/smbd/oplock.c samba-4.3.11+dfsg/source3/smbd/oplock.c --- samba-4.3.9+dfsg/source3/smbd/oplock.c 2016-02-22 09:36:15.000000000 +0000 +++ samba-4.3.11+dfsg/source3/smbd/oplock.c 2016-06-14 07:37:36.000000000 +0000 @@ -190,6 +190,7 @@ /* * If we're the only one, we don't need a brlock entry */ + remove_stale_share_mode_entries(d); SMB_ASSERT(d->num_share_modes == 1); SMB_ASSERT(EXCLUSIVE_OPLOCK_TYPE(d->share_modes[0].op_type)); return true; diff -Nru samba-4.3.9+dfsg/source3/smbd/service.c samba-4.3.11+dfsg/source3/smbd/service.c --- samba-4.3.9+dfsg/source3/smbd/service.c 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/source3/smbd/service.c 2016-06-14 07:37:36.000000000 +0000 @@ -181,6 +181,7 @@ bool set_current_service(connection_struct *conn, uint16_t flags, bool do_chdir) { int snum; + enum remote_arch_types ra_type; if (!conn) { last_conn = NULL; @@ -206,28 +207,35 @@ last_conn = conn; last_flags = flags; - /* Obey the client case sensitivity requests - only for clients that support it. */ + /* + * Obey the client case sensitivity requests - only for clients that + * support it. */ switch (lp_case_sensitive(snum)) { - case Auto: - { - /* We need this uglyness due to DOS/Win9x clients that lie about case insensitivity. */ - enum remote_arch_types ra_type = get_remote_arch(); - if ((ra_type != RA_SAMBA) && (ra_type != RA_CIFSFS)) { - /* Client can't support per-packet case sensitive pathnames. */ - conn->case_sensitive = False; - } else { - conn->case_sensitive = !(flags & FLAG_CASELESS_PATHNAMES); - } - } - break; - case True: - conn->case_sensitive = True; - break; - default: - conn->case_sensitive = False; - break; + case Auto: + /* + * We need this uglyness due to DOS/Win9x clients that lie + * about case insensitivity. */ + ra_type = get_remote_arch(); + if (conn->sconn->using_smb2) { + conn->case_sensitive = false; + } else if ((ra_type != RA_SAMBA) && (ra_type != RA_CIFSFS)) { + /* + * Client can't support per-packet case sensitive + * pathnames. */ + conn->case_sensitive = false; + } else { + conn->case_sensitive = + !(flags & FLAG_CASELESS_PATHNAMES); + } + break; + case True: + conn->case_sensitive = true; + break; + default: + conn->case_sensitive = false; + break; } - return(True); + return true; } /**************************************************************************** diff -Nru samba-4.3.9+dfsg/source3/smbd/sesssetup.c samba-4.3.11+dfsg/source3/smbd/sesssetup.c --- samba-4.3.9+dfsg/source3/smbd/sesssetup.c 2016-05-02 07:48:32.000000000 +0000 +++ samba-4.3.11+dfsg/source3/smbd/sesssetup.c 2016-06-14 07:37:36.000000000 +0000 @@ -135,6 +135,7 @@ struct smbXsrv_connection *xconn = req->xconn; struct smbd_server_connection *sconn = req->sconn; uint16_t action = 0; + bool is_authenticated = false; NTTIME now = timeval_to_nttime(&req->request_time); struct smbXsrv_session *session = NULL; uint16_t smb_bufsize = SVAL(req->vwv+2, 0); @@ -328,12 +329,13 @@ sconn->num_users++; if (security_session_user_level(session_info, NULL) >= SECURITY_USER) { + is_authenticated = true; session->compat->homes_snum = register_homes_share(session_info->unix_info->unix_name); } if (srv_is_signing_negotiated(xconn) && - action == 0 && + is_authenticated && session->global->signing_key.length > 0) { /* @@ -593,6 +595,7 @@ struct auth_session_info *session_info = NULL; uint16_t smb_flag2 = req->flags2; uint16_t action = 0; + bool is_authenticated = false; NTTIME now = timeval_to_nttime(&req->request_time); struct smbXsrv_session *session = NULL; NTSTATUS nt_status; @@ -1030,12 +1033,13 @@ sconn->num_users++; if (security_session_user_level(session_info, NULL) >= SECURITY_USER) { + is_authenticated = true; session->compat->homes_snum = register_homes_share(session_info->unix_info->unix_name); } if (srv_is_signing_negotiated(xconn) && - action == 0 && + is_authenticated && session->global->signing_key.length > 0) { /* diff -Nru samba-4.3.9+dfsg/source3/utils/net_printing.c samba-4.3.11+dfsg/source3/utils/net_printing.c --- samba-4.3.9+dfsg/source3/utils/net_printing.c 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/source3/utils/net_printing.c 2016-06-14 07:37:36.000000000 +0000 @@ -264,27 +264,66 @@ } if (strncmp((const char *)kbuf.dptr, FORMS_PREFIX, strlen(FORMS_PREFIX)) == 0) { - dump_form(ctx, (const char *)kbuf.dptr+strlen(FORMS_PREFIX), dbuf.dptr, dbuf.dsize); + char *key_name = NULL; + size_t converted_size = 0; + bool ok; + + ok = pull_ascii_talloc(ctx, + &key_name, + (const char *) kbuf.dptr + strlen(FORMS_PREFIX), + &converted_size); + if (!ok) { + continue; + } + + dump_form(ctx, key_name, dbuf.dptr, dbuf.dsize); + TALLOC_FREE(key_name); SAFE_FREE(dbuf.dptr); continue; } if (strncmp((const char *)kbuf.dptr, DRIVERS_PREFIX, strlen(DRIVERS_PREFIX)) == 0) { + char *key_name = NULL; + size_t converted_size = 0; + bool ok; + + ok = pull_ascii_talloc(ctx, + &key_name, + (const char *) kbuf.dptr + strlen(DRIVERS_PREFIX), + &converted_size); + if (!ok) { + continue; + } + dump_driver(ctx, - (const char *)kbuf.dptr+strlen(DRIVERS_PREFIX), + key_name, dbuf.dptr, dbuf.dsize, do_string_conversion); + TALLOC_FREE(key_name); SAFE_FREE(dbuf.dptr); continue; } if (strncmp((const char *)kbuf.dptr, PRINTERS_PREFIX, strlen(PRINTERS_PREFIX)) == 0) { + char *key_name = NULL; + size_t converted_size = 0; + bool ok; + + ok = pull_ascii_talloc(ctx, + &key_name, + (const char *) kbuf.dptr + strlen(PRINTERS_PREFIX), + &converted_size); + if (!ok) { + continue; + } + dump_printer(ctx, - (const char *)kbuf.dptr+strlen(PRINTERS_PREFIX), + key_name, dbuf.dptr, dbuf.dsize, do_string_conversion); + TALLOC_FREE(key_name); SAFE_FREE(dbuf.dptr); continue; } @@ -357,33 +396,72 @@ } if (strncmp((const char *) kbuf.dptr, FORMS_PREFIX, strlen(FORMS_PREFIX)) == 0) { + char *key_name = NULL; + size_t converted_size = 0; + bool ok; + + ok = pull_ascii_talloc(tmp_ctx, + &key_name, + (const char *) kbuf.dptr + strlen(FORMS_PREFIX), + &converted_size); + if (!ok) { + continue; + } + printing_tdb_migrate_form(tmp_ctx, winreg_pipe, - (const char *) kbuf.dptr + strlen(FORMS_PREFIX), + key_name, dbuf.dptr, dbuf.dsize); + TALLOC_FREE(key_name); SAFE_FREE(dbuf.dptr); continue; } if (strncmp((const char *) kbuf.dptr, DRIVERS_PREFIX, strlen(DRIVERS_PREFIX)) == 0) { + char *key_name = NULL; + size_t converted_size = 0; + bool ok; + + ok = pull_ascii_talloc(tmp_ctx, + &key_name, + (const char *) kbuf.dptr + strlen(DRIVERS_PREFIX), + &converted_size); + if (!ok) { + continue; + } + printing_tdb_migrate_driver(tmp_ctx, winreg_pipe, - (const char *) kbuf.dptr + strlen(DRIVERS_PREFIX), + key_name, dbuf.dptr, dbuf.dsize, do_string_conversion); + TALLOC_FREE(key_name); SAFE_FREE(dbuf.dptr); continue; } if (strncmp((const char *) kbuf.dptr, PRINTERS_PREFIX, strlen(PRINTERS_PREFIX)) == 0) { + char *key_name = NULL; + size_t converted_size = 0; + bool ok; + + ok = pull_ascii_talloc(tmp_ctx, + &key_name, + (const char *) kbuf.dptr + strlen(PRINTERS_PREFIX), + &converted_size); + if (!ok) { + continue; + } + printing_tdb_migrate_printer(tmp_ctx, winreg_pipe, - (const char *) kbuf.dptr + strlen(PRINTERS_PREFIX), + key_name, dbuf.dptr, dbuf.dsize, do_string_conversion); + TALLOC_FREE(key_name); SAFE_FREE(dbuf.dptr); continue; } diff -Nru samba-4.3.9+dfsg/source3/utils/ntlm_auth.c samba-4.3.11+dfsg/source3/utils/ntlm_auth.c --- samba-4.3.9+dfsg/source3/utils/ntlm_auth.c 2016-03-30 10:19:32.000000000 +0000 +++ samba-4.3.11+dfsg/source3/utils/ntlm_auth.c 2016-06-14 07:37:36.000000000 +0000 @@ -27,6 +27,7 @@ #include "includes.h" #include "lib/param/param.h" #include "popt_common.h" +#include "libcli/security/security.h" #include "utils/ntlm_auth.h" #include "../libcli/auth/libcli_auth.h" #include "auth/ntlmssp/ntlmssp.h" @@ -705,18 +706,58 @@ uint32_t session_info_flags, struct auth_session_info **session_info_out) { - char *unix_username = (char *)server_returned_info; - struct auth_session_info *session_info = talloc_zero(mem_ctx, struct auth_session_info); - if (!session_info) { + const char *unix_username = (const char *)server_returned_info; + bool ok; + struct dom_sid *sids = NULL; + struct auth_session_info *session_info = NULL; + + session_info = talloc_zero(mem_ctx, struct auth_session_info); + if (session_info == NULL) { return NT_STATUS_NO_MEMORY; } session_info->unix_info = talloc_zero(session_info, struct auth_user_info_unix); - if (!session_info->unix_info) { + if (session_info->unix_info == NULL) { + TALLOC_FREE(session_info); + return NT_STATUS_NO_MEMORY; + } + session_info->unix_info->unix_name = talloc_strdup(session_info->unix_info, + unix_username); + if (session_info->unix_info->unix_name == NULL) { + TALLOC_FREE(session_info); + return NT_STATUS_NO_MEMORY; + } + + session_info->security_token = talloc_zero(session_info, struct security_token); + if (session_info->security_token == NULL) { TALLOC_FREE(session_info); return NT_STATUS_NO_MEMORY; } - session_info->unix_info->unix_name = talloc_steal(session_info->unix_info, unix_username); + + sids = talloc_zero_array(session_info->security_token, + struct dom_sid, 3); + if (sids == NULL) { + TALLOC_FREE(session_info); + return NT_STATUS_NO_MEMORY; + } + ok = dom_sid_parse(SID_WORLD, &sids[0]); + if (!ok) { + TALLOC_FREE(session_info); + return NT_STATUS_INTERNAL_ERROR; + } + ok = dom_sid_parse(SID_NT_NETWORK, &sids[1]); + if (!ok) { + TALLOC_FREE(session_info); + return NT_STATUS_INTERNAL_ERROR; + } + ok = dom_sid_parse(SID_NT_AUTHENTICATED_USERS, &sids[2]); + if (!ok) { + TALLOC_FREE(session_info); + return NT_STATUS_INTERNAL_ERROR; + } + + session_info->security_token->num_sids = talloc_array_length(sids); + session_info->security_token->sids = sids; *session_info_out = session_info; diff -Nru samba-4.3.9+dfsg/source3/wscript samba-4.3.11+dfsg/source3/wscript --- samba-4.3.9+dfsg/source3/wscript 2016-05-02 07:48:32.000000000 +0000 +++ samba-4.3.11+dfsg/source3/wscript 2016-06-14 07:37:36.000000000 +0000 @@ -92,7 +92,7 @@ conf.CHECK_FUNCS('getpwnam', headers='sys/types.h pwd.h') conf.CHECK_FUNCS('fdopendir') conf.CHECK_FUNCS('fstatat') - conf.CHECK_FUNCS('getpwent_r setenv strcasecmp fcvt fcvtl') + conf.CHECK_FUNCS('getpwent_r setenv clearenv strcasecmp fcvt fcvtl') conf.CHECK_FUNCS('syslog vsyslog timegm setlocale') conf.CHECK_FUNCS_IN('nanosleep', 'rt') conf.CHECK_FUNCS('lutimes futimes utimensat futimens') diff -Nru samba-4.3.9+dfsg/source4/heimdal/kdc/misc.c samba-4.3.11+dfsg/source4/heimdal/kdc/misc.c --- samba-4.3.9+dfsg/source4/heimdal/kdc/misc.c 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/source4/heimdal/kdc/misc.c 2016-06-14 07:37:36.000000000 +0000 @@ -40,7 +40,7 @@ krb5_kdc_configuration *config, krb5_const_principal principal, unsigned flags, - krb5uint32 *kvno_ptr, + krb5int32 *kvno_ptr, HDB **db, hdb_entry_ex **h) { diff -Nru samba-4.3.9+dfsg/source4/heimdal/lib/asn1/krb5.asn1 samba-4.3.11+dfsg/source4/heimdal/lib/asn1/krb5.asn1 --- samba-4.3.9+dfsg/source4/heimdal/lib/asn1/krb5.asn1 2015-07-21 09:47:49.000000000 +0000 +++ samba-4.3.11+dfsg/source4/heimdal/lib/asn1/krb5.asn1 2016-06-14 07:37:36.000000000 +0000 @@ -360,7 +360,7 @@ EncryptedData ::= SEQUENCE { etype[0] ENCTYPE, -- EncryptionType - kvno[1] krb5uint32 OPTIONAL, + kvno[1] krb5int32 OPTIONAL, cipher[2] OCTET STRING -- ciphertext } diff -Nru samba-4.3.9+dfsg/source4/librpc/rpc/dcerpc.c samba-4.3.11+dfsg/source4/librpc/rpc/dcerpc.c --- samba-4.3.9+dfsg/source4/librpc/rpc/dcerpc.c 2016-03-30 10:19:32.000000000 +0000 +++ samba-4.3.11+dfsg/source4/librpc/rpc/dcerpc.c 2016-07-05 07:14:49.000000000 +0000 @@ -155,6 +155,7 @@ */ c->srv_max_xmit_frag = 5840; c->srv_max_recv_frag = 5840; + c->max_total_response_size = DCERPC_NCACN_RESPONSE_DEFAULT_MAX_SIZE; c->pending = NULL; c->io_trigger = tevent_create_immediate(c); @@ -1577,10 +1578,10 @@ length = pkt->u.response.stub_and_verifier.length; - if (req->payload.length + length > DCERPC_NCACN_PAYLOAD_MAX_SIZE) { + if (req->payload.length + length > c->max_total_response_size) { DEBUG(2,("Unexpected total payload 0x%X > 0x%X dcerpc response\n", (unsigned)req->payload.length + length, - DCERPC_NCACN_PAYLOAD_MAX_SIZE)); + (unsigned)c->max_total_response_size)); dcerpc_connection_dead(c, NT_STATUS_RPC_PROTOCOL_ERROR); return; } diff -Nru samba-4.3.9+dfsg/source4/librpc/rpc/dcerpc.h samba-4.3.11+dfsg/source4/librpc/rpc/dcerpc.h --- samba-4.3.9+dfsg/source4/librpc/rpc/dcerpc.h 2016-03-30 10:19:32.000000000 +0000 +++ samba-4.3.11+dfsg/source4/librpc/rpc/dcerpc.h 2016-07-05 07:14:49.000000000 +0000 @@ -107,6 +107,9 @@ /* the next context_id to be assigned */ uint32_t next_context_id; + + /* The maximum total payload of reassembled response pdus */ + size_t max_total_response_size; }; /* diff -Nru samba-4.3.9+dfsg/source4/rpc_server/dcerpc_server.c samba-4.3.11+dfsg/source4/rpc_server/dcerpc_server.c --- samba-4.3.9+dfsg/source4/rpc_server/dcerpc_server.c 2016-03-30 10:19:32.000000000 +0000 +++ samba-4.3.11+dfsg/source4/rpc_server/dcerpc_server.c 2016-07-05 07:14:49.000000000 +0000 @@ -408,6 +408,7 @@ p->allow_bind = true; p->max_recv_frag = 5840; p->max_xmit_frag = 5840; + p->max_total_request_size = DCERPC_NCACN_REQUEST_DEFAULT_MAX_SIZE; *_p = p; return NT_STATUS_OK; @@ -1532,7 +1533,7 @@ /* * Up to 4 MByte are allowed by all fragments */ - available = DCERPC_NCACN_PAYLOAD_MAX_SIZE; + available = dce_conn->max_total_request_size; if (er->stub_and_verifier.length > available) { dcesrv_call_disconnect_after(existing, "dcesrv_auth_request - existing payload too large"); @@ -1585,7 +1586,7 @@ /* * Up to 4 MByte are allowed by all fragments */ - if (call->pkt.u.request.alloc_hint > DCERPC_NCACN_PAYLOAD_MAX_SIZE) { + if (call->pkt.u.request.alloc_hint > dce_conn->max_total_request_size) { dcesrv_call_disconnect_after(call, "dcesrv_auth_request - initial alloc hint too large"); return dcesrv_fault(call, DCERPC_FAULT_ACCESS_DENIED); diff -Nru samba-4.3.9+dfsg/source4/rpc_server/dcerpc_server.h samba-4.3.11+dfsg/source4/rpc_server/dcerpc_server.h --- samba-4.3.9+dfsg/source4/rpc_server/dcerpc_server.h 2016-03-30 10:19:32.000000000 +0000 +++ samba-4.3.11+dfsg/source4/rpc_server/dcerpc_server.h 2016-07-05 07:14:49.000000000 +0000 @@ -273,6 +273,9 @@ /* the association group the connection belongs to */ struct dcesrv_assoc_group *assoc_group; + + /* The maximum total payload of reassembled request pdus */ + size_t max_total_request_size; }; diff -Nru samba-4.3.9+dfsg/source4/selftest/tests.py samba-4.3.11+dfsg/source4/selftest/tests.py --- samba-4.3.9+dfsg/source4/selftest/tests.py 2016-03-30 10:19:32.000000000 +0000 +++ samba-4.3.11+dfsg/source4/selftest/tests.py 2016-06-14 07:37:36.000000000 +0000 @@ -525,6 +525,10 @@ planpythontestsuite("ad_dc_ntvfs:local", "samba.tests.dcerpc.srvsvc") planpythontestsuite("ad_dc_ntvfs:local", "samba.tests.samba_tool.timecmd") +# test fsmo show +for env in ["ad_dc_ntvfs", "fl2000dc", "fl2003dc", "fl2008r2dc"]: + planpythontestsuite(env + ":local", "samba.tests.samba_tool.fsmo") + # We run this test against both AD DC implemetnations because it is # the only test we have of GPO get/set behaviour, and this involves # the file server as well as the LDAP server. diff -Nru samba-4.3.9+dfsg/source4/torture/rpc/lsa.c samba-4.3.11+dfsg/source4/torture/rpc/lsa.c --- samba-4.3.9+dfsg/source4/torture/rpc/lsa.c 2016-03-30 10:19:32.000000000 +0000 +++ samba-4.3.11+dfsg/source4/torture/rpc/lsa.c 2016-06-14 07:37:36.000000000 +0000 @@ -3182,7 +3182,7 @@ const char *old_password = cli_credentials_get_old_password(credentials); int kvno = cli_credentials_get_kvno(credentials); int expected_kvno = 0; - krb5uint32 t_kvno = 0; + krb5int32 t_kvno = 0; const char *host = torture_setting_string(tctx, "host", NULL); krb5_error_code k5ret; krb5_boolean k5ok; diff -Nru samba-4.3.9+dfsg/VERSION samba-4.3.11+dfsg/VERSION --- samba-4.3.9+dfsg/VERSION 2016-05-02 07:48:32.000000000 +0000 +++ samba-4.3.11+dfsg/VERSION 2016-07-05 10:36:12.000000000 +0000 @@ -25,7 +25,7 @@ ######################################################## SAMBA_VERSION_MAJOR=4 SAMBA_VERSION_MINOR=3 -SAMBA_VERSION_RELEASE=9 +SAMBA_VERSION_RELEASE=11 ######################################################## # If a official release has a serious bug # diff -Nru samba-4.3.9+dfsg/WHATSNEW.txt samba-4.3.11+dfsg/WHATSNEW.txt --- samba-4.3.9+dfsg/WHATSNEW.txt 2016-05-02 07:48:32.000000000 +0000 +++ samba-4.3.11+dfsg/WHATSNEW.txt 2016-07-05 10:34:04.000000000 +0000 @@ -1,3 +1,177 @@ + ============================== + Release Notes for Samba 4.3.11 + July 07, 2016 + ============================== + + +This is a security release in order to address the following defect: + +o CVE-2016-2119 (Client side SMB2/3 required signing can be downgraded) + +======= +Details +======= + +o CVE-2016-2119: + It's possible for an attacker to downgrade the required signing for + an SMB2/3 client connection, by injecting the SMB2_SESSION_FLAG_IS_GUEST + or SMB2_SESSION_FLAG_IS_NULL flags. + + This means that the attacker can impersonate a server being connected to by + Samba, and return malicious results. + + The primary concern is with winbindd, as it uses DCERPC over SMB2 when talking + to domain controllers as a member server, and trusted domains as a domain + controller. These DCE/RPC connections were intended to protected by the + combination of "client ipc signing" and + "client ipc max protocol" in their effective default settings + ("mandatory" and "SMB3_11"). + + Additionally, management tools like net, samba-tool and rpcclient use DCERPC + over SMB2/3 connections. + + By default, other tools in Samba are unprotected, but rarely they are + configured to use smb signing, via the "client signing" parameter (the default + is "if_required"). Even more rarely the "client max protocol" is set to SMB2, + rather than the NT1 default. + + If both these conditions are met, then this issue would also apply to these + other tools, including command line tools like smbcacls, smbcquota, smbclient, + smbget and applications using libsmbclient. + + +Changes since 4.3.10: +-------------------- + +o Stefan Metzmacher + * BUG 11860: CVE-2016-2119: Fix client side SMB2 signing downgrade. + * BUG 11948: Total dcerpc response payload more than 0x400000. + + +####################################### +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.3.10 + June 15, 2016 + ============================== + + +This is the latest stable release of Samba 4.3. + + +Changes since 4.3.9: +-------------------- + +o Jeremy Allison + * BUG 10618: Do not ignore supplementary groups. + +o Christian Ambach + * 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: s3:smbd/service disable case-sensitivity for SMB2/3 connections. + +o Ralph Boehme + * BUG 1703: s3:libnet:libnet_join: Add netbios aliases as SPNs. + * BUG 11721: vfs_fruit: Add an option that allows disabling POSIX rename + behaviour. + +o Alexander Bokovoy + * BUG 11936: s3-smbd: Support systemd 230. + +o Jérémie Courrèges-Anglas + * BUG 11864: Provide fallback code for non-portable clearenv(3). + +o Günther Deschner + * BUG 11864: s3:client:smbspool_krb5_wrapper: fix the non clearenv build. + +o Robin McCorkell + * BUG 11276: Correctly set cli->raw_status for libsmbclient in SMB2 code. + +o Stefan Metzmacher + * 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: s3:ntlm_auth: Make ntlm_auth_generate_session_info() more + complete. + * BUG 11927: s3:rpcclient: Make use of SMB_SIGNING_IPC_DEFAULT. + +o Luca Olivetti + * BUG 11530: pdb: Fix segfault in pdb_ldap for missing gecos. + +o Rowland Penny + * BUG 11613: samba-tool: Allow 'samba-tool fsmo' to cope with empty or missing + fsmo roles. + +o Anoop C S + * BUG 11907: packaging: Set default limit for core file size in service + files. + +o Andreas Schneider + * BUG 11922: s3-net: Convert the key_name to UTF8 during migration. + * BUG 11935: s3-smbspool: Log to stderr. + +o Uri Simchoni + * BUG 11900: heimdal: Encode/decode kvno as signed integer. + * BUG 11931: s3-quotas: Fix sysquotas_4B quota fetching for BSD. + +o Raghavendra Talur + * BUG 11907: init: Set core file size to unlimited by default. + +o Hemanth Thummala + * BUG 11934: Fix memory leak in share mode locking. + +o Volker Lendecke + * BUG 11844: smbd: Fix an assert. + +o Lorinczy Zsigmond + * BUG 11947: lib: replace: snprintf - Fix length calculation for hex/octal + 64-bit values. + + +####################################### +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 Samba 4.3.9 May 2, 2016 @@ -108,8 +282,7 @@ ====================================================================== -Release notes for older releases follow: ----------------------------------------- +---------------------------------------------------------------------- =============================