smbd: check the return value before the ACE-lists out args

If a Windows ACLs is non-canonically ordered (ie deny ACE after an allow ACE), our ACL mapping code from Win to POSIX chokes on the non-canonical ordering and fails in create_canon_ace_lists(), but this error is ignored in the caller so the ACL-set is reported as successful to the caller while no ACL was set in the backend.

https://bugzilla.samba.org/show_bug.cgi?id=16097

Edited by Ralph Böhme

Merge request reports

Loading