summaryrefslogtreecommitdiff
path: root/source3/utils/net_ads.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-18 13:22:51 +0100
committerGünther Deschner <gd@samba.org>2009-03-18 14:18:42 +0100
commit9fdeb7f7b319dca5dbd1fdaf24f01fb19e124fe6 (patch)
tree9881dcbff38cb27660aa1aa3da586deb26f9bed2 /source3/utils/net_ads.c
parentb0747651b94d6d1176dad00277b6135300ed57d7 (diff)
downloadsamba-9fdeb7f7b319dca5dbd1fdaf24f01fb19e124fe6.tar.gz
samba-9fdeb7f7b319dca5dbd1fdaf24f01fb19e124fe6.tar.bz2
samba-9fdeb7f7b319dca5dbd1fdaf24f01fb19e124fe6.zip
s3-spoolss: remove custom syntax_spoolss and use the syntax defined in IDL.
Guenther
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 58bbb70ce6..2a66619438 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -1662,7 +1662,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, &syntax_spoolss, &pipe_hnd);
+ nt_status = cli_rpc_pipe_open_noauth(cli, &ndr_table_spoolss.syntax_id, &pipe_hnd);
if (!NT_STATUS_IS_OK(nt_status)) {
d_fprintf(stderr, "Unable to open a connnection to the spoolss pipe on %s\n",
servername);