-
April 28th, 2000, 11:01 AM
#1
Searching email ID using LDAP APIs
Hi,
I am using LDAP APIs to search a user's email id.
I open the connection using ldap_open().
Then, use ldap_search_s() to get the result.
But, when I use ldap_first_entry() I get NULL as the return value.
Does anybody know how to get email IDs given the name of a person, using LDAP APIs?
Urgent help will be extremely appreciated.
-
March 19th, 2001, 06:41 PM
#2
Re: Searching email ID using LDAP APIs
Try setting your attr[0] string to "mail", this worked for me.
:-)
-
November 6th, 2001, 06:47 PM
#3
Re: Searching email ID using LDAP APIs
Hi,
I was wondering if you can assist me in using LDAP? I want to use it for searching a user's email info but I don't know how to use it. Would it be possible if you can give me a crash course on how to use it and what I need to do to set everything up? Any help is much appreciated! Thank you!
Marci Sarwa (marci_sarwan@yahoo.com)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|