Date: Wed, 6 Mar 1996 10:28:21 +0000 From: rb@gid.co.uk (Bob Bishop) To: Jerry Kendall <jerry@border.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: SAMBA and WFW Message-ID: <v01510104ad63159a6c88@[194.32.164.2]>
next in thread | raw e-mail | index | archive | help
At 2:35 pm 5/3/96, Jerry Kendall wrote:
>I have been trying for about 3 weeks now to get WFW 3.11 to access my
>samba drives....
>
>Can some nice sole send me their smb.conf files......
Sounds fishy to me :-)
>All I need at the moment is the ability to have WFW access my
>/home filesystem.... Nothing more...
>
>Please include all commands that are needed to start it up.. In case
>I am missing something .
Here's the setup that works for me:
In /etc/services (can't remember whether I had to add these):
netbios-ns 137/tcp # NETBIOS Name Service
netbios-ns 137/udp
netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp
netbios-ssn 139/tcp # NETBIOS session service
netbios-ssn 139/udp
In /etc/inetd.conf:
netbios-ssn stream tcp nowait root /usr/local/samba/smbd smbd -d1
netbios-ns dgram udp wait root /usr/local/samba/nmbd nmbd -d1 -G WORKGROUP
Make the obvious change if your workgroup isn't called WORKGROUP.
And my smb.conf:
seagoon:rb > cat /usr/local/samba/lib/smb.conf
[global]
printing = bsd
printcap name = /etc/printcap
load printers = yes
guest account = daemon
[printers]
comment = All Printers
browseable = no
printable = yes
public = yes
writable = no
create mode = 0700
[homes]
guest ok = no
read only = no
[fs7]
comment = seagoon:/fs7
path = /fs7
; public = yes
writable = yes
printable = no
[cdrom]
comment = seagoon:/cdrom
path = /cdrom
public = yes
writable = no
printable = no
seagoon:rb >
This gives access to all configured (in /etc/printcap) printers, home
directories, and /fs7 [password required] and /cdrom [no password required]
explicitly. If you just want homes, I think you only need the [global] and
[homes] sections.
At the WFW end, you must be running TCP/IP (which doesn't come as standard
but is freely available). Also, I believe you have to have the LMHOSTS file
set up (I usually populate both HOSTS and LMHOSTS because I can never
remember which does what).
--
Bob Bishop (01734) 774017 international code +44 1734
rb@gid.co.uk fax (01734) 894254 between 0800 and 1800 UK
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v01510104ad63159a6c88>
