Add fail1() macro to do "perror(); return 1;" in lots of places.
Fix accept_cb to not leak file handles on malloc failures.
Rename ldap_bind()'s "response" back to "res".

The name "res" for the response message is a convention used
throughout the code.