Re: Gah! Any real world Open Directory examples?
Re: Gah! Any real world Open Directory examples?
- Subject: Re: Gah! Any real world Open Directory examples?
- From: "James Peach" <email@hidden>
- Date: Fri, 23 Mar 2007 08:29:00 -0700
On 23/03/07, David Nedrow <email@hidden> wrote:
I have a relatively simple need for Open Directory
(DirectoryService). I just need to get the current user's shell via
NetInfo. The Apple API references are less than optimal, and the
examples incomplete.
Does anyone out there have a working ds* method for getting a record
via NetInfo? I don't have any problem getting connected, etc., just
the actual query is baffling me.
Take a look at the samba code:
http://www.opensource.apple.com/darwinsource/10.4.8.ppc/samba-100.4/
there's code in there that pulls a user record (I think this includes the shell)
--
James Peach | email@hidden
_______________________________________________
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