[Pkg-samba-maint] r4133 - in trunk/samba/debian: . patches
idd-guest at alioth.debian.org
idd-guest at alioth.debian.org
Sun Jun 24 16:25:23 UTC 2012
tags 653382 pending
thanks
Author: idd-guest
Date: 2012-06-24 16:25:23 +0000 (Sun, 24 Jun 2012)
New Revision: 4133
Added:
trunk/samba/debian/patches/dont_start_when_guest_account_doesnt_exist.patch
Modified:
trunk/samba/debian/changelog
trunk/samba/debian/patches/series
Log:
Don't start smbd when guest account doesn't exist. Closes: #653382
Modified: trunk/samba/debian/changelog
===================================================================
--- trunk/samba/debian/changelog 2012-06-24 09:54:01 UTC (rev 4132)
+++ trunk/samba/debian/changelog 2012-06-24 16:25:23 UTC (rev 4133)
@@ -4,6 +4,7 @@
* Minor lintian fixes.
* Remove DHCP hook. Closes: #652942, #629406, #649100
* Don't reload smbd when running from inetd. Closes: #678741
+ * Don't start smbd when guest account doesn't exist. Closes: #653382
-- Ivo De Decker <ivo.dedecker at ugent.be> Tue, 19 Jun 2012 23:11:23 +0200
Added: trunk/samba/debian/patches/dont_start_when_guest_account_doesnt_exist.patch
===================================================================
--- trunk/samba/debian/patches/dont_start_when_guest_account_doesnt_exist.patch (rev 0)
+++ trunk/samba/debian/patches/dont_start_when_guest_account_doesnt_exist.patch 2012-06-24 16:25:23 UTC (rev 4133)
@@ -0,0 +1,26 @@
+Description: Don't start smbd when guest account doesn't exist
+ When the guest account doesn't exist, smbd should not start, because it will
+ crash when accessing a share as guest user.
+ .
+ This patch correctly returns the status of make_new_server_info_guest.
+ .
+ This is a backport of commit 51567de6d7d91f727a2135cd2d5434f85db6d45a by
+ Volker Lendecke <vl at samba.org> from upstream samba git master.
+Author: Ivo De Decker <ivo.dedecker at ugent.be>
+Origin: upstream
+Bug: https://bugzilla.samba.org/show_bug.cgi?id=9004
+Bug-Debian: http://bugs.debian.org/653382
+Forwarded: not-needed
+Last-Update: 2012-06-24
+
+--- samba-3.6.5.orig/source3/auth/auth_util.c
++++ samba-3.6.5/source3/auth/auth_util.c
+@@ -760,7 +760,7 @@ static NTSTATUS make_new_server_info_gue
+ status = NT_STATUS_OK;
+ done:
+ TALLOC_FREE(tmp_ctx);
+- return NT_STATUS_OK;
++ return status;
+ }
+
+ /***************************************************************************
Modified: trunk/samba/debian/patches/series
===================================================================
--- trunk/samba/debian/patches/series 2012-06-24 09:54:01 UTC (rev 4132)
+++ trunk/samba/debian/patches/series 2012-06-24 16:25:23 UTC (rev 4133)
@@ -22,3 +22,4 @@
smbtorture-manpage.patch
libutil_drop_AI_ADDRCONFIG.patch
shadow_copy2_backport.patch
+dont_start_when_guest_account_doesnt_exist.patch
More information about the Pkg-samba-maint
mailing list