помогите пожалуйста с winbindнастраиваю связку:
1. debian 5 Linux unlim 2.6.26-2-686 #1 SMP Wed Nov 4 20:45:37 UTC 2009 i686 GNU/Linux
2. samba Version: 2:3.2.5-4lenny7
3. squid 3.0.STABLE8-3+lenny2
4. krb5-user krb5-kdc krb5-config krb5-admin-server krb5-doc
5. winbind Version: 2:3.2.5-4lenny7
6. windows 2008 ad in 2003 level
7. машина на которой требуется ntlm введена в домен
8 wbinfo -t, wbinfo -p, wbinfo -u, wbinfo -g, kinit, klist - отрабатывают на ураcat /var/log/samba/log.winbindd
[2010/01/09 13:52:40, 0] winbindd/winbindd.c:main(1127)
winbindd version 3.2.5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2010/01/09 13:52:40, 0] winbindd/winbindd_cache.c:initialize_winbindd_cache(2374)
initialize_winbindd_cache: clearing cache and re-creating with version number 1
[2010/01/09 13:52:44, 1] libsmb/clikrb5.c:ads_krb5_mk_req(680)
ads_krb5_mk_req: krb5_get_credentials failed for BDC$@TC (Cannot resolve network address for KDC in requested realm)
[2010/01/09 13:52:44, 1] libsmb/cliconnect.c:cli_session_setup_kerberos(626)
cli_session_setup_kerberos: spnego_gen_negTokenTarg failed: Cannot resolve network address for KDC in requested realm
Почему ?
Cannot resolve network address for KDC in requested realm
Если все нормально разрешается на машине
host TC.LOCAL
TC.LOCAL has address 192.168.0.250
TC.LOCAL has address 192.168.0.251host pdc
pdc.TC.LOCAL has address 192.168.0.250
cat /etc/hosts
127.0.0.1 localhost
192.168.0.4 unlim.tc.local unlim192.168.0.250 pdc.TC.LOCAL pdc
192.168.0.251 bdc.TC.LOCAL bdc
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
cat /etc/resolv.conf
domain TC.LOCAL
search TC.LOCAL
nameserver 192.168.0.250
nameserver 192.168.0.251
cat /etc/krb5.conf
[libdefaults]
default_realm = TC.LOCAL[realms]
TC.LOCAL = {
kdc = 192.168.0.250
admin_server = 192.168.0.250
}
[domain_realm]
.tc.local = TC.LOCAL
[logging]
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
default = FILE:/var/log/krb5libs.log
уже даже в krb5.conf прописал ip-ки.
почему он ругается?