LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-17-2007, 09:29 AM   #1
P-P
LQ Newbie
 
Registered: Jan 2007
Location: UK
Distribution: openSuSE 10.2
Posts: 7

Rep: Reputation: 0
newbie > samba Connection to localhost failed


hi,

ok i'm trying to setup samba, now when i try

smbclient -L localhost
it gives me
Error connecting to 127.0.0.1 (Connection refused)
Connection to localhost failed

i'v tryed using my ip and also my netbios name but it just gives me the same message.

i;v also checked that samba is running.

thanks
 
Old 01-17-2007, 10:13 AM   #2
P-P
LQ Newbie
 
Registered: Jan 2007
Location: UK
Distribution: openSuSE 10.2
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by P-P
hi,

ok i'm trying to setup samba, now when i try

smbclient -L localhost
it gives me
Error connecting to 127.0.0.1 (Connection refused)
Connection to localhost failed

i'v tryed using my ip and also my netbios name but it just gives me the same message.

i;v also checked that samba is running.

thanks
ok just an update i found the problem (i think) but i have no idea how to fix it.

in my logs i have the following error repeating itsself.

ldap_connect_system: Failed to retrieve password from secrets.tdb

can anyone tell me more about this?

thanks
 
Old 01-17-2007, 11:33 PM   #3
nssblue
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Rep: Reputation: 0
I'm guessing you may not have added user accounts to the Samba server using smbpasswd.

In your smb.conf file under [global], could you add the line: loglevel = 3

then try it again and post the log file results?

Thanks

trueblue@usa.net
----------------
University of Delaware
Network & System Services
 
  


Reply


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
newbie: cups: no connection with localhost:631 aprovis Linux - Newbie 1 12-14-2005 11:04 AM
SAMBA connection failed masterlodi Linux - Networking 2 03-13-2005 07:24 AM
Connection to LOCALHOST failed when I try to browse the LAN in Samba jeffcheng Linux - Networking 0 09-21-2004 06:55 AM
smb4k - connection to host failed :newbie: kinderbrunnen Linux - Networking 0 03-19-2004 10:14 PM
SAMBA & SWAT - Connection refused when attempting to connect Localhost:901 ScooterB Linux - Networking 3 12-24-2003 04:15 PM


All times are GMT -5. The time now is 03:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration