<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Subject: samba: Failed to connect to AD: No logon servers<br>Package: samba<br>Version: 2:3.2.5-4lenny13<br>Severity: normal<br><br>Hi Everybody!<br><br>I'm configuring an IPv6-Only network, i'm using Debian Lenny 506, Samba 3.2 and Windows Server 2008 for PDC. The problem is that i cant join to the domain.<br>After configuring the entire system, when i try to join to the domain("net ads join -U Administrator -S FQDN_AD_Server"), returns "Failed to join domain: Failed to connect to AD: No logon servers", But, the Linux host is added to "Active directory Users and Groups".<br><br>When i try:<br>"kinit Administrator"<br><br>It's ok.<br><br>With the same configuration but on IPv4 all works fine.<br>I guess it's not a configuration problem because when install Debian Backport for Samba, Samba 2.5 that ships with Debian Squeeze it works fine with the same configuration...<br><br><br><br>krb5.conf:<br><br>[libdefaults]<br> default_realm = DOMAIN.LOCAL<br><br> v4_instance_resolve = false<br> v4_name_convert = {<br> host = {<br> rcmd = host<br> ftp = ftp<br> }<br> plain = {<br> something = something-else<br> }<br> }<br> fcc-mit-ticketflags = true<br><br>[realms]<br> DOMAIN.LOCAL = {<br> kdc = kdc.domain.local<br> admin_server = kdc.domain.local<br> default_domain = domain.local<br> }<br><br><br>[domain_realm]<br> .domain.local = DOMAIN.LOCAL<br> domain.local = DOMAIN.LOCAL<br><br><br>[login]<br> krb4_convert = true<br> krb4_get_tickets = false<br><br><br><br><br><br><br>smb.conf:<br>[global]<br> workgroup = DOMAIN<br> realm = DOMAIN.LOCAL<br> password server = kdc.domain.local<br> winbind use default domain = yes<br> disable netbios = yes<br> log level = 3<br> preferred master = no<br> local master = no<br> domain master = no<br> security = ads<br><br><br> server string = %h server<br> dns proxy = no<br> log file = /var/log/samba/log.%m<br> max log size = 1000<br> syslog = 0<br> panic action = /usr/share/samba/panic-action %d<br> encrypt passwords = true<br> passdb backend = tdbsam<br> obey pam restrictions = yes<br> unix password sync = yes<br> passwd program = /usr/bin/passwd %u<br> passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .<br> pam password change = yes<br> domain logons = no<br><br> idmap uid = 10000-20000<br> idmap gid = 10000-20000<br> template shell = /bin/bash<br><br> winbind enum groups = yes<br> winbind enum users = yes<br><br><br><br><br>hosts:<br><br>127.0.1.1 localhost.prova.local localhost<br>127.0.1.1 debhost.domain.local debhost<br><br>::1 localhost ip6-localhost ip6-loopback<br>fe00::0 ip6-localnet<br>ff00::0 ip6-mcastprefix<br>ff02::1 ip6-allnodes<br>ff02::2 ip6-allrouters<br>ff02::3 ip6-allhosts<br><br><br><br>resolv.conf:<br><br>domain domain.local<br>search domain.local<br>nameserver fc00:1:2:3::1<br><br><br><br><br>A dump from "net ads testjoin":<br><br>[2010/10/24 13:27:37, 3] param/loadparm.c:lp_load_ex(8783)<br> lp_load_ex: refreshing parameters<br>[2010/10/24 13:27:37, 3] param/loadparm.c:init_globals(4621)<br> Initialising global parameters<br>[2010/10/24 13:27:37, 3] param/params.c:pm_process(569)<br> params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"<br>[2010/10/24 13:27:37, 3] param/loadparm.c:do_section(7446)<br> Processing section "[global]"<br>[2010/10/24 13:27:37, 2] lib/interface.c:add_interface(337)<br> added interface eth0 ip=2002:d981:540f:0:a00:27ff:fea0:593d bcast=2002:d981:540f:0:ffff:ffff:ffff:ffff netmask=ffff:ffff:ffff:ffff::<br>[2010/10/24 13:27:37, 2] lib/interface.c:add_interface(337)<br> added interface eth0 ip=fc00:1:2:3::4 bcast=fc00:1:2:3:ffff:ffff:ffff:ffff netmask=ffff:ffff:ffff:ffff::<br>[2010/10/24 13:27:37, 2] lib/interface.c:add_interface(337)<br> added interface eth0 ip=fe80::a00:27ff:fea0:593d%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::<br>[2010/10/24 13:27:37, 3] libsmb/namequery.c:get_dc_list(1909)<br> get_dc_list: preferred server list: ", w2k8"<br>[2010/10/24 13:27:37, 3] lib/util_sock.c:interpret_addr(174)<br> interpret_addr: host address is invalid for host fc00:1:2:3::1<br>[2010/10/24 13:27:37, 1] libads/cldap.c:recv_cldap_netlogon(156)<br> no reply received to cldap netlogon<br>[2010/10/24 13:27:37, 3] libads/ldap.c:ads_try_connect(207)<br> ads_try_connect: CLDAP request fc00:1:2:3::1 failed.<br>[2010/10/24 13:27:37, 0] utils/net_ads.c:ads_startup_int(286)<br> ads_connect: No logon servers<br>Join to domain is not valid: No logon servers<br>[2010/10/24 13:27:37, 2] utils/net.c:main(1172)<br> return code = -1<br><br><br><br><br><br><br><br><br><br><br>-- System Information:<br>Debian Release: 5.0.6<br> APT prefers stable<br> APT policy: (500, 'stable')<br>Architecture: i386 (i686)<br><br>Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)<br>Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)<br>Shell: /bin/sh linked to /bin/bash<br><br>Versions of packages samba depends on:<br>ii adduser 3.110 add and remove users and groups<br>ii debconf [debcon 1.5.24 Debian configuration management sy<br>ii libacl1 2.2.47-2 Access control list shared library<br>ii libattr1 1:2.4.43-2 Extended attribute shared library<br>ii libc6 2.7-18lenny4 GNU C Library: Shared libraries<br>ii libcomerr2 1.41.3-1 common error description library<br>ii libcups2 1.3.8-1+lenny8 Common UNIX Printing System(tm) -<br>ii libgnutls26 2.4.2-6+lenny2 the GNU TLS library - runtime libr<br>ii libkrb53 1.6.dfsg.4~beta1-5lenny4 MIT Kerberos runtime libraries<br>ii libldap-2.4-2 2.4.11-1+lenny2 OpenLDAP libraries<br>ii libpam-modules 1.0.1-5+lenny1 Pluggable Authentication Modules f<br>ii libpam-runtime 1.0.1-5+lenny1 Runtime support for the PAM librar<br>ii libpam0g 1.0.1-5+lenny1 Pluggable Authentication Modules l<br>ii libpopt0 1.14-4 lib for parsing cmdline parameters<br>ii libtalloc1 1.2.0~git20080616-1 hierarchical pool based memory all<br>ii libwbclient0 2:3.2.5-4lenny13 client library for interfacing wit<br>ii logrotate 3.7.1-5 Log rotation utility<br>ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip<br>ii procps 1:3.2.7-11 /proc file system utilities<br>ii samba-common 2:3.2.5-4lenny13 Samba common files used by both th<br>ii update-inetd 4.31 inetd configuration file updater<br>ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime<br><br>samba recommends no packages.<br><br>Versions of packages samba suggests:<br>pn ldb-tools <none> (no description available)<br>ii openbsd-inetd [inet-superse 0.20080125-2 The OpenBSD Internet Superserver<br>pn smbldap-tools <none> (no description available)<br><br>-- debconf information:<br> samba/run_mode: daemons<br> samba/generate_smbpasswd: true<br><br><br><br>Regards.<br>                                            </body>
</html>