s4:kerberos Add 'net export keytab' command for wireshark decryption
commita40ce5d0d9d06f592a8885162bbaf644006b9f0f
authorAndrew Bartlett <abartlet@samba.org>
Mon, 27 Jul 2009 12:04:26 +0000 (27 22:04 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 27 Jul 2009 12:41:42 +0000 (27 22:41 +1000)
tree27a367040a91d1cd6605db042acda7e45c1ca2cb
parent56f4516399431cc508ca0c3e0dd7f179cc7ab62c
s4:kerberos Add 'net export keytab' command for wireshark decryption

It is much easier to do decryption with wireshark when the keytab is
available for every host in the domain.  Running 'net export keytab
<keytab name>' will export the current (as pointed to by the supplied
smb.conf) local Samba4 doamin.

(This uses Heimdal's 'hdb' keytab and then the existing hdb-samba4,
and so has a good chance of keeping working in the long term).

Andrew Bartlett
source4/auth/kerberos/config.mk
source4/auth/kerberos/keytab_copy.c [new file with mode: 0644]
source4/kdc/config.mk
source4/libnet/config.mk
source4/libnet/libnet.h
source4/libnet/libnet_export_keytab.c [new file with mode: 0644]
source4/libnet/libnet_export_keytab.h [new file with mode: 0644]
source4/utils/net/config.mk
source4/utils/net/net.c
source4/utils/net/net_export_keytab.c [new file with mode: 0644]