LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-06-2001, 03:49 PM   #1
atari303
Member
 
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
hal_baumgardner
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
atari303
Member
 
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

....in 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
KevinJ
Member
 
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
atari303
Member
 
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.
thx.
 
  


Reply



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 thegoldenear.org/toolbox/unices/samba/samba-setup.html 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:35 PM.

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