Re: NetInfo -> Directory Services
Re: NetInfo -> Directory Services
- Subject: Re: NetInfo -> Directory Services
- From: j o a r <email@hidden>
- Date: Wed, 30 Mar 2005 07:59:12 +0200
Isn't this something that could be done via the "System Configuration
Framework"?
<http://developer.apple.com/documentation/Networking/Conceptual/
SystemConfigFrameworks/index.html>
I think that SC has it's roots in Darwin, but I'm not sure if the
higher level CF based APIs are available there. Is it a requirement?
j o a r
On 2005-03-30, at 03.10, Ryan McGann wrote:
I'm trying to convert my use of NetInfo APIs to Directory Services
APIs, and I'm having problems. I want to access the DHCP information
added by Internet Sharing, which is stored in NetINnfo at
/config/dhcp/subnets. However, dscl consistently complains that
/config/dhcp/subnets is an invalid path. To duplicate:
1. Turn on Internet Sharing in Mac OS X (System Preferences ->
Sharing -> Internet)
2. From Terminal, query Directory Services:
dscl localhost -list /NetInfo/config/dhcp/subnets
In the NetInfo Admin Utility you can see that this path exists and has
children, so why can't Directory Services see them?
What else do I need to do? In Tiger the NetInfo APIs are private, so
I'd rather not rely on them, but I will if I have to...
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden