WrenSecurity/wrends

Persistent search result entry does not contain controls

Closed this issue · 1 comments

When doing persistent search via LDAPConnectionHandler2 the result entry does not contain EntryChangeNotification control. This causes issues in Wren:AM that uses that information in SMS component.

I have already debugged what is happening and the issue is that LDAPClientConnection2 is mapping search result entry to response using method that leads to calling incorrect overloaded constructor.

Quite obvious fix is to add overloaded method to Responses class. However I would like to verify that it is the correct way and also possibly investigate if there is a place where we can add unit test to test this behaviour.

The underlying issue has been fixed in #75. Unfortunately without test case... we will add persistent search test to our system test project later.