Date: Wed, 15 Oct 1997 16:52:13 +1100 From: Carey Nairn <Carey.Nairn@ccd.tas.gov.au> To: Greg Lehey <grog@lemis.com>, FreeBSD Questions <questions@FreeBSD.ORG> Subject: Re: Samba: how do I specify service names? Message-ID: <3.0.32.19971015165212.00a01078@falcon.pacit.tas.gov.au>
next in thread | raw e-mail | index | archive | help
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 > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19971015165212.00a01078>