Koozali.org: home of the SME Server

Virtual Server using samba

Peter

Virtual Server using samba
« on: May 25, 2001, 08:19:32 AM »
Hi,

Has anyone tried setting up a virtual server using samba? ie giving the e-smith more than one netbios name?

What should I look out for when setting up an e-smith server in this way?

Peter

Nathan Fowler

Re: Virtual Server using samba
« Reply #1 on: May 25, 2001, 09:21:18 AM »
If you are using Windows based clients you can alias Netbios names in a file called lmhosts.  The file is stored in c:\winnt\system32\drivers\etc\lmhosts for Windows NT/2000 and in c:\windows\system32 for Windows 95/98/ME.

The syntax is
#PRE

Example:
192.168.1.1 E-smith #PRE
192.168.1.1 Server #PRE
192.168.1.1 Router #PRE

The default NetBIOS name will appear in Network Neighborhood, however, when mapping a UNC path any of the aliases can be used.

IE:  \e-smith\share or \server\share

Hope this helped and this is what you are trying to do.  I do not know of a way to alias samba and allocate multiple netbios names to a SMB server.  Not saying it isn't possible, I just don't know of a way.

Thanks,
Nathan Fowler

Laurent

Re: Virtual Server using samba
« Reply #2 on: May 25, 2001, 09:13:23 PM »
You need to have in global from smb.conf

netbios alias = list of names

David Helmuth

Re: Virtual Server using samba
« Reply #3 on: May 30, 2001, 07:50:42 PM »
Just another idea is to set up a hostname/alias for the machine in the e-Smith web pannels.

i.e.  e-Smith server's real name is e-smith.  However, you also want to use the "alias" of FileServer.  Go in an create the hostname entry and point the IP address to the e-smith IP address.  You can then issue "NET USE \FileServer\Sharename" from the DOS command line (or from the domain's netlogon.bat) and the network drives appear to have come from the "FileServer" fileserver.

One catch is that you will not see the FileServer machine when you browse the Network Neighborhood.

Just a thought....