site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 14/08/2006, at 6:00 AM, Joubert Berger wrote: I don't see that you can with the way DirectoryServices works. -- Nigel Kersten [Senior Technical Officer] College of Fine Arts, University of NSW, Australia. CRICOS Provider Code: 00098G _______________________________________________ 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... In openldap, we do something like this (doing this from memory, not sure I got it 100% correct): searchldap -LLL "uniqueID=1006" where uniqueID is the uid of the user logged in. We then parse out the dn. How can I accomplish the same using the Open Directory API? Why not use the openldap tools/api? Are you wanting to deal with more cases than just a pure Open Directory setup? You could always interrogate the /Config branch to work out the search base and where users are kept? This email sent to site_archiver@lists.apple.com