summaryrefslogtreecommitdiff
path: root/source3/libads/ldap_printer.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-21 22:27:29 +0200
committerVolker Lendecke <vl@samba.org>2008-04-25 11:12:50 +0200
commit862d7e32b90f7020d46e025de918f6338f40441b (patch)
tree553562c4c7ee17ada610cc26ab93630f7224b5ce /source3/libads/ldap_printer.c
parent9e9d40d0977add05ac65d35251c1a5986c721e48 (diff)
downloadsamba-862d7e32b90f7020d46e025de918f6338f40441b.tar.gz
samba-862d7e32b90f7020d46e025de918f6338f40441b.tar.bz2
samba-862d7e32b90f7020d46e025de918f6338f40441b.zip
Move user/domain from rpc_pipe_client to cli_pipe_auth_data
(This used to be commit 42de50d2cd43e760d776694f7b5f003ba51d7f84)
Diffstat (limited to 'source3/libads/ldap_printer.c')
-rw-r--r--source3/libads/ldap_printer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libads/ldap_printer.c b/source3/libads/ldap_printer.c
index 6682ec24d0..41f23b06a7 100644
--- a/source3/libads/ldap_printer.c
+++ b/source3/libads/ldap_printer.c
@@ -296,7 +296,8 @@ WERROR get_remote_printer_publishing_data(struct rpc_pipe_client *cli,
result = rpccli_spoolss_open_printer_ex(cli, mem_ctx, printername,
"", MAXIMUM_ALLOWED_ACCESS,
- servername, cli->user_name, &pol);
+ servername, cli->auth->user_name,
+ &pol);
if (!W_ERROR_IS_OK(result)) {
DEBUG(3, ("Unable to open printer %s, error is %s.\n",
printername, dos_errstr(result)));