Regarding Queries for Ldap authentication