diff options
author | Günther Deschner <gd@samba.org> | 2009-02-21 21:07:37 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-02-21 21:14:37 +0100 |
commit | 2ad2b6f723964ed6e5d1d12c8403bd3d4147dc84 (patch) | |
tree | 7e3d5d8fb7ef2568515ae5788a63cd34b82863f8 /source3/rpc_client | |
parent | 35d6234998639fff444671ec04693043a1e28d07 (diff) | |
download | samba-2ad2b6f723964ed6e5d1d12c8403bd3d4147dc84.tar.gz samba-2ad2b6f723964ed6e5d1d12c8403bd3d4147dc84.tar.bz2 samba-2ad2b6f723964ed6e5d1d12c8403bd3d4147dc84.zip |
s3-spoolss: fix client name in rpccli_spoolss_openprinter_ex.
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_spoolss.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c index 489b9ca2ff..6ad3af1f4e 100644 --- a/source3/rpc_client/cli_spoolss.c +++ b/source3/rpc_client/cli_spoolss.c @@ -44,7 +44,8 @@ WERROR rpccli_spoolss_openprinter_ex(struct rpc_pipe_client *cli, ZERO_STRUCT(devmode_ctr); level1.size = 28; - level1.client = cli->srv_name_slash; + level1.client = talloc_asprintf(mem_ctx, "\\\\%s", global_myname()); + W_ERROR_HAVE_NO_MEMORY(level1.client); level1.user = cli->auth->user_name; level1.build = 1381; level1.major = 2; |