s3: Fix Coverity ID 2188: MISSING_BREAK
authorVolker Lendecke <vl@samba.org>
Sun, 27 Mar 2011 20:06:46 +0000 (22:06 +0200)
committerVolker Lendecke <vlendec@samba.org>
Sun, 27 Mar 2011 21:11:10 +0000 (23:11 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 27 23:11:10 CEST 2011 on sn-devel-104

source3/auth/auth_server.c

index fc46ce014862a3c076585a0865474a928225a768..5fee1e4881589dc2686d68d372dbf7b1e3850e95 100644 (file)
@@ -399,6 +399,7 @@ use this machine as the password server.\n"));
                        user_info->password.plaintext,
                        strlen(user_info->password.plaintext),
                        NULL, 0, user_info->mapped.domain_name);
+               break;
 
        /* currently the hash values include a challenge-response as well */
        case AUTH_PASSWORD_HASH:
@@ -410,6 +411,7 @@ use this machine as the password server.\n"));
                        (char *)user_info->password.response.nt.data,
                        user_info->password.response.nt.length,
                        user_info->mapped.domain_name);
+               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));
                nt_status = NT_STATUS_INTERNAL_ERROR;