From b3ddd92ba2dfbf732b3e6e22812bca780713ed8f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 2 Jan 2007 16:40:41 +0000 Subject: r20482: Make us survive and activate RAW-CLOSE (This used to be commit 471c6e6a2142afbca36163bcdbb5b6fb4e7ac774) --- source3/script/tests/test_posix_s3.sh | 2 +- source3/smbd/reply.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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", -- cgit