diff options
author | Günther Deschner <gd@samba.org> | 2013-05-17 16:08:16 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2013-08-05 10:29:59 +0200 |
commit | fa37bbd9d06865d265bf554a3c49920f956f2185 (patch) | |
tree | bc3f7d4e24b43162bcf833ef6148ba7dff4e2b68 /source3/lib/netapi/serverinfo.c | |
parent | a1368ca6ef8ab4f158c8b303ad058835f1bbf441 (diff) | |
download | samba-fa37bbd9d06865d265bf554a3c49920f956f2185.tar.gz samba-fa37bbd9d06865d265bf554a3c49920f956f2185.tar.bz2 samba-fa37bbd9d06865d265bf554a3c49920f956f2185.zip |
s3-libnetapi: pass down ndr_interface_table to libnetapi_get_binding_handle().
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/lib/netapi/serverinfo.c')
-rw-r--r-- | source3/lib/netapi/serverinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/netapi/serverinfo.c b/source3/lib/netapi/serverinfo.c index 046b693f1f..b2a84d11a5 100644 --- a/source3/lib/netapi/serverinfo.c +++ b/source3/lib/netapi/serverinfo.c @@ -503,7 +503,7 @@ WERROR NetServerGetInfo_r(struct libnetapi_ctx *ctx, } werr = libnetapi_get_binding_handle(ctx, r->in.server_name, - &ndr_table_srvsvc.syntax_id, + &ndr_table_srvsvc, &b); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -616,7 +616,7 @@ WERROR NetServerSetInfo_r(struct libnetapi_ctx *ctx, struct dcerpc_binding_handle *b; werr = libnetapi_get_binding_handle(ctx, r->in.server_name, - &ndr_table_srvsvc.syntax_id, + &ndr_table_srvsvc, &b); if (!W_ERROR_IS_OK(werr)) { goto done; @@ -658,7 +658,7 @@ WERROR NetRemoteTOD_r(struct libnetapi_ctx *ctx, struct dcerpc_binding_handle *b; werr = libnetapi_get_binding_handle(ctx, r->in.server_name, - &ndr_table_srvsvc.syntax_id, + &ndr_table_srvsvc, &b); if (!W_ERROR_IS_OK(werr)) { goto done; |