Click to See Complete Forum and Search --> : Access Windows Share on Linux


BizHat.com
07-05-2006, 01:39 PM
Hi,

I want to access Windows Share on Linux.

I have samba installed and i can see Windows PC on

Computer > Network

When i double click on the Windows PC icon, i get error

The folder contents could not be displayed.

You do not have the permissions necessary to view the contents
of "Windows Network: fwhwin".


fwhwin is name on Windows computer.

I can mount the files of Windows Share with command

mount -t smbfs -o username=root //192.168.199.1/work /root/Desktop/work

It will ask password, after that share is accessable. But doing this for all the PC is not easy.

How can i get the "Windows Networking" working ?

OS: Fedora C3

Thanks,

Yujin

dkeav
07-05-2006, 03:05 PM
add your mounts to fstab

BizHat.com
07-05-2006, 03:36 PM
Adding mount to fstab, it will need password ?

When i enter the mount command, it ask password. I have user root with same password as linux pc created on Windows.

Windows PC is running Windows 2003. Actually i need the "Windows Networking" working, it seems some authentication problem with Windows 2003 and Linux. When i click on "Windows Networking", it just say permission denied, do not ask for user name and password.

M0E
07-05-2006, 04:20 PM
Can you set your permissions on the windows side to allow unauthorized access maybe? Not sure if this is safe or not, but if this is your own private LAN, I don't see why it should be an issue.

BizHat.com
07-05-2006, 05:23 PM
I checked if i can allow unauthorized users can access share on Windows PC. Now everyone is allowed to access. I can't find a way to allow unauthorised users. It is home LAN, so no need for security.

M0E
07-05-2006, 06:17 PM
I'm not sure this can help you.. but check it out

http://www.theeldergeek.com/quick_guide_to_simple_file_sharing.htm

dkeav
07-05-2006, 06:36 PM
dont use unauthorized access!! EVER!

either add the password option to fstab and setup proper permissions, OR better is to create a protected credentials file

man mount.cifs