s3:smbd: if we allow trans2 on the IPC$ share, then we have to allow transs2 too.
authorStefan Metzmacher <metze@samba.org>
Tue, 24 Mar 2009 19:36:10 +0000 (12:36 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 24 Mar 2009 19:36:10 +0000 (12:36 -0700)
Otherwise we'll confuse the client signing engine, when we reply an error to each transs2.

metze

source/smbd/process.c

index aeb0fc48a3dd865dbb2c5f766dcbe2a7a98f5ddc..365c97292bf0afec19a1e60df3453cc2abad8035 100644 (file)
@@ -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 },