The Samba-Bugzilla – Bug 7058
first login fails when eth0 is managed by network-manager/wicd
Last modified: 2010-01-24 06:19:16 UTC
Setting ubuntu karmic/debian squeeze clients to authenticate against a windows AD PDC server.
First login fails when eth0 is managed by either network-manager-wicd. winbind drops "Network is unreachable" on syslog and "Could not receive trustdoms" on log.winbindd.
On Debian, with old-style init, setting eth0 on /etc/network/interfaces works nicely, I can log at first attempt either with network-manager and wicd.
On Ubuntu Karmic, with upstart, first attempt always fails
From syslog, it seems that, when eth0 is managed, winbind gets executed before is a proper connection up. A second login attemp works, however.
Seems to me like upstart fires up winbindd too early. Sounds to me like an Ubuntu Karmic issue, not like a Samba issue.
It was my first thought.
But I send it here because I get the same behaviour on Debian Squeeze, where there is old good system V init at work.
Using network manager or wicd makes no difference, so, while I guess this is related to managing interfaces out of /etc/network/interfaces, I see that winbind is the only software involved in all cases. So sending here seemed the right thing.
Is this behaviour to be expected when interfaces are in "unmanaged" mode?