Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7773555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:09:32+00:00 2026-06-01T17:09:32+00:00

I tried to return LDAP search that should return me all entries that do

  • 0

I tried to return LDAP search that should return me all entries that do have OU=groups on an active directory by I do not get the expected results (usually I get nothing).

Filter: (ou:dn:=groups)

I know that searching on DN is not possible by normal means, still what is the correct way of getting this information in a filer, one that would work with Active Directory.

Reference:

  • How can I make a LDAP query that returns only groups having OU=Groups from all levels?
  • http://confluence.atlassian.com/display/DEV/How+to+write+LDAP+search+filters
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:09:33+00:00Added an answer on June 1, 2026 at 5:09 pm

    I don’t think that you can do that in one search. You can first look for all organizational units of the name OU=groups, and then make a search for each OU.

    It exists ExtensibleMatch that allow what you want to do, but it’s not supported in Active-Directory.

    Here is the reference form Microsft supported Search Filter Syntax

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

tried to search for this, although I am not even sure what I am
How do I break out of a jQuery each loop? I have tried: return
I have a C# application that scans a directory and gathers some information. I
First, I have to enumerate all the AD groups of the current user. Getting
I have a route that I am calling through a RedirectToRoute like this: return
I'm trying to run an LDAP query which will return all users which belong
How can I do that? I tried return so.split(\\x00); or return so.split(String.valueOf(0x00)); nothing worked
I have a Controller Action that is trying to return plain text to an
XmlHttpRequest works through callbacks. So how can I return a value? I tried to
Tried a bunch of things but I can't get it to work consistently amid

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.