Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Automount Samba shares in leopard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Automount Samba shares in leopard
Authored by: gordonlbuchanan on May 20, '09 10:34:52PM

I've solved my problem with multiple users by creating a file /etc/fstab with the following:

nas:/buchanan /Users/gordon/Shares/buchanan url automounted,url==cifs://shareuserid:password@nas/buchanan 0 0
nas:/buchanan /Users/aaron/Shares/buchanan url automounted,url==cifs://shareuserid:password@nas/buchanan 0 0
...

Make one line per userid on the Mac that wants access to the share. That way each user has their own mount point in their home/Shares directory. You can also drag a shortcut to this mount point onto your desktop for easy access. On my system, sometimes the first one or two times I try and access it I get a not found error. But if I try again then it works. I think this is because my NAS drive has gone to sleep and takes a while to spin up on access.



[ Reply to This | # ]