diff options
author | Simo Sorce <idra@samba.org> | 2010-07-20 20:00:12 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-07-20 20:02:09 -0400 |
commit | 26f1218a3678e648c73db3b34732703396ad48b2 (patch) | |
tree | 624bb38c1a620cd3e87af9a80b0a64556ff2d39c /source3/rpc_client | |
parent | 8137f2d7e7e69db66a5191c1a80e0bda52506528 (diff) | |
download | samba-26f1218a3678e648c73db3b34732703396ad48b2.tar.gz samba-26f1218a3678e648c73db3b34732703396ad48b2.tar.bz2 samba-26f1218a3678e648c73db3b34732703396ad48b2.zip |
s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keys
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 50b0efadb2..c3712f77ba 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -1288,8 +1288,10 @@ static NTSTATUS create_krb5_auth_bind_req(struct rpc_pipe_client *cli, /* Create the ticket for the service principal and return it in a gss-api wrapped blob. */ - ret = cli_krb5_get_ticket(a->service_principal, 0, &tkt, - &a->session_key, (uint32)AP_OPTS_MUTUAL_REQUIRED, NULL, NULL, NULL); + ret = cli_krb5_get_ticket(a, a->service_principal, 0, + &tkt, &a->session_key, + AP_OPTS_MUTUAL_REQUIRED, NULL, + NULL, NULL); if (ret) { DEBUG(1,("create_krb5_auth_bind_req: cli_krb5_get_ticket for principal %s " |