From owner-freebsd-questions Tue Oct 14 22:55:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA19523 for questions-outgoing; Tue, 14 Oct 1997 22:55:51 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from falcon.pacit.tas.gov.au (falcon.pacit.tas.gov.au [147.109.1.8]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA19515 for ; Tue, 14 Oct 1997 22:55:48 -0700 (PDT) (envelope-from Carey.Nairn@ccd.tas.gov.au) Received: from carey.pacit.tas.gov.au (carey.pacit.tas.gov.AU [147.109.2.69]) by falcon.pacit.tas.gov.au (8.8.5/8.8.5) with SMTP id QAA21013; Wed, 15 Oct 1997 16:54:21 +1100 (EST) Message-Id: <3.0.32.19971015165212.00a01078@falcon.pacit.tas.gov.au> X-Sender: cpn@falcon.pacit.tas.gov.au X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Wed, 15 Oct 1997 16:52:13 +1100 To: Greg Lehey , FreeBSD Questions From: Carey Nairn Subject: Re: Samba: how do I specify service names? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 > >+ first SMBtconX failed, trying again. ERRSRV - ERRinvnetname (Invalid network name in tree connect.) >+ SMBtconX failed. ERRSRV - ERRinvnetname (Invalid network name in tree connect.) >+ Perhaps you are using the wrong sharename, username or password? >+ Some servers insist that these be in uppercase > >In the log file, I get: > >10/15/97 13:09:57 couldn't find service /grog > >Where is this / coming from? I didn't mention a forward slash. > >I've played around with this. If I change the service name to /grog, >things work just fine. But this looks to me as if somebody is >inserting a /, and I don't know how to get rid of it. Is this a bug, >a feature, or incorrect usage on my part? > >Greg > > >