Take the 2-minute tour ×

How do I mount a SMB share using the guest user?

I know how to do it with an AFP share: mount volume "afp://;AUTH=NO%20USER%20AUTHENT@NAS_AB01(AFP)._afpovertcp._tcp.local/Images"

How do you do it with an SMB share?

share|improve this question
What version of OS X? –  slhck Dec 14 '12 at 6:22
man mount_smbfs on OS X 10.8 has the following example: mount -t smbfs //guest:@myserver/PUBLIC /smb/public. Does this work? You could run this from AppleScript using do shell script –  Daniel Beck Apr 29 '13 at 7:22
mount volume "smb://server/share" uses the cached user credentials, if they exist, otherwise opens the credentials dialog. mount volume "smb://guest:@server/share" always opens the credentials dialog. –  Daniel Beck Apr 29 '13 at 7:34

Your Answer



Browse other questions tagged or ask your own question.