fixed undefined variable in LDAP plugin