[Samba] Netbios and Zeroconf?
michael at susens-schurter.com
Sat Nov 11 22:22:03 GMT 2006
Fabian Zeindl wrote:
> a totally simple, but maybe totally useless question: is there some
> (small) possibility to theoretically turn off the dns and service
> resolution provided by samba/netbios and use zeroconf/dns-sd instead?
To make Samba use zeroconf/dns-sd for name resolution set in smb.conf:
name resolve order = host
And use something like this in your nsswitch.conf file:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
To prevent other machines from finding you via netbios add the following
disable netbios = yes
Other machines can still find you via DNS unless you don't send a
hostname to the DHCP server (and it doesn't assign you one). I'm not
quite sure why you'd want to mess with DNS though because it could
effect so many other services.
> I know it won't be much help for windows users, because they won't find
> the shares anymore, but maybe there'll be a zeroconf implementation on
> windows someday?
Never tried it, but these links look relevant:
More information about the samba