attribute checking with AD