#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2009
    Posts
    1
    Rep Power
    0

    LDAP filter problem


    Hi!
    I'm having a filter problem. I hope someone can help me.

    Let's say my LDAP structure looks something like this:
    ou=Subject,ou=Course, ou=1234
    ..where Subject is of aux type x-subject, course is of aux type x-course and the last part is of type x-school.

    I am wondering if it is possible to write a filter that finds all subjects that contains a school name 1234?

    So from the following list i only want to filter out the first subject
    ou=Math,ou=1, ou=1234
    ou=Math,ou=2, ou=3333
    ou=Math,ou=3, ou=3333

    Thanks in advance,

    Henrik
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2008
    Posts
    85
    Rep Power
    7
    hi,
    I assume usage -W flag so as to filtering query...?
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2009
    Location
    Charlotte, NC
    Posts
    111
    Rep Power
    9
    Filtering on the OU is the simplest LDAP query filter
    Code:
    filter="(ou=1234)"

IMN logo majestic logo threadwatch logo seochat tools logo