summaryrefslogtreecommitdiff
path: root/source3/utils/net_ads.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-05-24 13:29:28 +0200
committerAndreas Schneider <asn@samba.org>2013-08-05 10:30:00 +0200
commit9813fe2b04a5b4abaa95ea1d893b3803edbede4d (patch)
tree6719ea66f7eeaf522730b3974ebbf3650e9618c2 /source3/utils/net_ads.c
parent3dc3a6c8483a8de22b483ecf164c81232d4a8d65 (diff)
downloadsamba-9813fe2b04a5b4abaa95ea1d893b3803edbede4d.tar.gz
samba-9813fe2b04a5b4abaa95ea1d893b3803edbede4d.tar.bz2
samba-9813fe2b04a5b4abaa95ea1d893b3803edbede4d.zip
s3-rpc_cli: pass down ndr_interface_table to cli_rpc_pipe_open_noauth().
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/utils/net_ads.c')
-rw-r--r--source3/utils/net_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 569994362d..89eebf3388 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -1957,7 +1957,7 @@ static int net_ads_printer_publish(struct net_context *c, int argc, const char *
SAFE_FREE(srv_cn_escaped);
SAFE_FREE(printername_escaped);
- nt_status = cli_rpc_pipe_open_noauth(cli, &ndr_table_spoolss.syntax_id, &pipe_hnd);
+ nt_status = cli_rpc_pipe_open_noauth(cli, &ndr_table_spoolss, &pipe_hnd);
if (!NT_STATUS_IS_OK(nt_status)) {
d_fprintf(stderr, _("Unable to open a connection to the spoolss pipe on %s\n"),
servername);