[Bug 512777] [NEW] first login fails when NIC is managed by NM-wicd

Roman tatel at infonegocio.com
Tue Jan 26 13:09:32 GMT 2010


Public bug reported:

Binary package hint: samba-common

Hi,

Setting Ubuntu Karmic and Debian Squeeze clients to authenticate against
AD win2003 server.

It works, but first login fails. Second attempt gives access, however.

Syslog shows a line "Network is unreachable" and log.winbindd shows
"Could not receive trustdoms"

Same behaviour on Debian Squeeze, but only when interface is manages bu
either nm / wicd. Setting eth0 on /etc/network/interfaces worked fine,
no need to second attempts. On Karmic, it fails mo matter if there are
settings for eth0 on /etc/network/interfaces or not

>From syslog, it seems that winbind runs before dhclient puts the link up

Jan 26 10:33:17 u034755 cron[1158]: (CRON) INFO (pidfile fd = 3)
Jan 26 10:33:17 u034755 init: apport post-stop process (1172) terminated with status 1
Jan 26 10:33:17 u034755 anacron[1202]: Anacron 2.3 started on 2010-01-26
Jan 26 10:33:17 u034755 cron[1259]: (CRON) STARTUP (fork ok)
Jan 26 10:33:17 u034755 cron[1259]: (CRON) INFO (Running @reboot jobs)
Jan 26 10:33:18 u034755 anacron[1202]: Normal exit (0 jobs run)
Jan 26 10:33:18 u034755 dhclient: isc-dhclient-V3.1.2
Jan 26 10:33:18 u034755 dhclient: isc-dhclient-V3.1.2
Jan 26 10:33:18 u034755 ntpd[1363]: ntpd 4.2.4p6 at 1.1549-o Fri Dec  4 18:08:42 UTC 2009 (1)
Jan 26 10:33:18 u034755 ntpd[1364]: precision = 1.000 usec
Jan 26 10:33:18 u034755 ntpd[1364]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
Jan 26 10:33:18 u034755 ntpd[1364]: Listening on interface #1 wildcard, ::#123 Disabled
Jan 26 10:33:18 u034755 ntpd[1364]: Listening on interface #2 lo, ::1#123 Enabled
Jan 26 10:33:18 u034755 ntpd[1364]: Listening on interface #3 lo, 127.0.0.1#123 Enabled
Jan 26 10:33:18 u034755 ntpd[1364]: kernel time sync status 2040
Jan 26 10:33:18 u034755 ntpd[1364]: frequency initialized -31.871 PPM from /var/lib/ntp/ntp.drift
Jan 26 10:33:18 u034755 ntpd[1364]: Warning: the "dynamic" keyword has been obsoleted and will be removed in the next release
Jan 26 10:33:18 u034755 winbindd[1342]: [2010/01/26 10:33:18,  0] winbindd/winbindd_cache.c:2578(initialize_winbindd_cache)
Jan 26 10:33:18 u034755 winbindd[1342]:   initialize_winbindd_cache: clearing cache and re-creating with version number 1
Jan 26 10:33:18 u034755 winbindd[1394]: [2010/01/26 10:33:18,  0] libsmb/nmblib.c:834(send_udp)
Jan 26 10:33:18 u034755 winbindd[1394]:   Packet send failed to 10.16.15.1(137) ERRNO=Network is unreachable
(...)
Jan 26 10:33:24 u034755 kernel: [   19.340222] r8169: eth0: link up
Jan 26 10:33:24 u034755 kernel: [   19.340228] r8169: eth0: link up
Jan 26 10:33:26 u034755 dhclient: Internet Systems Consortium DHCP Client V3.1.2
Jan 26 10:33:26 u034755 dhclient: Copyright 2004-2008 Internet Systems Consortium.
Jan 26 10:33:26 u034755 dhclient: All rights reserved.
Jan 26 10:33:26 u034755 dhclient: For info, please visit http://www.isc.org/sw/dhcp/
Jan 26 10:33:26 u034755 dhclient: 
Jan 26 10:33:26 u034755 dhclient: Listening on LPF/eth0/00:1f:d0:82:04:22
Jan 26 10:33:26 u034755 dhclient: Sending on   LPF/eth0/00:1f:d0:82:04:22
Jan 26 10:33:26 u034755 dhclient: Sending on   Socket/fallback
Jan 26 10:33:26 u034755 dhclient: DHCPRELEASE on eth0 to 10.16.15.1 port 67
Jan 26 10:33:26 u034755 dhclient: send_packet: Network is unreachable
Jan 26 10:33:26 u034755 dhclient: send_packet: please consult README file regarding broadcast address.
Jan 26 10:33:26 u034755 kernel: [   21.583416] r8169: eth0: link up
Jan 26 10:33:26 u034755 dhclient: Internet Systems Consortium DHCP Client V3.1.2
Jan 26 10:33:26 u034755 dhclient: Copyright 2004-2008 Internet Systems Consortium.
Jan 26 10:33:26 u034755 dhclient: All rights reserved.
Jan 26 10:33:26 u034755 dhclient: For info, please visit http://www.isc.org/sw/dhcp/
Jan 26 10:33:26 u034755 dhclient: 
Jan 26 10:33:27 u034755 dhclient: Listening on LPF/eth0/00:1f:d0:82:04:22
Jan 26 10:33:27 u034755 dhclient: Sending on   LPF/eth0/00:1f:d0:82:04:22
Jan 26 10:33:27 u034755 dhclient: Sending on   Socket/fallback
Jan 26 10:33:31 u034755 dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Jan 26 10:33:31 u034755 dhclient: DHCPOFFER of 10.16.13.128 from 10.16.13.100
Jan 26 10:33:31 u034755 dhclient: DHCPREQUEST of 10.16.13.128 on eth0 to 255.255.255.255 port 67
Jan 26 10:33:31 u034755 dhclient: DHCPACK of 10.16.13.128 from 10.16.13.100
Jan 26 10:33:31 u034755 dhclient: bound to 10.16.13.128 -- renewal in 303182 seconds.

I'll be glad to give moro logs at your request

Best wishes,
Roman

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
first login fails when NIC is managed by NM-wicd
https://bugs.launchpad.net/bugs/512777
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list