Re: Gah! Any real world Open Directory examples?
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=go6qlVSjfJr5+pkDRCLf4JyGMtAsMICFylmKJn8cIVNM0nuc5ZgvkTKOcPP1PXxkfSAUynUfHTrbRMwbvYYhei5kxnHanVV/jAnS28WtTaWN3QNa7FSxm5OIHavg7/eoZJIj6FpIytvKfM2UGGN1SGC7fG1I2B6CprWRwKMuE58= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tORaBskcBqDh02PMZw601JUcu8aOk/scpAfvyssaRfoPXr5GcoTQzsDFaUVz7km9koDJcp7kt9uHMXbzo0certQW9Xlues2UP9CdTWZm2c7jAiwwfaWS16M5/TRSMmnDuvEu96Q0YIGu4/7SKu04UBIwAFgxxs1tEGXHvao3iNM= 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 | jorgar@gmail.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On 23/03/07, David Nedrow <dnedrow@mac.com> wrote: This email sent to site_archiver@lists.apple.com
participants (1)
-
James Peach