mounting AppleShare volumes
mounting AppleShare volumes
- Subject: mounting AppleShare volumes
- From: "David A. Feldman" <email@hidden>
- Date: Thu, 12 Sep 2002 15:02:29 -0400
I'm writing a Cocoa file sync app that needs to mount remote volumes on
AppleShare servers and store the passwords in the Keychain. As far as
I've been able to tell from the docs, the way to do this is call
AFPCreateSharedVolumesEnumerator() to get a shared volumes enumerator,
followed by AFPMountSharedVolumeOnMP() (since I need the path to the
mount point).
However, unless the volume is already mounted I get an EXC_BAD_ACCESS
message during execution of AFPCreateSharedVolumesEnumerator() and the
program crashes. Can someone help on this? Thanks.
Related question: Is there any way to store AppleShare passwords in the
Keychain (using the proper format for the password data to be
compatible with the AFP client library, i.e. an AFPXVolMountInfo)
without the server itself being available at the time?
Thanks again,
--Dave
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.