Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Hi I have installed samba succesfully (i think). Then I create an simple smb.conf like the one in the samba distribution and I put in the /usr/local/samba/bin. When I test my smb.conf, it gave me me "ERROR: lock directory /usr/cache/samba does not exisit. Btw, when I testparm it loads the smb.conf from /etc/samba/smb.conf instead of /usr/local/samba/bin. Can anyone one help me with these problems.
1. Why I got this message
2. Where Should I put my smb.conf
1) Probably becaues /usr/cache/samba doesn't exist.
2) It depends on the options given at compile time. Try moving them out one at a time - if samba doesn't start with one missing then that is where it should be.
Well as I understand it, if you install samba via rpm then it will use /etc/samba/smb.conf so I'd edit that smb.conf file. Then try testparm again and see if it complains.
Well I didnt installed via rpm. is easier to install via rpm?? if I install again via rpm, will it cause any confusion to the samba program?? if it does what should I do. Thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.