Yvand / LDAPCP

A claims provider to connect SharePoint Subscription / 2019 / 2016 with Active Directory and LDAP directories in federated authentication
https://ldapcp.com
Apache License 2.0
57 stars 25 forks source link

Filter on Active user by default #215

Closed SwissYann closed 5 months ago

SwissYann commented 5 months ago

Hi Yvand,

Very nice improvment about the second edition of LDAPCP !

During my testing, I discovered that by default, the ACTIVE user filter is added to every query

Even if i check/uncheck the "Exclude disabled users". So some of my accounts are missing.

I don't know if I'm missing a configuration or if it's a bug but any help is appreciated.

Thanks,

Yann

SwissYann commented 5 months ago

I was able to fix it going through the config in powershell but the value FilterEnabledUserOnly is set to "true" by default. For me it must be false according to the UI.

Yvand commented 5 months ago

Hi @SwissYann, latest release v18 fixes an issue where some properties, including FilterEnabledUsersOnly, were not initialized correctly, I believe this is the issue you noticed. Did you update to v18 ?

SwissYann commented 5 months ago

Hi @Yvand, yes i took v18. FilterEnabledUsersOnly is set to true by default while the check box "Exclude disabled users" is not checked.

Yvand commented 5 months ago

I won't be able to test before 10 days. Can you please clarify if it does the opposite of the setting displayed in global admin (even if you change it), or if FilterEnabledUsersOnly always remains set to true no matter what you set?

SwissYann commented 5 months ago

Hello @Yvand, this only works if you reinstall a new version of the wsp (without using Update-SPSolution in my case). So I can Close, thank you :)