From owner-freebsd-questions Tue Oct 14 23:10:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA20576 for questions-outgoing; Tue, 14 Oct 1997 23:10:13 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA20570 for ; Tue, 14 Oct 1997 23:10:08 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id PAA07948; Wed, 15 Oct 1997 15:40:00 +0930 (CST) Message-ID: <19971015154000.18866@lemis.com> Date: Wed, 15 Oct 1997 15:40:00 +0930 From: Greg Lehey To: Carey Nairn Cc: FreeBSD Questions Subject: Re: Samba: how do I specify service names? References: <3.0.32.19971015165212.00a01078@falcon.pacit.tas.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <3.0.32.19971015165212.00a01078@falcon.pacit.tas.gov.au>; from Carey Nairn on Wed, Oct 15, 1997 at 04:52:13PM +1100 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, Oct 15, 1997 at 04:52:13PM +1100, Carey Nairn wrote: > At 13:12 15/10/97 +0930, Greg Lehey wrote: >> I'm currently writing a chapter about Samba for the next edition of >> "The Complete FreeBSD", and I need help. I don't use Microsoft, so I >> can't even test this stuff properly. Currently I have installed smbd, >> configured inetd to start smbd and nmbd, and set up a configuration >> file. I'm trying to test with smbclient. >> >> I have the following entry in smb.conf: >> >>> [grog] >>> path = /home/grog >>> printable = true >>> read only = true >>> public = true >> >> This is what happens when I try to access it with smbclient: >> >>> $ smbclient \\freebie\\\\grog >>> Added interface ip=192.109.197.137 bcast=192.109.197.255 > nmask=255.255.255.0 >>> Server time is Wed Oct 15 13:09:55 1997 >>> Timezone is UTC+9.5 >>> Password: >>> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 1.9.16p11] >>> >>> Warning: Your service name doesn't start with \\. This is probably > incorrect. >>> Perhaps try replacing each \ with \\ on the command line? >> >> Why is this message coming? I have the correct number of \\\\s for >> the shell. I've tried changing the number, which just confuses it all >> the more. > > You should have \\\\freebie\\grog instead of \\freebie\\\\grog Thanks. That was the answer. Greg