OK, I was searching the forum and find this thread: https://support.aspnetzero.com/QA/Questions/9845/Power-Tool-under-VS-2019
That turned out to be my issue as well - so after installing .NET Core 2.2 Runtime for my VS 2019, Power Tool is working fine.
I will close the issue,
Thanks, Predrag
I guess we can close this issue for now
Thanks. We were able to get users authenticated by using LdapConnection instead of PrincipalContext in TryAuthenticateAsync(). We still need to work on overriding other methods from LdapAuthenticationSource, like UpdateUserAsync(). in any case, it would be nice to have implementation provided by the framework. Regards, Predrag
Hi, I did try your suggestion and I did debug it but ended up with the same exception and pretty much same conclusion that openLDAP is not supported.
I tried initializing PrincipalContext with different parameters and using various ContextOptions, but that didn't help me resolving the issue.
One thing I noticed for PrincipalContext class is that it seems it is supported on Windows platform only:
Would you guys have any suggestion on alternative way of authenticating against openLDAP (e.g using some other .net classes instead of PrincipalContext)? Is there any plan on your side to look into this and provide some solution?
Thanks, Predrag