Apr 09, 2008 11:22 AM|lantonio1974|LINK
I am trying to run aquery on a local server I recently got for development. I am trying the next query but keep getting the err that could no find server ADSI in sys. servers.
'SELECT Name, SN, ST, mobile, ipphone, mail, displayName, telephoneNumber, initials, title, department, homePhone, manager, sAMAccountName, MSnpAllowDialIn, employeeId
FROM ''LDAP://DC=namelocal, DC=local''
WHERE objectCategory = ''Person'' AND objectClass = ''
I try to added as a liked server but it didn't work. I try this same query on another computer with current domain name and is working. Any idea what I am doing wrong?