diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-06-05 13:11:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:39 -0500 |
commit | 31cd6fd88dd0bccda99340a81c6426c833aca627 (patch) | |
tree | 2c96219eab522d5df8aa14573089d2d85525c345 /source4/kdc/kdc.c | |
parent | 2c499fe5aa04fffa4a58696d9f5d1df35f2fc384 (diff) | |
download | samba-31cd6fd88dd0bccda99340a81c6426c833aca627.tar.gz samba-31cd6fd88dd0bccda99340a81c6426c833aca627.tar.bz2 samba-31cd6fd88dd0bccda99340a81c6426c833aca627.zip |
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)
Diffstat (limited to 'source4/kdc/kdc.c')
-rw-r--r-- | source4/kdc/kdc.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |