s3-rpc_cli: pass down ndr_interface_table to cli_rpc_pipe_open_ntlmssp_auth_schannel().
authorGünther Deschner <gd@samba.org>
Fri, 24 May 2013 11:08:33 +0000 (13:08 +0200)
committerAndreas Schneider <asn@samba.org>
Mon, 5 Aug 2013 08:30:00 +0000 (10:30 +0200)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/rpc_client/cli_pipe.h
source3/rpc_client/cli_pipe_schannel.c

index d17322ad028af3e54f5e29dd7435489d7775e8f4..7026692416108c86d7bd95f109d82aaf4033d136 100644 (file)
@@ -116,7 +116,7 @@ NTSTATUS cli_rpc_pipe_open_schannel_with_key(struct cli_state *cli,
                                             struct rpc_pipe_client **presult);
 
 NTSTATUS cli_rpc_pipe_open_ntlmssp_auth_schannel(struct cli_state *cli,
-                                                const struct ndr_syntax_id *interface,
+                                                const struct ndr_interface_table *table,
                                                 enum dcerpc_transport_t transport,
                                                 enum dcerpc_AuthLevel auth_level,
                                                 const char *domain,
index 8bc01a576f1364534cba01cc4648da4fdfa923f5..261a76803608a6ad2d2fd3a3547eb43dd95e5555 100644 (file)
@@ -128,7 +128,7 @@ static NTSTATUS get_schannel_session_key_auth_ntlmssp(struct cli_state *cli,
  ****************************************************************************/
 
 NTSTATUS cli_rpc_pipe_open_ntlmssp_auth_schannel(struct cli_state *cli,
-                                                const struct ndr_syntax_id *interface,
+                                                const struct ndr_interface_table *table,
                                                 enum dcerpc_transport_t transport,
                                                 enum dcerpc_AuthLevel auth_level,
                                                 const char *domain,
@@ -151,7 +151,7 @@ NTSTATUS cli_rpc_pipe_open_ntlmssp_auth_schannel(struct cli_state *cli,
        }
 
        status = cli_rpc_pipe_open_schannel_with_key(
-               cli, interface, transport, auth_level, domain, &netlogon_pipe->dc,
+               cli, &table->syntax_id, transport, auth_level, domain, &netlogon_pipe->dc,
                &result);
 
        /* Now we've bound using the session key we can close the netlog pipe. */