summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-06-11 03:22:32 +0000
committerGerald Carter <jerry@samba.org>2002-06-11 03:22:32 +0000
commit366a649d043346a3302516465d41c5151d991b53 (patch)
treeaa30bcda029c646bdd46a0e7c99faaa60954d398 /source3/rpc_server
parentde581b91e90702802ecb873d550f8a5228ef41f2 (diff)
downloadsamba-366a649d043346a3302516465d41c5151d991b53.tar.gz
samba-366a649d043346a3302516465d41c5151d991b53.tar.bz2
samba-366a649d043346a3302516465d41c5151d991b53.zip
merge from 2.2
(This used to be commit 30a0e72572b25ddd99438b92b8ddf7f06e9ad819)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 7b7c80f33a..76e7967e25 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -4823,6 +4823,7 @@ static BOOL add_printer_hook(NT_PRINTER_INFO_LEVEL *printer)
get_called_name());
/* change \ to \\ for the shell */
all_string_sub(driverlocation,"\\","\\\\",sizeof(pstring));
+ standard_sub_basic("", remote_machine);
slprintf(command, sizeof(command)-1, "%s \"%s\" \"%s\" \"%s\" \"%s\" \"%s\" \"%s\" \"%s\"",
cmd, printer->info_2->printername, printer->info_2->sharename,