First, you can use the
* object to search for any other object in Active Directory. Second, this object relies on the LDAP
to locate items in Active Directory, rather than using the more direct approach the other objects
provide. Some of the arguments are still the same as for other objects. For example, you can still
choose a starting point for a search. This object uses the following syntax:
dsquery * [{ObjectDN | forestroot | domainroot}]
[-scope {subtree | onelevel | base}] [-filter LDAPFilter]
[-attr {AttributeList | *}] [-attrsonly] [-l]
[{-s Server | -d Domain}] [-u UserName] [-p {Password | *}] [-q]
[-r] [-gc] [-limit NumberOfObjects] [{-uc | -uco | -uci}]
The following list describes each of the command line arguments.
-filter LDAPFilter Defines a search filter that relies on LDAP. The utility searches for the
specified object using the LDAP filter in place of directly accessible values, such as an object name.
The default filter of (objectClass=*) returns all Active Directory objects. An LDAP filter consists
of object name and value pairs. For example, a filter value of (&(objectCategory=Person)
(sn=smith*)) locates a person with any form of the name of smith.
Pages:
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145