I am currently using virtual-box running an already configured windows XP server and a Fedora client. I am trying to get the client to automount the shared folder (which is name SharedDocs) from the server.
- I have installed autofs and disabled firewall
- I have manually mounted the file using:
mount cifs //192.168.1.1/Shared Docs /shares
My problem is I don't know the best way to automount the folder on the boot.
I have chkconfig autofs on, so its always running.
I can ping the both machines. I have added entries into auto.master as well as auto.share.
I have tried adding an entry to fstab as well.
My problem is I don't know how to automount the drive, I don't think my entries into the mount files were correct. My question is, what is the best way to make this happen?
Server IP: 192.168.1.3 (windows)
Client IP: 192.168.1.92 (Fedora)
Folder to share on Windows server: SharedDocs
Desired mount pt: /shares
windows user: admin (pass=adminpw)
client user: root
any help or advice is much appreciated. And please don't send me the link to some page on tldp or something else. I know what I am supposed
to do, I am just having trouble making it all work.