Move stuff from placard.
Fix missing depends on python-ldap.
Simplify dn= query logic.

Found out about entryDN: in ldap search filters. Much simpler.
Fix LDAP not binding if bind fails.

If LDAP server down, bind would fail. Then when connection came back up
again, we would use the existing connection without retrying the bind.