added ldap query fig for app process