View Full Version : Trying to access Windows Share from Fedora10 machine
2nd November 2009, 11:38 AM
Hello everyone... I recently promised a friend of mine to help him with this... he moved in a new place and there is a huge share on the network machine which runs windows... however he has fedora 10 installed on a desktop pc with a big screen and asked me to configure it so it can access the share... i have almost no experience with fedora and i've been trying to do this for two days now... i installed the samba package, but now what? can someone give me a step by step FAQ on how to do this because the exact commands are unknown to me... i have the root password and everything else on the network... so i just need to know what ot write in order to be able to mount all the TBs of information on the server...
2nd November 2009, 12:53 PM
Welll... there isn't much to do if the share is remote. This should get you started.
you can make sure the package 'samba-client' is installed as this is where the
client support for mounting CIFS is located.
After that you can see the manpage on mount.cifs on the specific mount command
to use. It varies depending on how Windows is exporting the filesystem.
I've never needed to actually mount a share - I always used smbclient as the
interface because I normally would export the share as a server on linux, not
have linux be the client.
I don't know (never done this) if the CIFS mount can be put in the /etc/fstab file
without tying it to one specific user...
4th November 2009, 10:00 AM
I don't know (never done this) if the CIFS mount can be put in the /etc/fstab file without tying it to one specific user...
Yes, fstab mounts on PC startup so if you point the mounts to a folder where ALL the fedora users can access
chgrp users mounts
chgrp users myFolder
This will create a /mounts/myFolder and allow all users access.
Add the entry into your /etc/fstab as such:
//windowspc/sharename /mounts/myFolder cifs username=windows_username,password=##########,auto ,uid=local_fedora_user,gid=users,_netdev 0 0
Now, I'll be open with you, this was taken from an OpenSuse machine so it MIGHT NOT work 100% as written but more experienced fedora people may be able to correct me; this should at least give you an idea where to begin.
Good luck :)
I have just tried this on my F11 machine and it works OK ... the group and owner of the mounted folder are set by the uid and gid from fstab so my local user "local_fedora_user" is now the owner ... I only have a single user on the fedora machine so not sure how it would work when there are multiple users but I would guess that as long as they're in the "users" group, they should have full access to the mount.
4th November 2009, 11:53 AM
It should work the same.
The only issue I have is that it forces all users into the same share account.
4th November 2009, 12:00 PM
Then just tell them to nautilus -nodesktop smb://IP_Of_Broken_Windoz and use their own username/password.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.