Ldap Provider

Unanswered Question
Jan 22nd, 2009

Dear all,

I want to search the ldap directory with the user id,

I am using the LdapProvider class and its sendrequest method.

but iam confused in its parameters(filter and match rules)

how to give the function those parameters 4 example i want to search for a directory number "2005" how to format it.

Your fast response is really appreciated.


Marwa Ads

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
ivillegas Wed, 01/28/2009 - 06:33

Search filters are composed of attribute match requirements. For example, to construct a search filter to return all the entries in a directory that contain an attribute called uid with one value equal to testuser, the filter would be:

(uid = testuser)


This Discussion