Results 1 to 4 of 4

Thread: LDAP query can it be done ?

  1. #1
    Join Date
    Nov 2008
    Posts
    2

    LDAP query can it be done ?

    I'm attempting to sync my application against AD's LDAP. what I'm trying to due is fully enumerate a list of users that belong to any group that has a particular value set as an extended attribute.

    Example :
    search DN: ou=groups,ou=@company,dc=corp,dc=trx,dc=com
    filter: extensionattribute1=livelinkuser

    This returns all the groups which is great but what I'm needing is to fully enumerate all the groups with the users inside I've tried the member and memberof with the memberof:1.2.840.113556.1.4.1941 but as yet have had no luck.
    Can what I'm discribing be done ?

  2. #2
    Join Date
    Oct 2004
    Posts
    76

    Re: LDAP query can it be done ?

    From groups prespective the members attribute sounds the one that you're
    looking for. You can try some links below that have information on using it very well. You can refer the same to collect more information on your process.

    LDAP Directory Integration

  3. #3
    Join Date
    Nov 2008
    Posts
    2

    Re: LDAP query can it be done ?

    I would agree member or memberof would seem to be the right path but I can't seem to get them to work in the filter statment. Do you have any suggestions as nothing I've tried works.
    search DN ou=groups,ou=@tronox,dc=corp,dc=trx, dc=com
    filter memberof:1.2.840.113556.1.4.1941:(extensionattribute1=livelinkuser)

  4. #4
    Join Date
    Oct 2005
    Posts
    52
    Try the link below. The link gives information on search filter syntax that will help you to perform a more better query. It will be more helpful in many ways.

    Search Filter Syntax

Similar Threads

  1. LDAP query to speficied LDAP server on TCP port 389 failed
    By Shash in forum Windows Server Help
    Replies: 2
    Last Post: 02-05-2012, 05:01 PM
  2. LDAP query to two different domains
    By manjusha in forum Technology & Internet
    Replies: 1
    Last Post: 01-12-2010, 04:58 PM
  3. LDAP Query AD
    By shivinder in forum Active Directory
    Replies: 4
    Last Post: 03-06-2010, 11:23 AM
  4. ldap query with guid
    By kyosang in forum Active Directory
    Replies: 2
    Last Post: 17-06-2009, 07:34 PM
  5. LDAP query
    By Palaksi in forum Active Directory
    Replies: 3
    Last Post: 11-12-2008, 02:09 AM

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,714,197,586.97734 seconds with 17 queries