svn commit: samba r20370 - in branches: SAMBA_3_0/source/smbd
SAMBA_3_0_24/source/smbd
jra at samba.org
jra at samba.org
Thu Dec 28 00:01:14 GMT 2006
Author: jra
Date: 2006-12-28 00:01:12 +0000 (Thu, 28 Dec 2006)
New Revision: 20370
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20370
Log:
Now we've gone to the trouble of getting an NT status
from open_file_ntcreate make sure we return it on rename
error.
Jeremy.
Modified:
branches/SAMBA_3_0/source/smbd/reply.c
branches/SAMBA_3_0_24/source/smbd/reply.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/reply.c 2006-12-27 23:54:40 UTC (rev 20369)
+++ branches/SAMBA_3_0/source/smbd/reply.c 2006-12-28 00:01:12 UTC (rev 20370)
@@ -1878,7 +1878,7 @@
NULL, &fsp);
if (!NT_STATUS_IS_OK(status)) {
- return NT_STATUS_ACCESS_DENIED;
+ return status;
}
close_file(fsp,NORMAL_CLOSE);
return NT_STATUS_OK;
Modified: branches/SAMBA_3_0_24/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_0_24/source/smbd/reply.c 2006-12-27 23:54:40 UTC (rev 20369)
+++ branches/SAMBA_3_0_24/source/smbd/reply.c 2006-12-28 00:01:12 UTC (rev 20370)
@@ -1878,7 +1878,7 @@
NULL, &fsp);
if (!NT_STATUS_IS_OK(status)) {
- return NT_STATUS_ACCESS_DENIED;
+ return status;
}
close_file(fsp,NORMAL_CLOSE);
return NT_STATUS_OK;
More information about the samba-cvs
mailing list