Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-16-2005, 05:40 AM
|
#1
|
Member
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Rep:
|
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?
|
|
|
10-16-2005, 08:10 AM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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
|
|
|
10-16-2005, 10:33 AM
|
#3
|
Member
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Original Poster
Rep:
|
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 ??
|
|
|
10-16-2005, 11:05 AM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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 06:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|