From 96de3e7364c6ca3c9184a1f920cf210565f4e78f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 18 Dec 2012 16:31:36 +0100 Subject: s3-netapi: Add missing break in NetUserSetInfo_r(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found by Coverity. Signed-off-by: Andreas Schneider Reviewed-by: Günther Deschner --- source3/lib/netapi/user.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c index dfcbb095a9..df3914cb4f 100644 --- a/source3/lib/netapi/user.c +++ b/source3/lib/netapi/user.c @@ -1888,6 +1888,7 @@ WERROR NetUserSetInfo_r(struct libnetapi_ctx *ctx, case 1012: case 1024: user_mask = SAMR_USER_ACCESS_SET_LOC_COM; + break; case 1051: user_mask = SAMR_USER_ACCESS_SET_ATTRIBUTES | SAMR_USER_ACCESS_GET_GROUPS; -- cgit