+3
Not a bug

Incorrect API call in Windows Active Directory options

Jacob Sommerville 1 year ago updated by Eric Davis (SDT) 1 year ago 2

Admin -> Security -> Windows Active Directory -> Options -> Configure

Doing a lookup from here, for testing purposes, will always fail due to a bug in the POST request. This is a POST request to 

/Services/SecurityService.ashx/LookupUser which includes the following JSON

'["WindowsMembershipProvider","user",["DirectoryServerOverride\t","ServiceUserNameOverride\t","ServicePasswordOverride\t"],["","",""]]'

It returns internal 500 error, "Sequence contains no matching element"

If you remove the \t from elements from the array in 3rd element the request succeeds. See below:

'["WindowsMembershipProvider","user",["DirectoryServerOverride","ServiceUserNameOverride","ServicePasswordOverride"],["","",""]]'

ConnectWise Control Version:
9
Server Affected:
Host Client Affected:
Guest Client Affected:

Answer

PINNED
Answer
Not a bug

The cause of this issue is due to a change in Chrome 70 (see: https://bugs.chromium.org/p/chromium/issues/detail?id=897373)

As of this writing, it looks like the change was reverted and should be in the next release.

(If you see this error in another browser, let me know.)

It also appears that we are unable to save changes to the Configuration page for Active Directory authentication with the same message: "Sequence contains no matching element"

We had overrides set, and upon blanking those lines and trying to save we get the above message.

We are also receiving this message when attempting a lookup of a user account.

Version: 6.8.20124.6845

PINNED
Answer
Not a bug

The cause of this issue is due to a change in Chrome 70 (see: https://bugs.chromium.org/p/chromium/issues/detail?id=897373)

As of this writing, it looks like the change was reverted and should be in the next release.

(If you see this error in another browser, let me know.)