• Stephan Renatus's avatar
    connectors/ldap: treat 'constraint violation' on bind as bad credentials · 6a2d4ab6
    Stephan Renatus authored
    Some directory servers (I think it's Oracle) return
    
        Constraint Violation: Exceed password retry limit. Account locked.
    
    when attempting to login too many times. While constraint violation can
    mean many things, we're checking this as an error on BIND, so it's
    more likely that something like this has happened than any other thing.
    
    Hence, we should treat it as an "incorrect password" situation, not an
    internal error.
    
    It would of course be preferrable to surface more information about this
    precise error (and similar ones), but I think this is beyond this small
    change.
    Signed-off-by: 's avatarStephan Renatus <srenatus@chef.io>
    6a2d4ab6
Name
Last commit
Last update
..
authproxy Loading commit data...
github Loading commit data...
gitlab Loading commit data...
ldap Loading commit data...
linkedin Loading commit data...
microsoft Loading commit data...
mock Loading commit data...
oidc Loading commit data...
saml Loading commit data...
connector.go Loading commit data...