diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-10 21:53:42 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-01-18 16:23:24 +0100 |
commit | 40715e1251dc27a677c1b0b894406b6d86e391f0 (patch) | |
tree | e43d45a797e37c760f5c7319a4dab4b15937a738 /source3/winbindd | |
parent | 9729bdf89f20998823a1dda9e215647a49ca76a6 (diff) | |
download | samba-40715e1251dc27a677c1b0b894406b6d86e391f0.tar.gz samba-40715e1251dc27a677c1b0b894406b6d86e391f0.tar.bz2 samba-40715e1251dc27a677c1b0b894406b6d86e391f0.zip |
s3-librpc: pass struct ndr_interface_table down to cli_pipe_open_generic/spnego()
This allows the target service (as determined from the IDL) to be
passed to GSSAPI (rather than the current, incorrect, "cifs").
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index 5d8826127b..39ac28422e 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -2191,7 +2191,7 @@ NTSTATUS cm_connect_sam(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, /* We have an authenticated connection. Use a NTLMSSP SPNEGO authenticated SAMR pipe with sign & seal. */ status = cli_rpc_pipe_open_spnego(conn->cli, - &ndr_table_samr.syntax_id, + &ndr_table_samr, NCACN_NP, GENSEC_OID_NTLMSSP, DCERPC_AUTH_LEVEL_PRIVACY, @@ -2431,7 +2431,7 @@ NTSTATUS cm_connect_lsa(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, /* We have an authenticated connection. Use a NTLMSSP SPNEGO * authenticated LSA pipe with sign & seal. */ result = cli_rpc_pipe_open_spnego - (conn->cli, &ndr_table_lsarpc.syntax_id, NCACN_NP, + (conn->cli, &ndr_table_lsarpc, NCACN_NP, GENSEC_OID_NTLMSSP, DCERPC_AUTH_LEVEL_PRIVACY, cli_state_remote_name(conn->cli), |