[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha7-903-gc5b24d6
Günther Deschner
gd at samba.org
Tue Apr 7 20:16:11 GMT 2009
The branch, master has been updated
via c5b24d65cdb1b32196681499dcaf23ea70e1019b (commit)
from 0c22d55134b39a6bc983b4f852f623a51af4d362 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit c5b24d65cdb1b32196681499dcaf23ea70e1019b
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 2 16:15:16 2009 +0200
s3-spoolss: set servername to global_myname() in set_printer_hnd_name().
This allows spoolss_OpenPrinterEx to open a printer by printername.
Now the Samba3 spoolss server passes the RPC-SPOOLSS-WIN test.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source3/rpc_server/srv_spoolss_nt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 7bb0571..098e592 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -445,7 +445,7 @@ static bool set_printer_hnd_name(Printer_entry *Printer, const char *handlename)
aprinter++;
}
} else {
- servername = "";
+ servername = global_myname();
}
/* save the servername to fill in replies on this handle */
--
Samba Shared Repository
More information about the samba-cvs
mailing list