Valid on UNIX
Use this command to perform LDAP queries on Active Directory from a UNAB endpoint that does not have LDAP installed. Use this command instead of the ldapsearch utility. You can use this command to troubleshoot UNAB installation, For example, you can query Active Directory for the container to use.
Important! Verify that you have a Ticket Granting Ticket (TGT) before you use this command. You can obtain a TGT using the command: uxconsole -krb.
Note: The LDAP filter must comply with "RFC 2254".
This command has the following format:
uxconsole -ldap -search [-d DC] [-p port] [-b base] [-s scope] [filter [attributes]]
Specifies the search option
Specifies the Domain Controller to query
Specifies the LDAP port to use
Specifies the search base
Specifies the search scope
Default: sub
Specifies the filter and attributes to use
Note: If you do not specify a filter, the '(objectClass=*) is used. If you do not specify any attributes, the select all option ('*') is used.
Example: Display a DSE
The following examples shows how you display a DSE:
./uxconsole -ldap -search '(&(objectClass=user) (objectCategory=user) )'
Copyright © 2013 CA Technologies.
All rights reserved.
|
|