Re: LDAP Query Builder
- From: "Al Mulnick" <amulnick_No_SPAM@xxxxxxxxxxx>
- Date: Mon, 15 Aug 2005 17:42:49 -0400
That's true; I should have been more complete about the answer. Thanks Ulf.
"Ulf B. Simon-Weidner [MVP]" <nospam2-ulf@xxxxxxxxxxxxxxxxxx> wrote in
message news:uVeAY%23doFHA.3912@xxxxxxxxxxxxxxxxxxxxxxx
> "Al Mulnick" <amulnick_No_SPAM@xxxxxxxxxxx> wrote in message
> news:O6GHHhboFHA.764@xxxxxxxxxxxxxxxxxxxxxxx
>> You can. You can increase logging on the DC that is being used to the
>> point that it tells you what query it is using. You could also just read
>> up on the LDAP syntax to figure out what you want to exactly. As for
>> testing, a far better LDAP query tool would be LDP or Softerra's ldap
>> browser.
>>
>> That will show you the results of queries as you type them.
>>
>> Typical query example would be looking for users with a first initial of
>> 'a'
>> (&(objectCategory=Person)(givenName=a*))
>>
>> You'll want to be familiar with the and'ing and or'ing of queries and
>> what the effect on your application can be. You'll also want to avoid
>> some queries while confining the queries to use indexed attributes
>> wherever possible. You can find a lot more information about ldap query
>> optimization on MSDN.
>>
>> Does that help?
>>
>
>
> Hi Al,
>
> as you know the query (&(objectCategory=Person)(givenName=a*)) would
> return not only users but also contacts. The query for users should be
>
> (&(objectCategory=Person)(objectClass=User)(givenName=a*))
>
> --
> Gruesse - Sincerely,
>
> Ulf B. Simon-Weidner
>
> MVP-Book "Windows XP - Die Expertentipps": http://tinyurl.com/44zcz
> Weblog: http://msmvps.org/UlfBSimonWeidner
> Website: http://www.windowsserverfaq.org
.
- Follow-Ups:
- Re: LDAP Query Builder
- From: Ulf B. Simon-Weidner [MVP]
- Re: LDAP Query Builder
- References:
- LDAP Query Builder
- From: A.M
- Re: LDAP Query Builder
- From: Al Mulnick
- Re: LDAP Query Builder
- From: Ulf B. Simon-Weidner [MVP]
- LDAP Query Builder
- Prev by Date: Re: LDAP Query Builder
- Next by Date: Re: LDAP Query Builder
- Previous by thread: Re: LDAP Query Builder
- Next by thread: Re: LDAP Query Builder
- Index(es):
Relevant Pages
|
Loading