From owner-freebsd-questions Sun Oct 7 7:10: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web20105.mail.yahoo.com (web20105.mail.yahoo.com [216.136.226.42]) by hub.freebsd.org (Postfix) with SMTP id BE13F37B401 for ; Sun, 7 Oct 2001 07:09:55 -0700 (PDT) Message-ID: <20011007140955.2394.qmail@web20105.mail.yahoo.com> Received: from [63.193.147.188] by web20105.mail.yahoo.com via HTTP; Sun, 07 Oct 2001 07:09:55 PDT Date: Sun, 7 Oct 2001 07:09:55 -0700 (PDT) From: Bsd Newbie Subject: Re: comeon... someone has to help me resolve this samba problem... :/ To: Nathan Mace , freebsd-questions In-Reply-To: <20011006141403.537415c2.mace_nathan@uchaswv.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > > > Do You Yahoo!? > > > > > > Listen to your Yahoo! Mail messages from any phone. > > > > > > http://phone.yahoo.com > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > > > with "unsubscribe freebsd-questions" in the body of the > > message > > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Listen to your Yahoo! Mail messages from any phone. > > > > http://phone.yahoo.com > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > ATTACHMENT part 2 application/octet-stream name=smb.conf > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > NEW from Yahoo! GeoCities - quick and easy web site hosting, just > > $8.95/month. > > http://geocities.yahoo.com/ps/info1 __________________________________________________ Do You Yahoo!? NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message