Newbie question!
We currently are running a product call
TAS from Syntax Corporation and would like to move to Samba. I have review
the documentation and cannot find how to set up muliple services on one
server. I tried using the Netbios name = and the include statement to
bring in another smb.conf file but I don't think I'm on the right track.
Like I said, a newbie question.
Can anyone tell me if what I'm trying to
do is possible in samba. An example of what I wish to do is:
\\NFS1\disk1
\\NFS1\disk2
\\NFS2\code
\\NFS3\source
Basically I wish to have services called
NFS1, NFS2, NFS3 running all from one box and only being capable of getting
into "disk1" if I'm mapped to service NFS1, accessing
"code" if I'm mapped
to NFS2 etc ....
I hope I've made myself clear
Thank You
Marco
On Wed, 21 Jun 2000 09:16:48 +1000, you wrote:>do is possible in samba. An example of what I wish to do is: > \\NFS1\disk1 > \\NFS1\disk2 > \\NFS2\code > \\NFS3\source >I would try using netbios aliases = nfs1 nfs2 nfs3 ... then include = /path/%L and then in the file /path/nfs1 put [disk1] ... In the file /path/nfs2 put [disk2] ... ... -- giulioo@pobox.com
On Tue, 20 Jun 2000, Marco Bartolucci wrote:> Can anyone tell me if what I'm trying to > do is possible in samba. An example of what I wish to do is: > > \\NFS1\disk1 > \\NFS1\disk2 > \\NFS2\code > \\NFS3\source > > Basically I wish to have services called > NFS1, NFS2, NFS3 running all from one box and only being capable of getting > into "disk1" if I'm mapped to service NFS1, accessing "code" if I'm mapped > to NFS2 etc ....I would have thought that this should be possible using something like: in smb.conf: [global] ; other global parameters here netbios aliases = NFS1 NFS2 NFS3 include = /usr/local/samba/lib/smb.conf.%L in smb.conf.NFS1: [disk1] ; service parameters of disk1 [disk2] ; service parameters of disk2 in smb.conf.NFS2: [code] ; service parameters of code etc. Regards, -- Neil Hoggarth Departmental Computer Officer <neil.hoggarth@physiol.ox.ac.uk> Laboratory of Physiology http://www.physiol.ox.ac.uk/~njh/ University of Oxford, UK