summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-12-18 16:31:36 +0100
committerGünther Deschner <gd@samba.org>2012-12-21 13:56:01 +0100
commit96de3e7364c6ca3c9184a1f920cf210565f4e78f (patch)
treed8dc0308d16bae7586e1fb575f546b23cdab6138 /source3
parentf7d8aa79ff508dec519c493fcdcaa908cdc86670 (diff)
downloadsamba-96de3e7364c6ca3c9184a1f920cf210565f4e78f.tar.gz
samba-96de3e7364c6ca3c9184a1f920cf210565f4e78f.tar.bz2
samba-96de3e7364c6ca3c9184a1f920cf210565f4e78f.zip
s3-netapi: Add missing break in NetUserSetInfo_r().
Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/netapi/user.c1
1 files changed, 1 insertions, 0 deletions
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;