Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Simo Sorce <idra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Aug 28 20:25:56 CEST 2013 on sn-devel-104
(unsigned int)newGID));
if (smbacl4_GetFileOwner(fsp->conn,
fsp->fsp_name->base_name,
- &sbuf))
+ &sbuf)){
TALLOC_FREE(frame);
return map_nt_error_from_unix(errno);
+ }
/* If we successfully chowned, we know we must
* be able to set the acl, so do it as root.