Hello !
I use the LDAP-test to query the AD, and perform a search op, but it fails
HM: 4.42 running on W2k SP4
Domaincontroller running Windows 2003 server
Base object: OU=Users,DC=global,DC=ad
Res Limit: 3
Search filter: (cn=3)
Result:
LdapErr: DSID-0C0905FF, comment: In order to perform this operation a succesful bind must be completed on the connection, data 0, vece
Any ideas ?
Regards
Sven
Error message querying the AD using LDAP-test
No, it uses default "local system" account. LDAP test works independently on account.Does HM use the account in Options, Startup, Service when it does the LDAP test ?? - I am running HM as a Service.
But.... can you try to start HostMonitor as application? If this help, we add code to impersonate user account.
Regards
Alex
Yes, it cannot use any other.As I understood your answer, when you run HM as an application it uses the account as I am logged on ?!?!
LDAP server may request password.The password in the LDAP test, what is that for ?
Quote from RFC
HostMonitor sends password when it makes Bind request. If Bind request fails, HM sets "Bad" or "Unknown" status ("Bad" status if server rejected request, "Unknown" status if no response from the server). HostMonitor sends Search request only if Bind requst completted successfully. That's why I am confused by error returned from the server: "In order to perform this operation a succesful bind must be completed..."LDAP implementations SHOULD support authentication with the "simple" password choice when the connection is protected against eavesdropping using TLS
Probably If HostMonitor pass in a blank password to the bind and the password for the user is not blank you will be given anonymous credentials instead of being returned an invalid credentials error message. But why server returns "a succesful bind must be completed..." error instead of some "not enough permissions.."...
Regards
Alex
If we assume that server returns wrong error description, there is good explanation why search request fails http://support.microsoft.com/default.as ... -us;326690
Regards
Alex
Regards
Alex
Sorry for delay. I tried to contact with nsoftware.com - developer of component that we are using in HostMonitor for LDAP test (we are using just several 3rd party classes). Unfortunatelly we did not receive any answer 
Looks like we need to redesign this module using our own code. I have added this task into "to do" list. Sorry, cannot give any good recommendation
Regards
Alex

Looks like we need to redesign this module using our own code. I have added this task into "to do" list. Sorry, cannot give any good recommendation

Regards
Alex