diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-11-20 08:50:04 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-11-20 08:50:04 +0000 |
commit | c32526441668d75a8acf452e55559f00d5b87ba2 (patch) | |
tree | 2d194353121429f007631f390a452f0ca87700d4 /source3/smbd | |
parent | fb57218a4a6eed1fd5a88b90b53f955d2f60aef5 (diff) | |
download | samba-c32526441668d75a8acf452e55559f00d5b87ba2.tar.gz samba-c32526441668d75a8acf452e55559f00d5b87ba2.tar.bz2 samba-c32526441668d75a8acf452e55559f00d5b87ba2.zip |
add a hook to save the krb5 PAC
(This used to be commit 1cbc18ae732671d9a60528f8300ca7609e124d11)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/sesssetup.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index c9c91ea71c..b3e9b7be8f 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -85,6 +85,14 @@ static int reply_spnego_kerberos(connection_struct *conn, return ERROR_NT(NT_STATUS_LOGON_FAILURE); } +#if 0 + if (tkt->enc_part2) { + file_save("/tmp/authdata.dat", + tkt->enc_part2->authorization_data[0]->contents, + tkt->enc_part2->authorization_data[0]->length); + } +#endif + if ((ret = krb5_unparse_name(context, tkt->enc_part2->client, &client))) { DEBUG(3,("krb5_unparse_name failed (%s)\n", |