From owner-freebsd-hackers Wed Mar 6 03:15:38 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA12269 for hackers-outgoing; Wed, 6 Mar 1996 03:15:38 -0800 (PST) Received: from isbalham (isbalham.ist.co.uk [192.31.26.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA12260 for ; Wed, 6 Mar 1996 03:15:32 -0800 (PST) Received: from gid.co.uk (uucp@localhost) by isbalham (8.6.12/8.6.12) with UUCP id LAA16950; Wed, 6 Mar 1996 11:05:13 GMT Received: from [194.32.164.2] by seagoon.gid.co.uk; Wed, 6 Mar 1996 10:26:41 GMT X-Sender: rb@194.32.164.1 Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 6 Mar 1996 10:28:21 +0000 To: Jerry Kendall From: rb@gid.co.uk (Bob Bishop) Subject: Re: SAMBA and WFW Cc: FreeBSD Hackers Sender: owner-hackers@freebsd.org Precedence: bulk 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