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? |
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 |
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 ??
|
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 02:35 AM. |