Mounting afp using "Guest"

Hello,

How can I modify this:

mount volume “afp://server/volume1” as user name “user” with password “password”

to mount the volume using GUEST priviledges and also mount a certain volume/folder using guest?

Thanks
Dave

Hi videopuppy

the info in this thread may help:

http://users.phg-online.de/tk/automount%20afp-servers.html

Browser: Firefox 2.0.0.3
Operating System: Mac OS X (10.4)

Hi

I came up with this which works here, just add your ip and the volume you want to mount
an folder etc etc.

mount volume "afp://;AUTH=No User Authent@00.00.00.00/VOLUME NAME"

Budgie, very nice. Thank you!

Can it be done with SMB too?

wow, this is an old post

try something like this

tell application "Finder"
	update desktop
	if not (exists disk "test") then mount volume "smb://00.00.00.00/test"
	if exists then
		display dialog "test is now mounted"
	end if
end tell

This certainly is, but I always dig the archives looking for just that snippet to start with.
Thanks anyway for your reply.
In the meantime I found the (quite simple) solution

tell application "Finder"
	--try
	mount volume "smb://guest:@192.168.1.100/servervolume"
	--end try
end tell

This works without any login screen on a smb volume with guest access. You can add the try to keep it completely silent. In case of normal access you can use

tell application "Finder"
	--try
	mount volume "smb://username:password@192.168.1.100/servervolume"
	--end try
end tell