diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-09-20 07:03:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:29 -0500 |
commit | f9263dd1023499479d64be1eb1b5b04c15ca3ce6 (patch) | |
tree | 4ac8655eee12345e5c0662d044f8f324ac0a6fa7 /source4/heimdal/lib/krb5/context.c | |
parent | 5b02ee9b9d7037b385cf4f1c3eca81b28ff19690 (diff) | |
download | samba-f9263dd1023499479d64be1eb1b5b04c15ca3ce6.tar.gz samba-f9263dd1023499479d64be1eb1b5b04c15ca3ce6.tar.bz2 samba-f9263dd1023499479d64be1eb1b5b04c15ca3ce6.zip |
r10337: This grubby little hack is the implementation of a concept discussed
on the kerberos mailing lists a couple of weeks ago: Don't use DNS at
all for expanding short names into long names.
Using the 'override krb5_init_context' code already in the tree, this
removes the DNS lag on a kerberos session setup/connection.
Andrew Bartlett
(This used to be commit de3ceab3d064a286e8662a2b9b62b212f0454156)
Diffstat (limited to 'source4/heimdal/lib/krb5/context.c')
-rw-r--r-- | source4/heimdal/lib/krb5/context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/heimdal/lib/krb5/context.c b/source4/heimdal/lib/krb5/context.c index 4d6eae2b24..3140f1b08f 100644 --- a/source4/heimdal/lib/krb5/context.c +++ b/source4/heimdal/lib/krb5/context.c @@ -182,6 +182,7 @@ init_context_from_config_file(krb5_context context) INIT_FIELD(context, bool, srv_lookup, context->srv_lookup, "dns_lookup_kdc"); INIT_FIELD(context, int, large_msg_size, 6000, "large_message_size"); context->default_cc_name = NULL; + INIT_FIELD(context, bool, fdns, TRUE, "fdns"); return 0; } |