as the NT ACL when read.
*********************************************************************/
-static NTSTATUS inherit_new_acl(files_struct *fsp)
+static NTSTATUS inherit_new_acl(struct smb_filename *parent_dir_fname,
+ files_struct *fsp)
{
TALLOC_CTX *frame = talloc_stackframe();
struct security_descriptor *parent_desc = NULL;
}
} else if (lp_inherit_acls(SNUM(conn))) {
/* Inherit from parent. Errors here are not fatal. */
- status = inherit_new_acl(fsp);
+ status = inherit_new_acl(parent_dir_fname, fsp);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(10,("inherit_new_acl: failed for %s with %s\n",
fsp_str_dbg(fsp),