diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-03-22 01:35:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:10 -0500 |
commit | 455be8fb8271bd97058390dca5a76db81ea2928b (patch) | |
tree | 7e4f4856e5d43f07cb2a216a8ed0fc988649d1a6 /source4/librpc/rpc | |
parent | b7676c4b48f2d39446b853bc87c0b288ac368e36 (diff) | |
download | samba-455be8fb8271bd97058390dca5a76db81ea2928b.tar.gz samba-455be8fb8271bd97058390dca5a76db81ea2928b.tar.bz2 samba-455be8fb8271bd97058390dca5a76db81ea2928b.zip |
r5932: Use cli_credentials somewhat more in the Gtk+ code
Support ncacn_spx in DCE/RPC bindings.
(This used to be commit a0233a3a9a83176ae46873d3a25ed601758a1511)
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc_util.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index bbbda5ee28..d539f9f74e 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -164,8 +164,8 @@ static const struct { { "ncadg_ipx", NCADG_IPX, 2, { EPM_PROTOCOL_NCADG, EPM_PROTOCOL_IPX }, }, - { "ncacn_spx", NCACN_SPX, 2, - { EPM_PROTOCOL_NCACN, EPM_PROTOCOL_SPX }, + { "ncacn_spx", NCACN_SPX, 3, + { EPM_PROTOCOL_NCACN, EPM_PROTOCOL_NCALRPC, EPM_PROTOCOL_UUID }, }, }; @@ -798,7 +798,6 @@ NTSTATUS dcerpc_epm_map_binding(TALLOC_CTX *mem_ctx, struct dcerpc_binding *bind struct epm_twr_t twr, *twr_r; struct dcerpc_binding *epmapper_binding; const struct dcerpc_interface_table *table = idl_iface_by_uuid(uuid); - struct cli_credentials *credentials; int i; /* First, check if there is a default endpoint specified in the IDL */ @@ -837,13 +836,11 @@ NTSTATUS dcerpc_epm_map_binding(TALLOC_CTX *mem_ctx, struct dcerpc_binding *bind epmapper_binding->endpoint = NULL; epmapper_binding->authservice = NULL; - credentials = talloc_zero(mem_ctx, struct cli_credentials); - cli_credentials_guess(credentials); status = dcerpc_pipe_connect_b(&p, epmapper_binding, DCERPC_EPMAPPER_UUID, DCERPC_EPMAPPER_VERSION, - credentials); + NULL); if (!NT_STATUS_IS_OK(status)) { return status; |