s3-librpc: pass struct ndr_interface_table down to cli_pipe_open_generic/spnego()
[kai/samba.git] / source3 / rpcclient / rpcclient.c
index 0b2789c4ae0a09ca75489e6d3064c595887ab2e1..ff4354f8189ec19b3397ed3018b54e0e9b80c1cf 100644 (file)
@@ -703,7 +703,7 @@ static NTSTATUS do_cmd(struct cli_state *cli,
                                break;
                        }
                        ntresult = cli_rpc_pipe_open_spnego(
-                               cli, &cmd_entry->table->syntax_id,
+                               cli, cmd_entry->table,
                                default_transport,
                                oid,
                                pipe_default_auth_level,
@@ -717,7 +717,7 @@ static NTSTATUS do_cmd(struct cli_state *cli,
                case DCERPC_AUTH_TYPE_NTLMSSP:
                case DCERPC_AUTH_TYPE_KRB5:
                        ntresult = cli_rpc_pipe_open_generic_auth(
-                               cli, &cmd_entry->table->syntax_id,
+                               cli, cmd_entry->table,
                                default_transport,
                                pipe_default_auth_type,
                                pipe_default_auth_level,