you can do a
sho script ap-kal-ldap
This would be a good start to see how we did our own ldap script.
Basically, if you want to change it, you habe to either know the RFC and simply create your own request from scratch in hex.
Or you can have a PC generate the request you need, and capture it with a sniffer trace.
Then extract the bytes that you need.
Gilles.