|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Adsi
Is anyone familar with these commands?
EXEC sp_addlinkedserver 'ADSI', 'Active Directory Services' , 'ADSDSOObject', 'adsdatasource' GO select * from openquery (ADSI, 'Select name, adsPath FROM '' LDAP://DC=HQMAIL1, DC=com'' WHERE objectCategory = ''Person'' AND objectClass= ''user''') Server: Msg 7321, Level 16, State 2, Line 1 An error occurred while preparing a query for execution against OLE DB provider 'ADSDSOObject'. Do you know why I am receiving this error message? |
|
#2
|
||||
|
||||
|
It is most likely your LDAP query syntax. Without any knowledge of the Active Directory you are trying to talk to, I can't tell you for sure what the problem is, but you can read this Article for more information.
|
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > Adsi |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|