TobiasTheViking
Resident Viking Autist
- Joined
- Jun 25, 2005
- Messages
- 6,925
Help me with Active Directory[LDAP] please. :)
I am trying to connect to an AD and get an email address for a given username.
I am doing this on a windows computer where i have tested that it works(through its own "Address Book" search).
I am trying to do the same(for starters) with ldapsearch.exe from openldap.com which i have installed.
I tell it to search on Active Directory, and it works as expected.
When i try to do the same with ldapsearch i get nothing usable.
From the properties of the Active Directory directory service i entered the following into my ldap.conf
Now i have tried, with ldapsearch, to use a lot of different bases.. But none of them giev me any relevant information. So i am trying to figure out how to find the proper base.
Can anyone help me, or give me a hint?
I am trying to connect to an AD and get an email address for a given username.
I am doing this on a windows computer where i have tested that it works(through its own "Address Book" search).
I am trying to do the same(for starters) with ldapsearch.exe from openldap.com which i have installed.
I tell it to search on Active Directory, and it works as expected.
When i try to do the same with ldapsearch i get nothing usable.
From the properties of the Active Directory directory service i entered the following into my ldap.conf
Yes, the base in the search is "NULL", which i find odd. A tooltip says "If the search base information is required, it will be supplied by the directory service".URI ldap://172.16.1.15:3268
BASE NULL
Now i have tried, with ldapsearch, to use a lot of different bases.. But none of them giev me any relevant information. So i am trying to figure out how to find the proper base.
Can anyone help me, or give me a hint?
Last edited: