trouble checking item value from ldap