workgroups with samba virtual server

emeric jarnier Emeric.Jarnier at univ-savoie.fr
Tue Jan 15 08:54:59 GMT 2002


Hi again,

the configuration given next works fine. I have one more problem though, i
can't make my winnt computer join either domain i created.
I have the account for the computer in the passwd, smbpasswd and shadow
but still it cannot work. It seems to be the last problem for me because
otherwise i can see all the servers i created and browse their shared
ressources. Any ideas??
I am going to upgrade my samba to 2.2.2 since i was using the 2.0.10

Thanks a lot guys

On Mon, 14 Jan 2002, Martin Rusko wrote:

> Hi Emeric,
> how did you set virtual servers? By "netbios aliases" option?
> Well, consider to use IP aliasing for setting more than one IP addresses for
> your network card, then you have to start multiple samba servers with
> different config files. You can do that by using command line switch "-s
> /another/config/file" for smbd and nmbd. Have a look into man page.
>
> What is important is, that you will use parameters "interfaces" and "bind
> interfaces only" in your different config files. For example:
> ---smb.apple.conf---
> [global]
>   workgroup = fruits
>   netbios name = apple
>   interfaces = 127.0.0.1 192.168.1.1
>   bind interfaces only = yes
> ---------------------
>
> ---smb.carrot.conf----
> [global]
>   workgroup = vegetables
>   netbios name = carrot
>   interfaces = 192.168.1.2
>   bind interfaces only = yes
> ---------------------
>
> Note: Consult man page of smb.conf, why I had to add localhost address
> into interfaces parameter of the first config file.
>
> And then:
> # /usr/local/smbd -D -s /etc/samba/smb.apple.conf
> # /usr/local/nmbd -D -s  /etc/samba/smb.apple.conf
> # /usr/local/smbd -D -s /etc/samba/smb.carrot.conf
> # /usr/local/nmbd -D -s /etc/samba/smb.carrot.conf
>
> After that, you should see on your network two different servers, belonging to
> different workgroups, but physically on the same hardware. Currently I'm
> working with one Dell PowerEdge server running in such scenario, but it is
> not completely tested. One of virtual servers has also set security = user and
> second has security = server and "password server = first_server". But I've
> seen a lot of errors about write_socket_data: Broken pipe in second's virtual
> server log files. So if I will find, how to get rid of this messages, it will be
> perfect!! ;-)
>
>       Have a nice day...
>
>              mARTin
>
> On 14 Jan 02, at 17:02, emeric jarnier wrote:
>
> > Hi all,
> >
> > anyone knows when it will be possible to set multiple workgroups using
> > multiple samba virtual servers??
> > It would really be useful.
> > By the way if anyone has ever gone over this problem, please share...
> > I have a samba server for about 100 computers and more than 500 acounts.
> > I plan to try to make some rooms only available for some users.
> >
> > Thanks a lot,
> >
> > Emeric Jarnier
> >

Emeric Jarnier

Crir Antenne Annecienne
UFR ATE Bureau 208
Tel : 04-50-09-24-84






More information about the samba mailing list