Re: retrieving the DN from Open Directory
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