{"id":262,"date":"2016-01-20T13:43:31","date_gmt":"2016-01-20T21:43:31","guid":{"rendered":"http:\/\/mrnguyen.org\/?p=262"},"modified":"2016-01-20T13:43:31","modified_gmt":"2016-01-20T21:43:31","slug":"macosx-mount-a-windows-share-on-mac","status":"publish","type":"post","link":"http:\/\/mrnguyen.org\/?p=262","title":{"rendered":"macOsx: mount a window&#8217;s share on mac"},"content":{"rendered":"<p>1.sudo vi \/etc\/auto_master  <\/p>\n<p>Add the following line to the bottom:<br \/>\n&#8211;     auto_smb<br \/>\nSave, exit vi, and create a new file for your samba connections like so:<\/p>\n<p>2.sudo vi \/etc\/auto_smb<br \/>\nAdd the shares you would like to mount, one per line, in this format to the newlly created file:<br \/>\n\/Users\/username\/mount     -fstype=smbfs,soft     :\/\/user:password@server\/share  <\/p>\n<p>In the above, the username is your mac username, basically path to your home directory. You can mount it any were inside your home directory, It&#8217;s not necessary to create the actual mount point directory, automount should make it for you. Though, to be safe, you can do so. Just run &#8216;mkdir ~\/path\/to\/mount&#8217;. User and password after \/\/ is your credentials for the remote samba or windows share.<\/p>\n<p>3. Finally, run automount to mount the new shares:<br \/>\nautomount -vc<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.sudo vi \/etc\/auto_master Add the following line to the bottom: &#8211; auto_smb Save, exit vi, and create a new file for your samba connections like so: 2.sudo vi \/etc\/auto_smb Add the shares you would like to mount, one per line, in this format to the newlly created file: \/Users\/username\/mount -fstype=smbfs,soft :\/\/user:password@server\/share In the above, the<a class=\"sup-readmore\" href=\"http:\/\/mrnguyen.org\/?p=262\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-262","post","type-post","status-publish","format-standard","hentry","category-posts"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/mrnguyen.org\/index.php?rest_route=\/wp\/v2\/posts\/262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/mrnguyen.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mrnguyen.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mrnguyen.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/mrnguyen.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=262"}],"version-history":[{"count":1,"href":"http:\/\/mrnguyen.org\/index.php?rest_route=\/wp\/v2\/posts\/262\/revisions"}],"predecessor-version":[{"id":263,"href":"http:\/\/mrnguyen.org\/index.php?rest_route=\/wp\/v2\/posts\/262\/revisions\/263"}],"wp:attachment":[{"href":"http:\/\/mrnguyen.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mrnguyen.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=262"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mrnguyen.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}