Results 1 to 5 of 5

Thread: LDAP search filters using OU not supported?

  1. #1
    Join Date
    Oct 2005
    Posts
    78

    LDAP search filters using OU not supported?

    Search filter is not working in Active Directory. I tried to find information on the same on Google, but there is nothing I can found. It looks like Active Directory does not really support this filters which uses OUs. Is there anyone who can help me to find a proper information on the same I need some basic help in dealing with the problem. It is better if there is far more better option available compared to this one. Thanks.

  2. #2
    Join Date
    Sep 2004
    Posts
    129
    In the search filter clause that you are trying to use have to provide the value of attribute. The problem that you are facing is related to some missing object. So try to assign the OU attribute first and then try back some other thing.

    How To Use ADO to Access Objects Through an ADSI LDAP Provider

  3. #3
    Join Date
    Sep 2004
    Posts
    129
    I think you must visit technet for more details. It will guide you better to work on the same. There are various thing that you can go for. I can offer you some class. I can offer you a link below that will provide you a bit detailed information on what you are looking for. It is necessary that you must choose the right syntax to work with the same.

    Search Filter Syntax

  4. #4
    Join Date
    Apr 2009
    Posts
    1

    Re: LDAP search filters using OU not supported?

    Old post and not quite what the OP was asking but for anyone else that stumbles across this and is trying to do the same thing.

    I'd suggest executing the query using an account that is denied read on the OU(s) that you want to exclude.

  5. #5
    Join Date
    Feb 2010
    Posts
    1

    Re: LDAP search filters using OU not supported?

    I found this thread on Google, has anyone found a way?

    I'm trying to search using,

    filter: &(cn=me)(memberOf=CN=dept,OU=dept,OU=group,DC=company,DC=local)

    basedn: OU=group,DC=company,DC=local

    But it doesn't return a result. Will appreciate if anyone has a clue. Thanks.

Similar Threads

  1. LDAP Search Filter
    By mastj25 in forum Active Directory
    Replies: 1
    Last Post: 01-05-2011, 02:57 AM
  2. How to add search filters in windows 7
    By Elizabeth%allen in forum Operating Systems
    Replies: 3
    Last Post: 17-01-2011, 12:57 PM
  3. Replies: 1
    Last Post: 24-03-2010, 10:12 PM
  4. LDAP Search Query Syntax
    By etienne in forum Active Directory
    Replies: 1
    Last Post: 06-08-2008, 07:47 PM
  5. LDAP Search Query Error
    By bjude in forum Active Directory
    Replies: 3
    Last Post: 17-03-2006, 10:35 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,710,832,120.01131 seconds with 16 queries