LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba setup (https://www.linuxquestions.org/questions/linux-networking-3/samba-setup-4024/)

atari303 07-06-2001 03:49 PM

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.

hal_baumgardner 07-12-2001 10:57 PM

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
:(

atari303 07-12-2001 11:14 PM

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.

KevinJ 07-13-2001 12:55 PM

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!

atari303 07-19-2001 02:13 PM

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.


All times are GMT -5. The time now is 02:58 AM.