summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-02 16:40:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:52 -0500
commitb3ddd92ba2dfbf732b3e6e22812bca780713ed8f (patch)
tree72ff4a45b8cf8487e77b2ce88d253bc18663c677
parent6edd999dc1fe4894b2fb9f02fb4c215adf3aa795 (diff)
downloadsamba-b3ddd92ba2dfbf732b3e6e22812bca780713ed8f.tar.gz
samba-b3ddd92ba2dfbf732b3e6e22812bca780713ed8f.tar.bz2
samba-b3ddd92ba2dfbf732b3e6e22812bca780713ed8f.zip
r20482: Make us survive and activate RAW-CLOSE
(This used to be commit 471c6e6a2142afbca36163bcdbb5b6fb4e7ac774)
-rwxr-xr-xsource3/script/tests/test_posix_s3.sh2
-rw-r--r--source3/smbd/reply.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/script/tests/test_posix_s3.sh b/source3/script/tests/test_posix_s3.sh
index c442684732..4c13828546 100755
--- a/source3/script/tests/test_posix_s3.sh
+++ b/source3/script/tests/test_posix_s3.sh
@@ -43,7 +43,7 @@ fi
tests="$base $raw $rpc"
skipped="BASE-CHARSET BASE-DEFER_OPEN BASE-DELAYWRITE BASE-OPENATTR BASE-TCONDEV"
-skipped="$skipped RAW-ACLS RAW-CLOSE RAW-COMPOSITE RAW-CONTEXT RAW-EAS"
+skipped="$skipped RAW-ACLS RAW-COMPOSITE RAW-CONTEXT RAW-EAS"
skipped="$skipped RAW-IOCTL RAW-MUX RAW-NOTIFY RAW-OPEN"
skipped="$skipped RAW-QFILEINFO RAW-QFSINFO RAW-RENAME RAW-SEARCH"
skipped="$skipped RAW-SFILEINFO RAW-STREAMS RAW-WRITE"
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index a65979e804..6bda8fb7ee 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -3629,7 +3629,7 @@ int reply_printclose(connection_struct *conn,
if (!CAN_PRINT(conn)) {
END_PROFILE(SMBsplclose);
- return ERROR_NT(NT_STATUS_UNSUCCESSFUL);
+ return ERROR_NT(NT_STATUS_DOS(ERRSRV, ERRerror));
}
DEBUG(3,("printclose fd=%d fnum=%d\n",