LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Samba configuration in Slackware 11 (http://www.linuxquestions.org/questions/slackware-14/samba-configuration-in-slackware-11-a-504012/)

jcbparry 11-22-2006 04:23 PM

Samba configuration in Slackware 11
 
Hi!
I need some help. I whent to connect to another computer on my network with samba and i got this message:

Code:

user@my-computer:~$ smbclient //second-computer/
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
        No such file or directory
smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
Connection to second-computer failed

so I ran testparm to debug it and it said:

Code:

user@my-computer:~$ testparm
Load smb config files from /etc/samba/smb.conf
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
        No such file or directory
Error loading services.

Please help me!

rnicolson 11-22-2006 05:03 PM

If you go into /etc/samba is there a file called smb.conf? A default Slackware install has an example conf file there but not the actual conf file. if you copy the example to smb.conf it will give you a base to work with and you can modify it to do what you need.

Alien Bob 11-22-2006 11:41 PM

The smbclientprogram will check for a /etc/samba/smb.conf file and will complain (as you saw) if that file does not exist. But your connection to that server should still have worked since smbclient does not need the smb.conf file. You should be safe in ignoring the warning. I do it all the time.

So, your problem lies elsewhere. That server you're connecting to does not accept your connection.

Eric


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