Hi All
I need to mount a volume from my custom browser. I have used FSMountServerVolumeSync to mount the volume and it works fine for success cases. But I need to show the error message if it fails. Looks like FSMountServerVolumeSync won't return proper error codes. ex: if I try to mount a afp volume (by giving valid input of a smb server), then authentication failed error code is returned instead of ioErr.
Also some times the volume get mounted if no/invalid user name or password is provided. This is the case when Read/Write is given for shared folder(everyone).
So with SMB an invalid account name means log me in as guest, if guest is turned on. Are you seeing this with a Snow Leopard Client?
I have tried mount_smbfs terminal command that gives proper errors for invalid inputs. But this command won't return proper error codes instead it displays error messages. Please let me know if there is a way to get the error codes out of these error messages. As I need to show the localized error messages.
OS puts up proper error message, any idea how this is done. Is there any Cocoa APIs to mount a remote volume. or at least check if the remote volume is reachable.
Thanks in Advance
Steve
--------------------------------------------------------------
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden