Is there a LDAP command to list all departments and their dependency to a division or a zone?

Document ID : KB000016106
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

What is the LDAP command to list all departments and their dependency to a division or a zone?

Answer:

./ldapsearch -x -D cn=xxx -w yyy -h zzz -p port_number -s one \
-b "tssadmingrp=departments,host=hostname,o=ca,c=us" \
> output.out
 
Replace xxx , yyy , zzz , hostname and port_number  with your own values
 

Additional Information:

There are more useful ldapsearch examples at the following link:
 
https://docops.ca.com/ca-system-z-security-communication-servers-dsi-ldap-pam/15-1/en/configuring/configuring-ca-ldap-server/configure-the-catss_utf-backend/sample-search-commands-ca-top-secret