Setting up virtual samba servers

Robert Dahlem Robert.Dahlem at gmx.net
Fri Dec 15 08:17:52 GMT 2000


Micheal,

On Thu, 14 Dec 2000 14:12:08 -0600, MEwing at berkleyis.com wrote:

>Using Samba-2.0.7, I am attempting to setup virtual samba servers, 
>and am experiencing some difficulty in getting the configuration to 
>operate properly.
>
>The problem is that the "netbios alias" names do not appear to be
>recognized by the samba server when I specify one of the alias names 
>as the server and attempt to connect to a share.

I guess the problem comes from "config file = " in your smb.conf. This 
will completely override everything smbd/nmbd has read until yet. For 
nmbd this means it will run without config file, because while talking 
to nmbd nobody says "I want to talk to VIRTUAL01".

Better use "include = " instead of "config file =". Move all redundant 
parts (IOW: all lines that are both in smb.conf.virtual01 and 
.virtual02) to smb.conf.

Take care: "include =" will probably return with the last thing being 
defined a share, so you will have to rpeat "[global]" after that.

Regards,
        Robert


-- 
---------------------------------------------------------------
Robert.Dahlem at gmx.net           Fax +49-69-432647
---------------------------------------------------------------

Sent using PMMail (http://www.pmmail2000.com) - fast, decent, email
software; far better than Outlook. Try it sometime.






More information about the samba mailing list