Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2001 11:17:08 -0800
From:      Beech Rintoul <akbeech@anchoragerescue.org>
To:        Bsd Newbie <bsdneophyte@yahoo.com>, Nathan Mace <mace_nathan@uchaswv.edu>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: comeon... someone has to help me resolve this samba problem... :/
Message-ID:  <20011007191708.77FC492@nebula.anchoragerescue.org>
In-Reply-To: <20011007140955.2394.qmail@web20105.mail.yahoo.com>
References:  <20011007140955.2394.qmail@web20105.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mace_nathan@uchaswv.edu> 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 <bsdneophyte@yahoo.com> 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 <nmace85@yahoo.com> 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 <process num>"
> > >
> > > 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 <bsdneophyte@yahoo.com> 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 <matt@gsicomp.on.ca> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011007191708.77FC492>