mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
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
This commit is contained in:
parent
0c22d55134
commit
c5b24d65cd
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user