Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


(&(objectCategory=Person)(sAMAccountName=${uid})) - The Default ActiveDirectory filter uses the windows Windows login as the username and requires the user to have an object category of person.

(&(objectCategory=Person)(|(mail=${uid})(sAMAccountName=${uid}))) - An example where the default has been modified to accept either the email address or the Windows username as the username along with the object category of perosn.

(&(objectCategory=Person)(mail=${uid})(memberOf=cn=students,dc=domain,dc=com)) - An example ActiveDirectory filter still requiring the user to have an object category of person but this time using the primary email address as the username and additionally limited to users in the students security group.