mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libcli/security/sddl: improve some SDDL error messages
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
bc9da95682
commit
cea44421eb
@ -731,7 +731,8 @@ static bool sddl_decode_ace(TALLOC_CTX *mem_ctx,
|
||||
if (s[length] != ')') {
|
||||
*msg = talloc_strdup(
|
||||
mem_ctx,
|
||||
"Conditional ACE has trailing bytes");
|
||||
"Conditional ACE has trailing bytes"
|
||||
" or lacks ')'");
|
||||
*msg_offset = s + length - *sddl_copy;
|
||||
return false;
|
||||
}
|
||||
@ -767,7 +768,8 @@ static bool sddl_decode_ace(TALLOC_CTX *mem_ctx,
|
||||
if (s[length] != ')') {
|
||||
*msg = talloc_strdup(
|
||||
mem_ctx,
|
||||
"Resource Attribute ACE has trailing bytes");
|
||||
"Resource Attribute ACE has trailing bytes"
|
||||
" or lacks ')'");
|
||||
*msg_offset = s + length - *sddl_copy;
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user