From: Volker Lendecke Date: Sun, 27 Mar 2011 20:06:46 +0000 (+0200) Subject: s3: Fix Coverity ID 2189: MISSING_BREAK X-Git-Tag: ldb-1.1.0~495 X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=ba92c45787adb2fc8d3783a517530887eb9947d4;p=samba.git s3: Fix Coverity ID 2189: MISSING_BREAK --- diff --git a/source3/auth/auth_wbc.c b/source3/auth/auth_wbc.c index c2ff4902fc7..7ab9665922c 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: {