Ticket 332 - Command line perl scripts should attempt most secure connection type first
Bug Description: If you set the server to only allow secure binds, all the instance
scripts will fail to run.
Fix Description: The scripts will now check for the most secure protocol available
to connect to the server. The scripts now work with both mozldap
and openLDAP clients. Improved config parsing and protocol
checking/failover.
Improved the exit status of the scripts, made all the "usage" output
consistent, and other minor improvements.
Also did major cleanup of the indentation in all of the scripts.
https://fedorahosted.org/389/ticket/332
Reviewed by: richm(Thanks Rich!)