summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/pvfs_unlink.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-25 07:58:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:41 -0500
commitee0c87b4c98e2d3878aa7ab7f8919aa16c4aa063 (patch)
tree522611b1e1b35ac0c5117c675e78391e79d2a08f /source4/ntvfs/posix/pvfs_unlink.c
parente1c43f243a7dea8c8a7ae235252091d1e18c2fb4 (diff)
downloadsamba-ee0c87b4c98e2d3878aa7ab7f8919aa16c4aa063.tar.gz
samba-ee0c87b4c98e2d3878aa7ab7f8919aa16c4aa063.tar.bz2
samba-ee0c87b4c98e2d3878aa7ab7f8919aa16c4aa063.zip
r3207: - reformat error msgs in BASE-DIR* tests
- added support for mandatory attributes in old style directory search - we now pass BASE-DIR1 and BASE-DIR2 (This used to be commit efaa0eaec49e952aa515c3448246d9048a484c26)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_unlink.c')
-rw-r--r--source4/ntvfs/posix/pvfs_unlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_unlink.c b/source4/ntvfs/posix/pvfs_unlink.c
index 10a27a5de7..12ab583082 100644
--- a/source4/ntvfs/posix/pvfs_unlink.c
+++ b/source4/ntvfs/posix/pvfs_unlink.c
@@ -42,7 +42,7 @@ static NTSTATUS pvfs_unlink_one(struct pvfs_state *pvfs, TALLOC_CTX *mem_ctx,
}
/* make sure its matches the given attributes */
- if (!pvfs_match_attrib(pvfs, name, attrib)) {
+ if (!pvfs_match_attrib(pvfs, name, attrib, 0)) {
talloc_free(name);
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
}