[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldapsearch command help





I would like to get some help with ldapsearch command.  I am trying to query
an AD list, but what I would like to get is the list of user info from a
specific OU from one of the child domain.  Here is the syntax I am using to
get the results.  If someone can help me out here as to what syntax I need
to use to pull info from a specific OU, I would really appreciate it.








Root # ldapsearch -x -LLL -D "admin@xxx.xxx.xxx" -h <ip address>
'dc=XXX,dc=XXX' -W '(&(objectClass=user))' sAMAccountName