From 84ce4484e7cee8a1d32da698a23941d2ed429b0c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 3 May 2012 15:53:56 +0200 Subject: s3:smbd: SMBtdis should return ERRSRV, ERRinvnid instead of NETWORK_NAME_DELETED Found by the raw.context test. metze --- source3/smbd/reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index dc4310639b..45f761c630 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -5058,7 +5058,7 @@ void reply_tdis(struct smb_request *req) if (!conn) { DEBUG(4,("Invalid connection in tdis\n")); - reply_nterror(req, NT_STATUS_NETWORK_NAME_DELETED); + reply_force_doserror(req, ERRSRV, ERRinvnid); END_PROFILE(SMBtdis); return; } -- cgit