LDAP Failing

avatar

Greetings, I've built a synchronizer which uses LDAP to pull from an AD in another forest.

Even though I've verified the credentials, when I test the connection the synchronizer throws a "connection failed" pop-up. The application log output is quoted below.

I can use LDP.EXE on the same workstation, and successfully bind to the directory using the same LDAP path and the same credentials.

What is likely to be going wrong?

Thank you --









All Comments (10)

avatar

Hello,

Instead of using Test Connection, can you save the session and run it?

Maurice

avatar

Thank you, Maurice. Running the synchronizer caused the import of every computer object in my workstation's domain (let's call it workstations.com).

Note that the synchronizer is configured to pull from an AD in another forest (let's call it forest.domain). My LDP.EXE test session also binds to forest.domain, and I've simply copy-pasted the LDAP path and credentials from the LDP.EXE session into the synchronizer.

Interesting, yes?

avatar

ok, thanks for the feedback.

We will have have a look at this.

Maurice

avatar

Hello, Maurice. My trial period has come to an end and still the problem remains. Do you have any suggestions for me?

avatar

We can extend the trial if you contact us at support@devolutions.net

We have implemented a few fixes in the AD synchronizer, but nothing yet as for domain trusts. Thats still high on our todo list.

Best regards,

Maurice

avatar

Hi Maurice,

I have looked at the AD/LDAP console here too.

Groups load fine, as do computers, but users just wont load.

I tested in LDP (using the user filter I found in your settings pane) and its fine.

Is there some other filter youre applying somewhere in code?

Cheers

Will

avatar

It seems to throw System.DirectoryServices.DirectoryServicesCOMExceptions

Firstly "An operations error occurred", then "There is no such object on the server".

Hope this helps?

avatar

Hello,

Would you happen to have a bit more of the call stack?

Thank you,

Maurice

avatar

[12/01/2015 15:47 - 10.0.4.0 - 32-bit] Error Silent: System.DirectoryServices.DirectoryServicesCOMException (0x80072020): An operations error occurred.

at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_NativeObject()
at Devolutions.RemoteDesktopManager.Managers.ActiveDirectoryManager.ValidConnection(String ldapDomain)
[12/01/2015 15:49 - 10.0.4.0 - 32-bit] Error Silent: System.DirectoryServices.DirectoryServicesCOMException (0x80072030): There is no such object on the server.

at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_NativeObject()
at Devolutions.RemoteDesktopManager.Managers.ActiveDirectoryManager.ValidConnection(String ldapDomain)


I dont seem to be getting that error now though so maybe that was a separate issue?

avatar

Hi,

I see that you use RDM 10.0.4.0. Can you try the lastest version?

Best regards,

Olivier Désalliers