summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-20 18:43:37 -0400
committerSimo Sorce <idra@samba.org>2010-07-28 12:21:29 -0400
commit146af48d4887e8fa0c66bf53aa5f204366648478 (patch)
treebf221210dd6e913ee5f43b252ee3597fe1c6c36c /source3/rpcclient
parent250e341e0aad67c2f70fea597f34deadea1d2ccc (diff)
downloadsamba-146af48d4887e8fa0c66bf53aa5f204366648478.tar.gz
samba-146af48d4887e8fa0c66bf53aa5f204366648478.tar.bz2
samba-146af48d4887e8fa0c66bf53aa5f204366648478.zip
s3-dcerpc: revive cli_rpc_pipe_open_krb5()
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 8b422a28a1..1ab3ac07f6 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -695,6 +695,15 @@ static NTSTATUS do_cmd(struct cli_state *cli,
get_cmdline_auth_info_domain(auth_info),
&cmd_entry->rpc_pipe);
break;
+ case DCERPC_AUTH_TYPE_KRB5:
+ ntresult = cli_rpc_pipe_open_krb5(
+ cli, cmd_entry->interface,
+ default_transport,
+ pipe_default_auth_level,
+ cli->desthost,
+ NULL, NULL,
+ &cmd_entry->rpc_pipe);
+ break;
default:
DEBUG(0, ("Could not initialise %s. Invalid "
"auth type %u\n",