]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:libads: Set udp_preference_limit = 0 for MIT Kerberos
authorAndreas Schneider <asn@samba.org>
Thu, 27 Nov 2025 10:04:30 +0000 (11:04 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 3 Dec 2025 09:49:45 +0000 (09:49 +0000)
This option enable TCP connection before UDP, when sending a message to
the KDC.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source3/libads/kerberos.c

index f683ed19d23848a81bd0f7fbf53177a2be69ff54..5593364c397e85c250cd8aa451e8a70ec9babd0b 100644 (file)
@@ -1462,6 +1462,7 @@ bool create_local_private_krb5_conf_for_domain(const char *realm,
                            "\tkdc_timeout = %d\n"
 #else
                            "\trequest_timeout = %ds\n"
+                           "\tudp_preference_limit = 0\n"
 #endif
                            "\tdefault_realm = %s\n"
                            "%s"