• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: retrieving the DN from Open Directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: retrieving the DN from Open Directory


  • Subject: Re: retrieving the DN from Open Directory
  • From: Nigel Kersten <email@hidden>
  • Date: Thu, 17 Aug 2006 18:07:02 +1000


On 14/08/2006, at 6:00 AM, Joubert Berger wrote:

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?

I don't see that you can with the way DirectoryServices works.

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?


-- 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      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >retrieving the DN from Open Directory (From: "Joubert Berger" <email@hidden>)

  • Prev by Date: Re: PlayListBroadcaster for Window did not create sdp file with special name
  • Next by Date: Re: Xcode 2.3 source gone
  • Previous by thread: Re: retrieving the DN from Open Directory
  • Next by thread: Re: retrieving the DN from Open Directory
  • Index(es):
    • Date
    • Thread