s3:smbd: if we allow trans2 on the IPC$ share, then we have to allow transs2 too.
authorStefan Metzmacher <metze@samba.org>
Mon, 23 Mar 2009 10:44:00 +0000 (11:44 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Apr 2009 07:07:42 +0000 (09:07 +0200)
Otherwise we'll confuse the client signing engine, when we reply an error to each transs2.

metze
(cherry picked from commit 7716ad68a8d859ac3651c4eb559b6e45d98566db)
(cherry picked from commit 1d11417c71ebcb80851c8b77e9f3102ee9b592f8)

source3/smbd/process.c

index 18fbdd79394fceff4e0e4827404f99ebf18a065f..6d53bbe929e6054e4dd5a8aefeb40a9608ad4c92 100644 (file)
@@ -913,7 +913,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 },