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.
I've just got our new Fedora Core 5 box up and running on our home network, and I can use File Browser to get to shares on our WinXP boxes. Now, I want to define shares on the FC5 box, and access them from a WinXP box.
I've used Add/Remove Software to download and install Windows File Server (aka Samba). As a demo, I want to define the home directory of a FC5 user as a share. From the "Samba Server Configuration" dialog, I've set the workgroup name the same as our WinXP workgroup name, and Authentication Mode to "User". Then I've added a Samba user from the list of Linux accounts, specified the WinXP Username, and specified a Samba user password. I've added a share by browsing to the home directory for the Linux account. Finaly, Samba has been added to the list of trusted servers in the "Security Level Configuration" dialog. I can see what appear to be valid related entries in /etc/samba files smb.conf and smbusers.
Back on the WinXP box defining the shares I can see from the FC5 box, My Network Places lists "Samba Server (Localhost)" under our workgroup name. But attempting to access it results in "\\Localhost is not accessable... The network path was not found." (I haven't changed the FC5 box's network name from Localhost.localdomain, yet.)
This isn't the answer you are looking for, but I've used Samba enough to guide you to the best palce to start, the Samba docs. Samba is one of the best documented projects. Start with this example and go from there. This should get you a working server, then add the "homes" share.
Following the doco mmaki pointed me to, smbclient -L localhost
responds "Error connecting to 127.0.0.1 (Connection refused)"
I take it I'm supposed to have processes nmbd and smbd running, but ps -ef shows I've only got nmbd running.
Make sure that you have set the permissions to the shares properly. Since WinXP sees the share, but can not access it, this would most likely be the reason.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.