From owner-freebsd-questions Wed Sep 26 7:28:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web20109.mail.yahoo.com (web20109.mail.yahoo.com [216.136.226.46]) by hub.freebsd.org (Postfix) with SMTP id 7C29837B408 for ; Wed, 26 Sep 2001 07:28:49 -0700 (PDT) Message-ID: <20010926142849.1263.qmail@web20109.mail.yahoo.com> Received: from [63.193.147.188] by web20109.mail.yahoo.com via HTTP; Wed, 26 Sep 2001 07:28:49 PDT Date: Wed, 26 Sep 2001 07:28:49 -0700 (PDT) From: Bsd Newbie Subject: Re: samba connectivity problems... To: DrTebi , freebsd-questions@freebsd.org In-Reply-To: <006701c1460b$3526bbc0$c8e1b3d8@liquidground.com> 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 You all rule... I don't think I could expect a quicker reply. I thought inetd was always running by default... how would I have checked to see if it was running? This is the output I get after typing 'ps waux | grep inetd' root 197 0.0 0.1 1060 832 ?? Is 9:31AM 0:00.06 inetd -wW I uncommented the 3 samba entries... and did this ps waux... deal... I don't know exactly what this does... but I thought it re-ran inetd? After I typed what DrTebi suggested... I no longer got the intial error. It seems i'm able to connect... but I get one of two errors...when I enter a password when su'ed in as root I get this error: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) When I use type "smbclient //(hostname)/public -U (different user)" I get: session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) I've used the "smbpasswd -a 'username'" to register an account... so i'm confused why I get the latter... as for the former error... i'm just confused... When I ran "testparm" I didn't get any errors. Anymore guidance? -Sameer --- DrTebi wrote: > - is inetd running? > - did you restart inetd/gave it a "HUP"? (killall -HUP inetd) > - try to use smbd and nmbd without inetd, just do > /usr/local/samba/bin/smbd > /usr/local/samba/bin/nmbd > - is your configuration OK? Do > /usr/local/samba/bin/testparm > or > /usr/local/samba/bin/testparm > test; more test > and try to see if everything is correct > - check out your error logs, they're usually in /usr/local/samba/var > > You also might want to check out the online oreilly book at > http://www.oreilly.com/catalog/samba/chapter/book/ > > Good luck, feel free to ask me if you need more help. > DrTebi > > > > ----- Original Message ----- > From: "Bsd Newbie" > Newsgroups: fa.freebsd.questions > To: > Sent: Tuesday, September 25, 2001 11:27 AM > Subject: samba connectivity problems... > > > > > > i'm trying to test Samba with the "smbclient" line > > > > when I type 'smbclient \\\\(hosname)\\public' (why are the slashes the > dos > > way?)... I get the following error message: > > > > added interface ip=192.168.1.101 bcast=192.168.1.255 > nmask=255.255.255.0 > > error connecting to 192.168.1.101:139 (Connection refused) > > Connection to froggie5 failed > > > > I have the following entires in /etc/inetd.conf: > > > > netbios-ssn stream tcp nowait root /usr/local/samba/bin/smbd smbd > > netbios-ns dgram udp wait root /usr/local/samba/bin/nmbd nmbd > > > > After I installed samba I ran "ps waux | grep inetd" ... > > > > I really don't know what's going on... I have a copy of "Samba > Unleased" > > by Sams... but hasn't given a solution to my problem. > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Get email alerts & NEW webcam video instant messaging with Yahoo! > Messenger. http://im.yahoo.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message