Google Apps Directory Sync Administration Guide User Manual

Page 43

background image

LDAP Queries

43

All user objects except for ones with primary email addresses that contain the
word “test”

(&(&(objectclass=user)(objectcategory=person))(!(mail=*test*)))

All user objects (users and aliases) that are designated as a “person” and all
group objects (distribution lists)

(|(&(objectclass=user)(objectcategory=person))(objectcategory=grou
p))

All user objects that are designated as a “person”, all group objects and all
contacts, except those with any value defined for extensionAttribute9:

(&(|(|(&(objectclass=user)(objectcategory=person))(objectcategory=
group))(objectclass=contact))(!(extensionAttribute9=*)))

All users who are members of the group identified by the DN of
CN=GRoup,OU=Users,DC=Domain,DC=com”:

(&(objectcategory=user)(memberof=CN=Group,OU=Users,DC=Domain,DC=co
m))

Active Directory LDAP: All users

(objectClass=person)

Active Directory LDAP: All email users (alternate)

(&(objectclass=user)(objectcategory=person))

OpenLDAP: All users

(objectClass=inetOrgPerson)

Lotus Domino LDAP: All users

(objectClass=dominoPerson)

Lotus Domino LDAP: All objects with a mail address defined that are designated
as a “person “or “group”:

(&(|(objectclass=dominoPerson)(objectclass=dominoGroup)(objectclas
s=dominoServerMailInDatabase))(mail=*))