From: Stefan Metzmacher Date: Tue, 24 Mar 2009 19:36:10 +0000 (-0700) Subject: s3:smbd: if we allow trans2 on the IPC$ share, then we have to allow transs2 too. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97cdf68a42bd9d5ec312151bcca9830228caeee1;p=thirdparty%2Fsamba.git s3:smbd: if we allow trans2 on the IPC$ share, then we have to allow transs2 too. Otherwise we'll confuse the client signing engine, when we reply an error to each transs2. metze --- diff --git a/source/smbd/process.c b/source/smbd/process.c index aeb0fc48a3d..365c97292bf 100644 --- a/source/smbd/process.c +++ b/source/smbd/process.c @@ -1039,7 +1039,7 @@ static const struct smb_message_struct { /* 0x30 */ { NULL, NULL, 0 }, /* 0x31 */ { NULL, NULL, 0 }, /* 0x32 */ { "SMBtrans2",reply_trans2, AS_USER | CAN_IPC }, -/* 0x33 */ { "SMBtranss2",reply_transs2, AS_USER}, +/* 0x33 */ { "SMBtranss2",reply_transs2, AS_USER | CAN_IPC}, /* 0x34 */ { "SMBfindclose",reply_findclose,AS_USER}, /* 0x35 */ { "SMBfindnclose",reply_findnclose,AS_USER}, /* 0x36 */ { NULL, NULL, 0 },