[Pkg-samba-maint] [SCM] Debian packaging for Samba branch, wheezy, updated. ed6f1bce2f739607036103b3a58fae51e76b76ea

Christian PERRIER bubulle at debian.org
Sun Jun 23 04:56:15 UTC 2013


The following commit has been merged in the wheezy branch:
commit b9d0b36b8f0701a809a7a0cd2f158b13196a2044
Author: Christian PERRIER <bubulle at debian.org>
Date:   Sun Jun 9 15:50:41 2013 +0200

    Fix RAW printing for unprivileged users (regression from squeeze)
    Closes: #709613

diff --git a/debian/changelog b/debian/changelog
index 75a4b9b..eece75c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+samba (2:3.6.6-6+deb7u1) UNRELEASED; urgency=low
+
+  * Stable update for fix important bugs.
+  * Fix RAW printing for unprivileged users (regression from squeeze)
+    Closes: #709613
+
+ -- Christian Perrier <bubulle at debian.org>  Sun, 09 Jun 2013 15:01:42 +0200
+
 samba (2:3.6.6-6) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/patches/bug_709613_upstream_8769_s3fs-printing-Fix-RAW-printing-for-normal-users.patch b/debian/patches/bug_709613_upstream_8769_s3fs-printing-Fix-RAW-printing-for-normal-users.patch
new file mode 100644
index 0000000..be88669
--- /dev/null
+++ b/debian/patches/bug_709613_upstream_8769_s3fs-printing-Fix-RAW-printing-for-normal-users.patch
@@ -0,0 +1,25 @@
+From 511044bb55ea761812a8c78ad97f18de471b5b40 Mon Sep 17 00:00:00 2001
+From: Andreas Schneider <asn at samba.org>
+Date: Mon, 8 Oct 2012 12:32:49 +0200
+Subject: [PATCH] s3fs-printing: Fix RAW printing for normal users.
+
+This fixes bug #8769.
+
+Signed-off-by: Andreas Schneider <asn at samba.org>
+---
+ source3/printing/printspoolss.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: git/source3/printing/printspoolss.c
+===================================================================
+--- git.orig/source3/printing/printspoolss.c
++++ git/source3/printing/printspoolss.c
+@@ -139,7 +139,7 @@
+ 
+ 	status = dcerpc_spoolss_OpenPrinter(b, pf, pf->svcname,
+ 					    "RAW", devmode_ctr,
+-					    SEC_FLAG_MAXIMUM_ALLOWED,
++					    PRINTER_ACCESS_USE,
+ 					    &pf->handle, &werr);
+ 	if (!NT_STATUS_IS_OK(status)) {
+ 		goto done;
diff --git a/debian/patches/series b/debian/patches/series
index 3ac4594..f0d39db 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -24,3 +24,4 @@ only_export_public_symbols.patch
 0001-ndr-fix-push-pull-DATA_BLOB-with-NDR_NOALIGN.patch
 security-CVE-2013-0213.patch
 security-CVE-2013-0214.patch
+bug_709613_upstream_8769_s3fs-printing-Fix-RAW-printing-for-normal-users.patch

-- 
Debian packaging for Samba




More information about the Pkg-samba-maint mailing list