summaryrefslogtreecommitdiff
path: root/source4/kdc/config.mk
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-07-27 22:04:26 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-07-28 08:52:43 +1000
commit47a7a2e442c7e006eca8188c6a01707d85c4e61c (patch)
tree9f2b209c59230b1a6a84b0ac93fdf4defb71cd27 /source4/kdc/config.mk
parent9297b975f58a6c8a8609e05d0bed7b4846a2be32 (diff)
downloadsamba-47a7a2e442c7e006eca8188c6a01707d85c4e61c.tar.gz
samba-47a7a2e442c7e006eca8188c6a01707d85c4e61c.tar.bz2
samba-47a7a2e442c7e006eca8188c6a01707d85c4e61c.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/kdc/config.mk')
-rw-r--r--source4/kdc/config.mk18
1 files changed, 15 insertions, 3 deletions
diff --git a/source4/kdc/config.mk b/source4/kdc/config.mk
index 03fa2db295..7a99857248 100644
--- a/source4/kdc/config.mk
+++ b/source4/kdc/config.mk
@@ -6,7 +6,7 @@
INIT_FUNCTION = server_service_kdc_init
SUBSYSTEM = service
PRIVATE_DEPENDENCIES = \
- HEIMDAL_KDC HDB_SAMBA4 LIBSAMBA-HOSTCONFIG
+ HEIMDAL_KDC HDB_SAMBA4 PAC_GLUE LIBSAMBA-HOSTCONFIG
# End SUBSYSTEM KDC
#######################
@@ -22,5 +22,17 @@ PRIVATE_DEPENDENCIES = \
# End SUBSYSTEM KDC
#######################
-HDB_SAMBA4_OBJ_FILES = $(addprefix $(kdcsrcdir)/, hdb-samba4.o pac-glue.o)
-$(eval $(call proto_header_template,$(kdcsrcdir)/pac_glue.h,$(HDB_SAMBA4_OBJ_FILES:.o=.c)))
+HDB_SAMBA4_OBJ_FILES = $(addprefix $(kdcsrcdir)/, hdb-samba4.o)
+
+#######################
+# Start SUBSYSTEM KDC
+[SUBSYSTEM::PAC_GLUE]
+CFLAGS = -Iheimdal/kdc -Iheimdal/lib/hdb
+PRIVATE_DEPENDENCIES = \
+ LIBLDB auth_sam auth_sam_reply CREDENTIALS \
+ HEIMDAL_HDB LIBSAMBA-HOSTCONFIG
+# End SUBSYSTEM KDC
+#######################
+
+PAC_GLUE_OBJ_FILES = $(addprefix $(kdcsrcdir)/, pac-glue.o)
+$(eval $(call proto_header_template,$(kdcsrcdir)/pac-glue_proto.h,$(HDB_SAMBA4_OBJ_FILES:.o=.c)))