summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-09-22 20:33:43 -0700
committerAndrew Bartlett <abartlet@samba.org>2014-10-08 01:09:51 +0200
commit8166ecaaa06a7febc9697ca4f97a3d61aa02d5c1 (patch)
tree6d192e6be041f55c860c275bed5662dfe1635ce7 /source3/rpcclient
parent74dcde5347066016ae55f5575ac61061d1f5f7af (diff)
downloadsamba-8166ecaaa06a7febc9697ca4f97a3d61aa02d5c1.tar.gz
s3-rpc_client: Adapt cli_rpc_pipe_open_generic_auth to use enum credentials_kerberos_state
This allows us to pass this value in directly from the cli_credentials structure in winbindd, once we merge this with cli_rpc_pipe_open_spnego(). Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index eca2185fe14..1b26e643dd9 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -732,6 +732,7 @@ static NTSTATUS do_cmd(struct cli_state *cli,
ntresult = cli_rpc_pipe_open_generic_auth(
cli, cmd_entry->table,
default_transport,
+ CRED_AUTO_USE_KERBEROS,
pipe_default_auth_type,
pipe_default_auth_level,
smbXcli_conn_remote_name(cli->conn),