Feb 05
10.6: Automount Samba (Windows) shares as needed
Cats: News|
Here's a way of mounting Samba shares in Snow Leopard that does not depend on the login process. This method auto-mounts a share when it is accessed. You need to have an administrator password to edit and create the needed files.
First, edit /etc/auto_master (as root) and add a line:
/- auto_smbI use the free version of TextWrangler for this; it will prompt you for your admin password. This tells autofs to look in the file /etc/auto_smb for the mount info. The /- means the the full mount path will be specified in auto_smb.
Next, create a file called /etc/auto_smb which is owned by root:wheel. One way to do this is to type the following command in Terminal:
sudo touch /etc/auto_smbNow edit this new file to put the share info into it. Each row you add has th...
Leave a Reply
You must be logged in to post a comment.
Subscribe
