Multiple Services on one Server
Neil Hoggarth
neil.hoggarth at physiol.ox.ac.uk
Wed Jun 21 08:24:44 GMT 2000
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 at physiol.ox.ac.uk> Laboratory of Physiology
http://www.physiol.ox.ac.uk/~njh/ University of Oxford, UK
More information about the samba
mailing list