Project

General

Profile

Actions

Defect #1820

closed

Authentication against AD from IdM will fail, if you use both connectors for search operation

Added by Roman Kučera over 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roman Kučera
Target version:
Start date:
08/26/2019
Due date:
% Done:

100%

Estimated time:

Description

It need to be tested what causing this issue. But it seems when you want to use WinRM and AD for search together you can't authenticate against AD.

How to test it:
  • Configure ad system via this connector and use scripts for local exchange for example
  • Use both connectors options for search operation
  • Configure IdM so authentication will be against AD system
  • Try to login - IdM will not log you and you will see error in log.

affected version: all

workaround: Use only AD for search when you want to authenticate against AD. Then it's working correctly.

Actions #1

Updated by Roman Kučera over 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Roman Kučera
Actions #2

Updated by Roman Kučera about 5 years ago

  • Target version changed from version 1.0.2 to version 1.0.3
Actions #3

Updated by Roman Kučera over 4 years ago

  • Target version changed from version 1.0.3 to version 1.0.4
Actions #4

Updated by Roman Kučera over 4 years ago

  • Target version changed from version 1.0.4 to version 1.0.5
Actions #5

Updated by Roman Kučera over 4 years ago

  • % Done changed from 0 to 60

I did some testing with IdM 10.3.0 and connector in version 1.0.5-SNAPSHOT which is basically 1.0.4 but with updated jackson dependencies.
I wasn't able to simulate this error.
Tried to return only some log message from powershell
Tried to return __UID__ and __NAME__ and SamAccountName values
Tried to return some attribute which is not AD

Every time I was able to login into IdM correctly. I checked the log files and no errors there to.
I will leave this ticket still open, because we will test this feature again on test environment of one of our customer.

It's possible that the issue which caused this was already fixed indirectly with some other bugfix in connector or in IdM.

Actions #6

Updated by Roman Kučera over 4 years ago

  • % Done changed from 60 to 70

I validated this behavior on test environment with same result.
So authentication is working correctly when you are using both methods for search operation.
The only downside is that login to IdM takes longer because we are waiting for WinRM search execution. I'll look into this if there is something how to speed the process.

Actions #7

Updated by Roman Kučera over 4 years ago

  • % Done changed from 70 to 90

Roman Kučera wrote:

The only downside is that login to IdM takes longer because we are waiting for WinRM search execution. I'll look into this if there is something how to speed the process.

IdM perform get before authentication, so there is no option now how to speed this up. If you will have some big logic in winrm search script then user will wait. On our test environment when I don't have any logic in powershell just contacting WinRM and getting output took 5s from clicking on "Log in" to the redirect to dashboard

Login with IdM password took 1,3s on the same environment.

Actions #8

Updated by Roman Kučera about 4 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100
  • Affected versions version 1.0.1, version 1.0.2, version 1.0.3, version 1.0.4 added

No issue found, closing

Actions

Also available in: Atom PDF