DHCP discovery of WINS servers

Andrew Bartlett abartlet at pcug.org.au
Wed Aug 15 06:59:16 GMT 2001

Shirish Kalele wrote:
> Hi,
> I don't know how desirable this functionality is, but here's a patch that
> uses DHCP to have Samba dynamically discover WINS servers to use (when
> 'wins server = dhcp' is specified in smb.conf). This can be a nice option
> to have in some situations..
> The patch (and included files) work with 2.0.10 and the 2.2 branch.

I like it.  This is the kind of thing we need for seemless intergration
into many network environments.  

My only worry is the use of DHCPdiscover.  I'm happy with using
DHCPinform, as that cannot imply address allocation, but a DHCPdiscover
based setup could allocate addresses and really confuse the admin.  (I
know that this means we will fail older DHCP servers, but I'm much
happier with it that way.  ISC DHCPd 3.0 has supprorted it for ages, and
is now in Release Candidate.   I'm not sure about MS's server)

Andrew Bartlett

Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org

More information about the samba-technical mailing list