]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libcli/security: improve error messages in RA ACE SDDL
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 2 Nov 2023 02:42:11 +0000 (15:42 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 27 Nov 2023 01:12:40 +0000 (01:12 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/security/sddl_conditional_ace.c

index 4909f64b830f56997b51318ed779ad49e45e695e..f658003bb162dbff8c4dc823b0957585e9f425e3 100644 (file)
@@ -3045,7 +3045,8 @@ static bool parse_resource_attr_list(
                if (!first) {
                        if (c != ',') {
                                comp_error(comp,
-                                          "malformed composite (expected comma)");
+                                          "malformed resource attribute ACE "
+                                          "(expected comma)");
                                goto fail;
                        }
                        comp->offset++;
@@ -3058,7 +3059,7 @@ static bool parse_resource_attr_list(
                first = false;
                if (*comp->target_len >= alloc_size) {
                        comp_error(comp,
-                                  "Too many tokens in composite "
+                                  "Too many tokens in resource attribute ACE "
                                   "(>= %"PRIu32" tokens)",
                                   *comp->target_len);
                        goto fail;