]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:auth: Add FALL_THROUGH statements in auth_sam.c
authorAndreas Schneider <asn@samba.org>
Wed, 26 Jul 2017 15:35:28 +0000 (17:35 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Mar 2018 03:37:42 +0000 (04:37 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/auth/auth_sam.c

index 4bcb7926c6e6730863a4a2d94f1f25a62b3329e3..46958c54d3a368910cb55888a931c1831a102166 100644 (file)
@@ -88,6 +88,8 @@ static NTSTATUS auth_samstrict_auth(const struct auth_context *auth_context,
                                        ? "ROLE_DOMAIN_MEMBER" : "ROLE_STANDALONE") ));
                                return NT_STATUS_NOT_IMPLEMENTED;
                        }
+
+                       FALL_THROUGH;
                case ROLE_DOMAIN_PDC:
                case ROLE_DOMAIN_BDC:
                        if ( !is_local_name && !is_my_domain ) {
@@ -95,6 +97,8 @@ static NTSTATUS auth_samstrict_auth(const struct auth_context *auth_context,
                                        user_info->mapped.domain_name));
                                return NT_STATUS_NOT_IMPLEMENTED;
                        }
+
+                       FALL_THROUGH;
                default: /* name is ok */
                        break;
        }