none
Is it possible to search for a LDAP Address Book which accepts SearchBase as input param RRS feed

  • Question

  • Hi:

    I have written a LDAP AB search functionality which takes display name as input param. I was wondering if it's possible to have same functionality which accepts searchbase only as input param ?

    Current implementation uses the PR_DISPLAY_NAME as restriction property to query the table to get entry for the exchange msg service (HrQueryAllRows).

    Based on my search i could not find where i can use the SearchBase=PT_STRING8, 0x6603 as restriction prop.

    Any help on the same would be highly appreciated!

    

    


    kanagar

    Wednesday, February 15, 2012 9:17 AM

Answers

  • I don't think LDAP search base can be specified in a restriction.

    On the provider level, search base is stored in the profile data - you can acces it either through the LDAP account (use IOlkAccountMgr interface - you can play with in OutlookSpy) or <plug>use Redemption</plug> - it exposes the search base through the RDOLDAPAccount.SearchBase property:

    http://www.dimastr.com/redemption/RDOAccount.htm#RDOLDAPAccount

    I don't know if the LDAP provider wil see the change without a restart.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.2 is now available!

    Wednesday, February 15, 2012 9:21 PM

All replies

  • I don't think LDAP search base can be specified in a restriction.

    On the provider level, search base is stored in the profile data - you can acces it either through the LDAP account (use IOlkAccountMgr interface - you can play with in OutlookSpy) or <plug>use Redemption</plug> - it exposes the search base through the RDOLDAPAccount.SearchBase property:

    http://www.dimastr.com/redemption/RDOAccount.htm#RDOLDAPAccount

    I don't know if the LDAP provider wil see the change without a restart.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.2 is now available!

    Wednesday, February 15, 2012 9:21 PM
  • Hi Dmitry:

    You mean we cann't provide search functionality for LDAP Address Book based on search base only?

    -Priya 


    kanagar

    Thursday, February 16, 2012 10:01 AM
  • i don't know. Try to replace the search base before the search and see if the LDAP provider sees the change.

    If it is ccahed, you are out of luck.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.2 is now available!

    Thursday, February 16, 2012 1:42 PM