LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   can't load /etc/samba/smb.conf (https://www.linuxquestions.org/questions/linux-networking-3/cant-load-etc-samba-smb-conf-373536/)

ALInux 10-16-2005 04:40 AM

can't load /etc/samba/smb.conf
 
Whenever I try to use smb4k or lisa I get the following error

can't load /etc/samba/smb.conf

when I ran testparm I got the following output :

root@darkstar:/usr/local/bin# 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.
root@darkstar:/usr/local/bin#


whats wrong here?

david_ross 10-16-2005 07:10 AM

I'll guess that the file doesn't exist since that's what the error says but maybe you can confirm:
ls -l /etc/samba/smb.conf

ALInux 10-16-2005 09:33 AM

Ok that's right it does not exit ....what should I do ....just search for a smb.conf example file and edit it than insert it ??

david_ross 10-16-2005 10:05 AM

If you install the samba packages for your distro it should include a default config file, they are probably alos required to provide libraries to smb4k. If you have installed them then check that there aren't any smb.conf files like smb.conf.orig smb.conf.rpmnew etc in the /etc/samba directory. If so, just copy these to /etc/samba/smb.conf


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