Re: retrieving the DN from Open Directory
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: Aca/K7QDELRuOGtgTPOCwxSmDOiiNAAoPEswAACVRiM= Thread-topic: retrieving the DN from Open Directory User-agent: Microsoft-Entourage/11.2.5.060620 On 14/8/06 7:11, David Litwin <david_litwin@bigfix.com> wrote:
(Sorry, Ctrl-<some key near V> decided to send my incomplete message instead of paste the info I wanted)
Try this:
dscl localhost -read /Search/Computers/`hostname -s` distinguishedName
Didn't Joubert already try that? That ought to fail, because "distinguishedName" is only present in the LDAP/X.500 schema as an attribute supertype. DNs of entries in LDAP/X.500 are *not* held in attributes of the entries. Cheers, Chris _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Chris Ridd