diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-27 22:06:46 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-27 22:22:12 +0200 |
commit | ba92c45787adb2fc8d3783a517530887eb9947d4 (patch) | |
tree | 6339dc3baa3e8dfb943d30480c6fac3e918be936 /source3/auth | |
parent | 25397de589e577e32bb291576b10c18978b5bc4e (diff) | |
download | samba-ba92c45787adb2fc8d3783a517530887eb9947d4.tar.gz samba-ba92c45787adb2fc8d3783a517530887eb9947d4.tar.bz2 samba-ba92c45787adb2fc8d3783a517530887eb9947d4.zip |
s3: Fix Coverity ID 2189: MISSING_BREAK
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth_wbc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/auth/auth_wbc.c b/source3/auth/auth_wbc.c index c2ff4902fc..7ab9665922 100644 --- a/source3/auth/auth_wbc.c +++ b/source3/auth/auth_wbc.c @@ -82,6 +82,7 @@ static NTSTATUS check_wbc_security(const struct auth_context *auth_context, params.level = WBC_AUTH_USER_LEVEL_PLAIN; params.password.plaintext = user_info->password.plaintext; + break; } case AUTH_PASSWORD_RESPONSE: case AUTH_PASSWORD_HASH: @@ -106,10 +107,11 @@ static NTSTATUS check_wbc_security(const struct auth_context *auth_context, params.password.response.lm_data = user_info->password.response.lanman.data; } + break; + } default: DEBUG(0,("user_info constructed for user '%s' was invalid - password_state=%u invalid.\n",user_info->mapped.account_name, user_info->password_state)); return NT_STATUS_INTERNAL_ERROR; - } #if 0 /* If ever implemented in libwbclient */ case AUTH_PASSWORD_HASH: { |