* Minor tweaks to ldap.c -- logging, remove commented-out code etc.