Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 11:26:06 -0500
From:      jacks@sage-american.com
To:        Bsd Newbie <bsdneophyte@yahoo.com>, DrTebi <drtebi@yahoo.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: samba connectivity problems...
Message-ID:  <3.0.5.32.20010926112606.03e2d1d8@mail.sage-american.com>
In-Reply-To: <20010926142849.1263.qmail@web20109.mail.yahoo.com>
References:  <006701c1460b$3526bbc0$c8e1b3d8@liquidground.com>

next in thread | previous in thread | raw e-mail | index | archive | help
hmmmm... I have samba running on several boxes and don't use the lines
enabled in inetd at all....

On install there are a couple of files smb.conf.sample and another one
"pid" I thinks that runs mine...

On bootup, you should see "samba" initiated just before the login line....

At 07:28 AM 9.26.2001 -0700, Bsd Newbie wrote:
>
>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 <drtebi@yahoo.com> 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" <bsdneophyte@yahoo.com>
>> Newsgroups: fa.freebsd.questions
>> To: <freebsd-questions@freebsd.org>
>> 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
>
>

Best regards,
Jack L. Stone,
Server Admin

Sage-American
http://www.sage-american.com
jacks@sage-american.com

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?3.0.5.32.20010926112606.03e2d1d8>