Open connection before do_try_search()
Open connection before do_try_search()

This is in preparation for splitting the BIND from the search phase for
authentication.

arthurdejong/nss-pam-ldapd,arthurdejong/nss-pam-ldapd,arthurdejong/nss-pam-ldapd