summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-27 22:06:46 +0200
committerVolker Lendecke <vlendec@samba.org>2011-03-27 23:11:10 +0200
commita414356075ab28259fe4fe534478bc43aa3ce6d9 (patch)
treea91302c53abdb298c6562a6ec8bb4f1b1cd8c0a2
parentba92c45787adb2fc8d3783a517530887eb9947d4 (diff)
downloadsamba-a414356075ab28259fe4fe534478bc43aa3ce6d9.tar.gz
samba-a414356075ab28259fe4fe534478bc43aa3ce6d9.tar.bz2
samba-a414356075ab28259fe4fe534478bc43aa3ce6d9.zip
s3: Fix Coverity ID 2188: MISSING_BREAK
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 27 23:11:10 CEST 2011 on sn-devel-104
-rw-r--r--source3/auth/auth_server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c
index fc46ce0148..5fee1e4881 100644
--- a/source3/auth/auth_server.c
+++ b/source3/auth/auth_server.c
@@ -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;