summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2022-09-27 14:46:50 +1300
committerDouglas Bagnall <dbagnall@samba.org>2022-10-21 03:57:33 +0000
commit349c5794d30b08dd4a086728768d3c7dac609e0f (patch)
tree12e21885c7d8afe53e6d2e2d14ac3c76695fd6c0 /librpc
parent549f3f85c433e7348c4ba7457867a5905e834a02 (diff)
downloadsamba-349c5794d30b08dd4a086728768d3c7dac609e0f.tar.gz
librpc/ndr: Fix incorrect error string in SID parser
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/ndr/ndr_sec_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/ndr/ndr_sec_helper.c b/librpc/ndr/ndr_sec_helper.c
index f14660fa36e..4d91be89c3b 100644
--- a/librpc/ndr/ndr_sec_helper.c
+++ b/librpc/ndr/ndr_sec_helper.c
@@ -178,7 +178,7 @@ enum ndr_err_code ndr_pull_dom_sid2(struct ndr_pull *ndr, int ndr_flags, struct
NDR_CHECK(ndr_pull_dom_sid(ndr, ndr_flags, sid));
if (sid->num_auths != num_auths) {
return ndr_pull_error(ndr, NDR_ERR_ARRAY_SIZE,
- "Bad array size %u should exceed %u",
+ "Bad num_auths %u; should equal %u",
num_auths, sid->num_auths);
}
return NDR_ERR_SUCCESS;