From owner-freebsd-questions Sun Oct 7 12:17:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nebula.anchoragerescue.org (cable-115-7-237-24.anchorageak.net [24.237.7.115]) by hub.freebsd.org (Postfix) with ESMTP id 8F21437B401 for ; Sun, 7 Oct 2001 12:17:14 -0700 (PDT) Received: from there (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id 77FC492; Sun, 7 Oct 2001 11:17:08 -0800 (AKDT) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul To: Bsd Newbie , Nathan Mace , freebsd-questions Subject: Re: comeon... someone has to help me resolve this samba problem... :/ Date: Sun, 7 Oct 2001 11:17:08 -0800 X-Mailer: KMail [version 1.3] References: <20011007140955.2394.qmail@web20105.mail.yahoo.com> In-Reply-To: <20011007140955.2394.qmail@web20105.mail.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20011007191708.77FC492@nebula.anchoragerescue.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sunday 07 October 2001 06:09 am, Bsd Newbie wrote: > Matt's post indicated that I shouldn't really be cluttering this list with > my samba problems... so this will be the last PUBLIC (prepare for an > onslaught of private messages ;) ) post regarding this problem. > > Here are the answers you wanted... > > my win98se machine gives me the following error: > \\(hostname)\(share name) > > The network name cannot be found > > and yes... I did assign the FreeBSD box an netbios alias under the > [general] tab > > I added myself to the smbpasswd file using "smbpasswd sameer" > > I've also tried "net view" under the command prompt... it shows me both > msft machines... but the FreeBSD box is nowhere to be found. :/ > > As for the O'Reilly books... there's no refusting they are good... but > they are beyond my scope right now... :/ > > -Sameer > > --- Nathan Mace wrote: > > can you at least give me the error message win98 gives? also...you add > > users to the smbpasswd file right? if not samba will puke on itself. > > if not i think i can walk you through it > > > > BTW...i always thought sam's books were 'ok' but i think o'reilly's kick > > ass! :) > > > > nathan > > > > On Sat, 6 Oct 2001 09:08:55 -0700 (PDT) > > > > Bsd Newbie wrote: > > > Alright... > > > > > > I finally managed to get around to sorting this problem out... I > > > needed to > > > take a break because it was too frustrating (it hurts me to say this > > > because I love Sams's 'Unleashed' books... but their Samba book... > > > BITES)... > > > > > > I took your config file (THANK YOU!) and changed some names... and the > > > following command: > > > > > > smbclient //(hostname)/(sharename) > > > > > > I'm happy to say it worked w/o a single problem... > > > > > > BUT... the problem is far from over... my Win98se machine (and I don't > > > know if this problem can be discussed here) will not connect to my > > > FreeBSD > > > machine and vice versa. > > > > > > So now, I have Samba working on the server... but it's unable to do > > > anything. > > > > > > Any more suggestions? > > > > > > -Sameer > > > > > > BTW... I disabled all Win98se firewalling software before I tried the > > > connection. > > > > > > --- Nathan Mace wrote: > > > > first off, try taking a look at my smb.conf file. my samba workds > > > > great...pay special attention to my [global] share. you might try > > > > making a backup of yours and using mine, but be sure and change the > > > > workgroup name, etc,etc all that stuff that is different. > > > > > > > > also make sure you point it toyour smbpasswd file. > > > > > > > > also you have to test it with "smbclient -L localhost" assuming your > > > > doing this from the localhost > > > > > > > > one other thing just to be sure. you are "kill -HUP " > > > > > > for > > > > > > > both smbd and nmdbd right? let us know what using my conf name > > > > > > results > > > > > > > in > > > > > > > > > > > > > > > > On Wed, 3 Oct 2001 07:14:49 -0700 (PDT) > > > > > > > > Bsd Newbie wrote: > > > > > Here's the info you requested: > > > > > > > > > > [global] > > > > > workgroup = HOME > > > > > encrypt passwords = Yes > > > > > [homes] > > > > > read only = No > > > > > browseable = No > > > > > [public] > > > > > path=/tmp > > > > > guest ok = Yes > > > > > > > > > > The command I uses is: > > > > > > > > > > ash-2.05# smbclient //(hostname)/public > > > > > > > > > > --- Matthew Emmerton wrote: > > > > > > What are the contents of your smb.conf file, as well as the > > > > > > command > > > > > > > > line > > > > > > > > > > > you're using to test your installation with? > > > > > > > > > > > > -- > > > > > > Matthew Emmerton || matt@gsicomp.on.ca > > > > > > GSI Computer Services || http://www.gsicomp.on.ca > > > > > > > > > > > > On Wed, 3 Oct 2001, Bsd Newbie wrote: > > > > > > > I get the following error when trying to test samba with > > > > > > > > > > 'smbclient': > > > > > > > Domain=[HOME] OS=[Unix] Server=[Samba 2.2.0a] > > > > > > > tree connect failed: ERRDOS - ERRnosuchshare (You specified an > > > > > > > > > > invalid > > > > > > > > > > > > share name) > > > > > > > > > > > > > > I registered the user with smbpasswd > > > > > > > > > > > > > > I've done the following things... things I was advised to do: > > > > > > > > > > > > > > 1.) ran the following: > > > > > > > /usr/local/samba/bin/smbd > > > > > > > /usr/local/samba/bin/nmbd > > > > > > > > > > > > > > 2.) ran testparm > > > > > > > everything checked out > > > > > > > > > > > > > > 3.) tried the -W and -U flags > > > > > > > no change > > > > > > > > > > > > > > I really would like to get this up and running... > > > > > > > > > > > > > > Thanks in advance for any help someone might be able to > > > > > > provide. > > > > > > > > > > -Sameer > > > > > > > The OReilly book is online here: http://www.kneschke.de/projekte/ksamba/using_samba/ Beech -- Micro$oft: "Where can we make you go today?" ------------------------------------------------------------------- Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission \ / - NO HTML/RTF in e-mail | P.O. Box 230510 X - NO Word docs in e-mail | Anchorage, AK 99523-0510 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message