Server: AD Server Distinguished Name: OU=Class,OU=Groups,OU=Colleague,OU=AD,DC=pratt,DC=edu
ldapsearch -E pr=1000/noprompt -x -h adhost.domain.com -p 389 -D cn=administrator,cn=users,dc=domain,dc=com -w password -s sub -b "OU=Users,DC=domain,DC=com" "(objectClass=user)" dn
By default, ordinary LDAP searches are received through port 389. If you bind to port 389, even if you bind to a Global Catalog server, your search includes a single domain directory partition. If you bind to port 3268, your search includes all directory partitions in the forest.