CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 1999
    Posts
    32

    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.


  2. #2
    Join Date
    Dec 1999
    Posts
    8

    Re: Searching email ID using LDAP APIs

    Try setting your attr[0] string to "mail", this worked for me.

    :-)

  3. #3
    Join Date
    Aug 2000
    Posts
    154

    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
  •  





Click Here to Expand Forum to Full Width

Featured