Announcement

Collapse
No announcement yet.

Ldap query for enabled users with exchange account

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ldap query for enabled users with exchange account

    Greetings

    I would like to create and save a query that would show me enabled users with an email address. Does anyone know what that query would look like?

    Best -

  • #2
    Re: Ldap query for enabled users with exchange account

    like this:

    http://www.google.com.au/search?q=ld...ient=firefox-a
    Please do show your appreciation to those who assist you by leaving Rep Point https://www.petri.com/forums/core/im.../icon_beer.gif

    Comment


    • #3
      Re: Ldap query for enabled users with exchange account

      I found those links as well but they give me the querry to return all accounts with email addresses---I would like to filter the results to only return accounts that are not disabled.

      Comment


      • #4
        Re: Ldap query for enabled users with exchange account

        then add a further category to your filter.
        or, take the output that it gives you, and run it again only on those accounts, and filter for disabled.,
        Please do show your appreciation to those who assist you by leaving Rep Point https://www.petri.com/forums/core/im.../icon_beer.gif

        Comment


        • #5
          Re: Ldap query for enabled users with exchange account

          query for enabled users with exchange account:
          Code:
          (&(objectCategory=person)(objectClass=user)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(HomeMDB=*))
          query that would show enabled users with an email address:
          Code:
          (&(objectCategory=person)(objectClass=user)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(mail=*))

          /Rems

          This posting is provided "AS IS" with no warranties, and confers no rights.

          __________________

          ** Remember to give credit where credit's due **
          and leave Reputation Points for meaningful posts

          Comment

          Working...
          X