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
On Sun, Aug 31, 2008 at 8:57 PM, Kieren Eaton [EMAIL PROTECTED] wrote:
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
If you want to do it fast, without shell output parsing, and in a way
that will work on 10.4 *and* 10.5, use the Directory Services C API.
The downside is that it's more complex than many of the Cocoa APIs
you're likely used to.
Docs:
If you want to do it fast, without shell output parsing, and in a way
that will work on 10.4 *and* 10.5, use the Directory Services C API.
The downside is that it's more complex than many of the Cocoa APIs
you're likely used to.
Docs: