[K12OSN] two samba servers. . .same machine

Les Mikesell les at futuresource.com
Wed Dec 14 13:40:54 UTC 2005


On Wed, 2005-12-14 at 02:39, Robert Mortimer wrote:
> > 
> > It may depend on your windows clients.  XP and 2000 will connect to DNS
> > names as well as netbios names and a samba server doesn't care what you
> > call it - you can even connect by IP address.  If you have DNS set up
> > for your local domain, add a DNS CNAME for servertwo pointing to the
> > serverone name.  I think this will work for Win98SE and may have been
> > a checkbox item in the DNS setup for earlier versions (resolve netbios
> > names with dns).
> 
> I think I have tried this before and the connection was rejected. I suspect
> that the name is part of the handshake and if the name given by the server
> is not the name expected by the client the handshake stops.

It doesn't work the other direction - that is a windows server won't
accept connections to a name other than its own, but at least xp
and win2k clients will connect to dns CNAMES pointing to a samba
server.   As someone else mentioned, adding it to "netbios aliases = "
should work anyway. In fact you may need both for a mix of clients. I
think XP prefers to use DNS for the name lookup.

-- 
  Les Mikesell
   les at futuresource.com





More information about the K12OSN mailing list