Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I am trying to setup a simple samba server. I have one windows machine and several linux machines running mandriva and KDE. Through much experimenting, I have still been unable to set this up.
I have gone into “Configure your Computer” -> Network Sharing -> Manage Samba Configuration. I added an entry for the folder I will be sharing and I set it to browsable = yes, public = yes, and writable = yes. Under the Samba Users Tab, I created a user. (I want all the users to have the same username and password.)
I went to Local Disks -> Share your hard disk partitions, and choose “Allow all users”, and placed a check next to SMB
I right clicked on the folder, choose Sharing, and verified the options under there.
I have also tried creating my own smb.conf file as described in a tutorial, but the smb.conf file seems to be reset to the auto-generated version.
Does anyone have any advice on how I can setup Mandriva to share a folder with a Windows machine and other Linux machines?
I have also tried creating my own smb.conf file as described in a tutorial, but the smb.conf file seems to be reset to the auto-generated version.
This is the way to do it. Did you edit the file as root? If not, you will not be able to save changes.
There are some very good tutorials around. After you edit the file you have to restart samba. Once restarted, the changes take affect. There is also excellent documentation around. You may have to do some reading to get things going the way you want.
Thanks, I was finally able to get it working by editing /etc/samba/smb.conf on the server and /etc/fstab on the clients. I guess editing the files is better than using the gui.
Editing config files directly allows you to learn what controls samba. The gui way usually implies there is a "wizard" involved. That tends to insulate the user from what you are doing, the windoze way of keeping you in the dark. I do use gui's once I understand what I'm trying to accomplish, they can save time and effort.
You will find it seems more difficult to configure linux resources at first. After you start to learn things, it becomes easier.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.