diff options
Diffstat (limited to 'kdc.go')
-rw-r--r-- | kdc.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ func checkKerberosDuplicatePw(suffix, username, password string) error { err = kclient.Login() if err != nil { // error either means bad password or no connection etc. - if strings.Contains(err.Error(), "KDC_ERR_PREAUTH_REQUIRED") { + if strings.Contains(err.Error(), "KDC_ERR_PREAUTH_REQUIRED") || strings.Contains(err.Error(), "Decrypting_Error") { // Password did not match return nil } |