summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_export_keytab.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-07-27 22:04:26 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-07-27 22:41:42 +1000
commita40ce5d0d9d06f592a8885162bbaf644006b9f0f (patch)
tree27a367040a91d1cd6605db042acda7e45c1ca2cb /source4/libnet/libnet_export_keytab.h
parent56f4516399431cc508ca0c3e0dd7f179cc7ab62c (diff)
downloadsamba-a40ce5d0d9d06f592a8885162bbaf644006b9f0f.tar.gz
samba-a40ce5d0d9d06f592a8885162bbaf644006b9f0f.tar.bz2
samba-a40ce5d0d9d06f592a8885162bbaf644006b9f0f.zip
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
Diffstat (limited to 'source4/libnet/libnet_export_keytab.h')
-rw-r--r--source4/libnet/libnet_export_keytab.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/source4/libnet/libnet_export_keytab.h b/source4/libnet/libnet_export_keytab.h
new file mode 100644
index 0000000000..194f8907a3
--- /dev/null
+++ b/source4/libnet/libnet_export_keytab.h
@@ -0,0 +1,28 @@
+/*
+ Unix SMB/CIFS implementation.
+
+ Copyright (C) Andrew Bartlett <abartlet@samba.org> 2009
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+struct libnet_export_keytab {
+ struct {
+ const char *keytab_name;
+ } in;
+ struct {
+ const char *error_string;
+ } out;
+};
+