Bug 5237 - The file "krb5.conf.xxx" in some situations incorrectly generated
The file "krb5.conf.xxx" in some situations incorrectly generated
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: winbind
3.0.28
x86 FreeBSD
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-01 11:55 UTC by Alex
Modified: 2008-02-01 11:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2008-02-01 11:55:18 UTC
I have autogenerated file:
[libdefaults]
        default_realm = KH.DOMAIN.DOM

[realms]
        KH.DOMAIN.DOM = {
                kdc = 192.168.144.254
        }

But have error:
"ads_connect for domain KH failed: Response too big for UDP, retry with TCP"
and get errors with "wbinfo -g","wbinfo -m"("wbinfo -t" - success)

So, we need change string "kdc = 192.168.144.254" to "kdc = tcp/192.168.144.254".

But we have no possibility to do it ! String without "tcp/" hardcoded at file samba-3.0.28/source/libads/kerberos.c,function "get_kdc_ip_string".
So we need some legitimate way to change string with/without "tcp/".

I have manually changed source (add "tcp/" to kerberos server at function "get_kdc_ip_string"), and have new autogenerated file:
[libdefaults]
        default_realm = KH.DOMAIN.DOM

[realms]
        KH.DOMAIN.DOM = {
                kdc = tcp/192.168.144.254
        }
And all works for me (wbinfo -g","wbinfo -m" - success).