• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
mounting AppleShare volumes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: CFSocket questions
  • Next by Date: Secure Transport
  • Previous by thread: ARPDeleteEntry
  • Next by thread: Secure Transport
  • Index(es):
    • Date
    • Thread