You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
As of version 4.2.1, these warnings appear to be backwards:
if(!_options.LdapIgnoreTlsErrors)
_logger.LogWarning($"option [{nameof(_options.LdapIgnoreTlsErrors)}] is ENABLED; invalid certificates will be allowed");elseif(!_options.LdapIgnoreTlsValidation)
_logger.LogWarning($"option [{nameof(_options.LdapIgnoreTlsValidation)}] is ENABLED; untrusted certificate roots will be allowed");
As far as I can tell, these options default to false, and the error message is printed even though I did not set the option:
warn: Zyborg.PassCore.PasswordProvider.LDAP.LdapPasswordChangeProvider[0]
option [LdapIgnoreTlsErrors] is ENABLED; invalid certificates will be allowed
I think the solution is to remove the ! on both conditionals:
if(_options.LdapIgnoreTlsErrors)
_logger.LogWarning($"option [{nameof(_options.LdapIgnoreTlsErrors)}] is ENABLED; invalid certificates will be allowed");elseif(_options.LdapIgnoreTlsValidation)
_logger.LogWarning($"option [{nameof(_options.LdapIgnoreTlsValidation)}] is ENABLED; untrusted certificate roots will be allowed");
The text was updated successfully, but these errors were encountered:
As of version 4.2.1, these warnings appear to be backwards:
As far as I can tell, these options default to
false
, and the error message is printed even though I did not set the option:I think the solution is to remove the
!
on both conditionals:The text was updated successfully, but these errors were encountered: