s3-netapi: Add missing break in NetUserSetInfo_r().
authorAndreas Schneider <asn@samba.org>
Tue, 18 Dec 2012 15:31:36 +0000 (16:31 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 21 Dec 2012 12:56:01 +0000 (13:56 +0100)
Found by Coverity.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/lib/netapi/user.c

index dfcbb09..df3914c 100644 (file)
@@ -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;