Re: Active Directory Advanced Search

Tech-Archive recommends: Fix windows errors by optimizing your registry



Which group?


"Curtis" <Curtis@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:070776F2-527F-43B2-BD45-F550A11D9A4F@xxxxxxxxxxxxxxxx
>I tried using the DN I found by using LDP.exe. This did not work either. I
> recieved this reply on another forum I had posted on prior to here perhaps
> this is my issue?
>
> "The reason for your problem is the context of the Member of LDAP field.
> It
> is baised on the CN=XXXXXX grouping and contains all the groups. So with
> the
> options presented "starts with ends with and exact" it is almost
> impossible
> to create a query for one group unless that group starts with the lowest
> number of all security groups. or comes last in alphabetical order of
> security groups as these will be listed first and last respectively and
> can
> be search with the term provided."
>
> "Al Mulnick" wrote:
>
>> If I remember correctly, the syntax for the search you are making would
>> require that you specify the DN vs. the CN of extranet.
>> Is Exactly requires an exact match and doesn't convert it to that short
>> name.
>>
>> The query should look more like "Show all users where memberof Is Exactly
>> cn=extranet,ou=corp,dc=domain,dc=com or something similar to that. You
>> can
>> find the exact DN utilizing LDP.exe or adsiedit.msc.
>>
>> Let us know if that doesn't work for you.
>>
>>
>> "Curtis" <Curtis@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:34AB20BB-9E84-4E6C-9A86-0FE38616A3E2@xxxxxxxxxxxxxxxx
>> > The query I am using is "Member Of" "Is Exactly" "Extranet" without the
>> > quotes. I was not sure if there is some other way I should be
>> > specifying
>> > the
>> > group name in this query? My assumption is that query should return all
>> > users
>> > who are members of the Extranet group.
>> >
>> > "Al Mulnick" wrote:
>> >
>> >> When you specify the memberof value for the isexactly query, what
>> >> exactly
>> >> are you putting in there? Can you post it or a reasonable similarity?
>> >>
>> >> "Curtis" <Curtis@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> >> news:CFB78531-D38D-4814-9D07-AC89ED848268@xxxxxxxxxxxxxxxx
>> >> >I am attempting to make a quesry using the active directory advanced
>> >> >search
>> >> > feature. I have a Universal Security group named Extranet and I want
>> >> > to
>> >> > be
>> >> > able to show users that belong to this group. I am currently trying
>> >> > to
>> >> > use
>> >> > the "Member Of" "Is Exactly" Field in the advanced search but no
>> >> > matter
>> >> > what
>> >> > I try I can not get it to work. If I simply put a wild card in the
>> >> > field
>> >> > it
>> >> > returns all users, however, as soon as I add any text to the query
>> >> > such
>> >> > as
>> >> > "Extranet" or "Domain Users" it returns no results. Does anyone have
>> >> > any
>> >> > ideas? Thanks in advance!
>> >>
>> >>
>> >>
>>
>>
>>


.



Relevant Pages

  • Re: Querying AD for Group information (type/scope)
    ... To Query for Distribution groups: ... To query for all users that have some group other than "Domain Users" ... users with primaryGroupID equal to 513 belong to the "Domain Users" group. ... The reason the member attribute of the "Domain users" and some other ...
    (microsoft.public.windows.server.active_directory)
  • RE: Hotel Booking Project Delemma
    ... you can add the DISTINCT clause in the query serving data to the report. ... > I am having a dilemma with a Hotel Booking Project which is ... > In the tblHotelBookings I have fields to capture Number of Nights, ... > If one member is booked, but has a second person ...
    (microsoft.public.access.tablesdbdesign)
  • Re: ADAM Subset
    ... Yep this would be a case for an attribute scoped query and as JoeK indicates would require a base level query, ... Joe Richards Microsoft MVP Windows Server Directory Services ... There is a trick called attribute scope query that ADAM supports that allows you to search within the values of a DN-syntax attribute (like member) to filter the results and return attributes on the objects therein. ...
    (microsoft.public.windows.server.active_directory)
  • Re: memberOf property usin CSVDE
    ... Personally I'm not a fan of using a not operator in a query if possible. ... In this case, if you only want users, you can use the objectClass to ... The other way would be to query each group and return the member attribute. ... Are you seeing the reference you want? ...
    (microsoft.public.windows.server.active_directory)
  • Re: 2nd layer of filtering?
    ... With DAO, I can rewrite a query using VBA and a querydef object. ... It basically says in psuedo SQL, Select the Member if the member has a ... >> FROM qMembershipSelect AS Y ...
    (microsoft.public.dotnet.framework.adonet)