• 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
Documentation Loading commit data...
api Loading commit data...
cmd Loading commit data...
connector Loading commit data...
examples Loading commit data...
scripts Loading commit data...
server Loading commit data...
storage Loading commit data...
vendor Loading commit data...
version Loading commit data...
web Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
DCO Loading commit data...
Dockerfile Loading commit data...
LICENSE Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
NOTICE Loading commit data...
README.md Loading commit data...
bill-of-materials.json Loading commit data...
code-of-conduct.md Loading commit data...
glide.lock Loading commit data...
glide.yaml Loading commit data...
glide_test.go Loading commit data...