From 31cd6fd88dd0bccda99340a81c6426c833aca627 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 5 Jun 2005 13:11:42 +0000 Subject: r7304: Make the libkdc actually work: - Remove (some) excess logging - use samdb_connect() to hook into the right handling for multiple tdb handles - move the connect to the server startup, rather than per-packet. - Fix config.mk dependency Tested with a WinXP domain join. Andrew Bartlett (This used to be commit 13cf51612d91385c6df5deadbf126bcc583f797d) --- source4/kdc/kdc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/kdc/kdc.c') diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c index b60fbd2e53..fe028eb607 100644 --- a/source4/kdc/kdc.c +++ b/source4/kdc/kdc.c @@ -251,6 +251,9 @@ static void kdc_task_init(struct task_server *task) } krb5_kdc_default_config(kdc->config); + /* NAT and the like make this pointless, and painful */ + kdc->config->check_ticket_addresses = FALSE; + initialize_krb5_error_table(); ret = smb_krb5_init_context(kdc, &kdc->smb_krb5_context); -- cgit