What is the LDAP command to list all departments and their inclusion in a division or a zone?
./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
There are more useful ldapsearch examples at the following link:
Sample Search Commands (CA Top Secret)