Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-06-2001, 03:49 PM   #1
Registered: May 2001
Posts: 34

Rep: Reputation: 15
samba setup

hi, still very much a newbie
Installed samba-2.2.0a and everything looks good but when I try to run ./smbclient -U% -L localhost, the added interface sections look good but the rest shows the following:

read_socket_with_timeout: timeout read. read error = Broken pipe.
session request to LOCALHOST failed (code 0)
read_socket_with_timeout: timeout read. read error = Connection reset by peer.
session request to *SMBSERVER failed (code 0)

I guess something is wrong but don't even know where to start to fix.
thx for any help in advance.
Old 07-12-2001, 10:57 PM   #2
LQ Newbie
Registered: Jul 2001
Location: north va
Distribution: redhat 9.0
Posts: 12

Rep: Reputation: 0
did you try redhats documentation site yet.. i am having a similar problem but i know i saw something like that there.

I wish i was of more help
Old 07-12-2001, 11:14 PM   #3
Registered: May 2001
Posts: 34

Original Poster
Rep: Reputation: 15
I haven't tried yet but I will check it out also.

I am trying to run this on Slackware 7 and now when I do a <ps aux> it keeps trying to run nmbd and will eventually kill inetd until I can do nothing but restart or <killall nmbd> if I notice it in time. Then I have to go back and comment out the lines:

netbios-ssn stream tcp nowait root /usr/local/samba/bin/smbd smbd
netbios-ns dgram udp wait root /usr/local/samba/bin/nmbd nmbd indetd.conf. swat works great though, (looks all pretty and stuff, arg!!!) but the results of running smbclient or a testparm don't look to promising for me to go any further. It doesn't help that I'm quite stupid but I guess I'm learning new things as I go along and hope to figure it out this month, maybe?

Good luck w/yours and thx for the suggestion.
Old 07-13-2001, 12:55 PM   #4
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
What does your /etc/hosts file look like?

Make sure you have an entry for localhost.

Also, you should try using the Samba package what comes with Slackware v7.0. Its version 2.05a, but use the Slackware package.

I am assuming that you compiled yours from source? Using the Slackware package may reveal some dependencies that the compile didn't pick up.

Package management is your FRIEND! Use it no matter what distro you are using!
Old 07-19-2001, 02:13 PM   #5
Registered: May 2001
Posts: 34

Original Poster
Rep: Reputation: 15
I've installed the version 2.0.5a (but from the source - can't quite figure out howto from pkgtool).

I do have an entry in hosts file for localhost.

before where nmbd was running until it would kill everything, with the new install, neither smbd and nmbd is running after restarting inetd with the proper entries.

any suggestions would be greatly appreciated, you have no idea.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
samba setup tran_colin Linux - Networking 1 10-19-2004 04:28 PM
Samba Setup jbraum Linux - Networking 2 09-16-2004 04:58 PM
I need the content from rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba setup help wenberg Slackware 18 02-13-2004 01:40 PM
Samba Setup Kreak Linux - Networking 1 08-25-2003 09:31 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration