ldap dispatch todo better debug logging