From a77b3f38b9b76b830997bb876d97cec4884f6774 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 30 Dec 2006 03:02:59 +0000 Subject: r20412: Placeholder to remind me to write a torture test for this error code. Jeremy. (This used to be commit 71b868611671a6c9275fce153794a0ccc150551f) --- source3/smbd/trans2.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/smbd') diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 1ebdf16b8a..14c7eb8fa8 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -4871,6 +4871,13 @@ static int call_trans2mkdir(connection_struct *conn, char *inbuf, char *outbuf, FILE_CREATE, 0, NULL, &fsp); if (!NT_STATUS_IS_OK(status)) { +#if 0 + /* Do we need to do this here ? Need smbtorture test. JRA. */ + if (!use_nt_status() && NT_STATUS_EQUAL( + status, NT_STATUS_OBJECT_NAME_COLLISION)) { + status = NT_STATUS_DOS(ERRDOS, ERRfilexists); + } +#endif return ERROR_NT(status); } close_file(fsp, NORMAL_CLOSE); -- cgit