• 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
Re: accessing netinfo db from cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accessing netinfo db from cocoa?


  • Subject: Re: accessing netinfo db from cocoa?
  • From: Andrew Merenbach <email@hidden>
  • Date: Sun, 31 Aug 2008 07:12:16 -0700

On Aug 31, 2008, at 1:57 AM, Kieren Eaton wrote:

Hi,

I am trying to find a way to access the netinfo DB from cocoa. Specifically the sharing (AFP, SMB, etc).
know that server has the command line util 'sharing' for just this purpose.
unfortunately this command is not available in the Client version of os x :(


the reason i need this is because my app has a client side (on one mac) which passes a reference (the name) of a shared resource back to the server side (on another mac) where the shared resource is based/shared from.
The server then sends update messages to the client that something has changed on the resource.


so the server side needs to find out what (if any) shared resources are available and their alias's and full paths.

Pointers or ideas are much appreciated.

Kieren


Hi! I unfortunately believe that what you are doing will be impossible, at least if you're using Leopard. To my knowledge, the NetInfo database system has been completely deprecated and removed from Mac OS X as of Leopard, in favor of other services. I'm not sure what the alternative solution for your case would be, however. :(


Best,
	Andrew

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >accessing netinfo db from cocoa? (From: Kieren Eaton <email@hidden>)

  • Prev by Date: activateIgnoringOtherApps
  • Next by Date: Re: accessing netinfo db from cocoa?
  • Previous by thread: accessing netinfo db from cocoa?
  • Next by thread: Re: accessing netinfo db from cocoa?
  • Index(es):
    • Date
    • Thread