LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   newbie > samba Connection to localhost failed (https://www.linuxquestions.org/questions/linux-software-2/newbie-samba-connection-to-localhost-failed-520157/)

P-P 01-17-2007 10:29 AM

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

P-P 01-17-2007 11:13 AM

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

nssblue 01-18-2007 12:33 AM

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


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