We are using AD_BNS as linked server with credentials of one of our developers.
Stored procedure throws an error:
An error occurred while preparing the query "LDAP://bns.bns;(sAMAccountName=everyone);distinguishedName;subtree" for execution against OLE DB provider "ADSDSOObject" for linked server "AD_BNS".