summaryrefslogtreecommitdiffstats
path: root/source/libads
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-25 16:34:11 +0200
committerVolker Lendecke <vl@samba.org>2008-04-25 16:34:11 +0200
commit3312c93cc6760b1ebdfcd7a2b1508b23a780173c (patch)
treeabdf469dc1dccf2b68015847f5ac2a640ba75ba4 /source/libads
parentb71e9eafc9f4806365446aa65a6b67e6dac5286e (diff)
downloadsamba-3312c93cc6760b1ebdfcd7a2b1508b23a780173c.tar.gz
samba-3312c93cc6760b1ebdfcd7a2b1508b23a780173c.tar.xz
samba-3312c93cc6760b1ebdfcd7a2b1508b23a780173c.zip
Revert "Use rpc_pipe_client->user_name instead of rpc_pipe_client->cli->user_name"
This reverts commit 3f6c5b99664a75a6f490ee3b6980b89cacf7f579.
Diffstat (limited to 'source/libads')
-rw-r--r--source/libads/ldap_printer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libads/ldap_printer.c b/source/libads/ldap_printer.c
index 6682ec24d08..440f979781e 100644
--- a/source/libads/ldap_printer.c
+++ b/source/libads/ldap_printer.c
@@ -296,7 +296,7 @@ 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->cli->user_name, &pol);
if (!W_ERROR_IS_OK(result)) {
DEBUG(3, ("Unable to open printer %s, error is %s.\n",
printername, dos_errstr(result)));