I don't think dhclient should be relied upon, since it would be nice if
the system would handle changing from a static IP to a dynamic IP.

well, we should at least be able to extract info that only dhclient has and put it somewere that can be accessed by ifup-post.


But you do bring up a good point about WINS, it could be an idea to have
dhclient update the WINS ip for samba. The samba team at one stage had
plans to implement this some other way (possibly having samba read it
directly from the lease file?), but it may be worthwhile looking at.
atm i have samba including an /etc/samba/dhcp.conf which is rewritten by dhclient.

we should also change the request settings in dhclient to include requesting for wins server

request;
used to work with my dhcp-3 server but does not seem to work on some windows dhcp server for which i have no control.


nmbd should probably be kicked anyway, since if you're not using wins,
you would want to re-broadcast to find the master browser or start an
election. But then maybe we need to split the smbd and nmbd init scripts
(as SuSE has done).

i would second this splitting. i don't even use samba as server on my laptop, but kicking nmbd and getting registered on the wins server is a threat.


L.





Reply via email to