L
Louis
We have a .Net windows service which invokes impersonated threads to connect
to a remote machine. After connecting to remote machine the impersonated
thread tries to invoke a remote process(a .msi) which internally connects to
active directory using ADSGetObject().
But this method call fails in remote machines when we run the .msi remotly
through Impersonated thread and passes(able to connect AD) when we run the
..msi locally.
The return error code of ADSGetObject() call is hr = 0x80072020; last error
= 317.
"Error - unable to bind object for this path; hr = 0x80072020; last error =
317; reason: Extended ADSI Error: LDAP Provider : 00000000: LdapErr:
DSID-0C090627, comment: In order to perform this operation a successful bind
must be completed on the connection."
to a remote machine. After connecting to remote machine the impersonated
thread tries to invoke a remote process(a .msi) which internally connects to
active directory using ADSGetObject().
But this method call fails in remote machines when we run the .msi remotly
through Impersonated thread and passes(able to connect AD) when we run the
..msi locally.
The return error code of ADSGetObject() call is hr = 0x80072020; last error
= 317.
"Error - unable to bind object for this path; hr = 0x80072020; last error =
317; reason: Extended ADSI Error: LDAP Provider : 00000000: LdapErr:
DSID-0C090627, comment: In order to perform this operation a successful bind
must be completed on the connection."