#34 NPE when logging though the LDAP