[Samba] Dual Computer Names

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Jan 18 21:13:52 GMT 2007

On Thu, Jan 18, 2007 at 02:42:59PM -0600, Williard, Jason wrote:
> Does anyone know if there is a way to setup a Samba server to respond to
> 2 different names on the same or different IP addresses?  I currently
> have two servers with two different names.  I would like to decommission
> the first server while still allowing users to access the second server
> with the same name they were using to access the first server.

Just add 'netbios aliases = <second-name>' to your smb.conf.
Or put an appropriate cname into your dns, depending on how
your clients resolve their names.

If you want different shares on each server, you might want
to add

smb ports = 139
include = /etc/samba/smb.conf.%L

to your smb.conf. You would add the shares for serverone to
the file /etc/samba/smb.conf.serverone and for servertwo
likewise to /etc/samba/smb.conf.servertwo.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20070118/19ba7bc6/attachment.bin

More information about the samba mailing list