The Samba-Bugzilla – Attachment 6852 Details for
Bug 8236
"Printer properties cannot be displayed" warning when trying to see printer properties
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-s3-spoolss-Fix-bug-8236-empty-notify-servername.patch (text/plain), 1.03 KB, created by
Andreas Schneider
on 2011-09-02 15:06:37 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2011-09-02 15:06:37 UTC
Size:
1.03 KB
patch
obsolete
>From f00e46cf01b39c89f39debe606aafbfe623be9ba Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Fri, 2 Sep 2011 17:03:43 +0200 >Subject: [PATCH] s3-spoolss: Fix bug #8236 empty notify servername. > > >Signed-off-by: Andreas Schneider <asn@samba.org> >--- > source3/rpc_server/spoolss/srv_spoolss_nt.c | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-) > >diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c >index c309c65..c886f34 100644 >--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c >+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c >@@ -3695,6 +3695,15 @@ static WERROR printer_notify_info(struct pipes_struct *p, > return WERR_BADFID; > } > >+ /* >+ * When sending a PRINTER_NOTIFY_FIELD_SERVER_NAME we should send the >+ * correct servername. >+ */ >+ pinfo2->servername = talloc_strdup(pinfo2, Printer->servername); >+ if (pinfo2->servername == NULL) { >+ return WERR_NOMEM; >+ } >+ > for (i=0; i<option->count; i++) { > option_type = option->types[i]; > >-- >1.7.6.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
jra
:
review+
Actions:
View
Attachments on
bug 8236
: 6852