mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
libcl/security:sddl_decode_acl: add a message
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
206db403b4
commit
dd41357fcd
@ -813,6 +813,8 @@ static struct security_acl *sddl_decode_acl(struct security_descriptor *sd,
|
||||
|
||||
/* work out the ACL flags */
|
||||
if (!sddl_map_flags(acl_flags, sddl, flags, &len, true)) {
|
||||
*msg = talloc_strdup(sd, "bad ACL flags");
|
||||
*msg_offset = 0;
|
||||
talloc_free(acl);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user