Activate SMB_QUERY_FILE_STREAM_INFO
authorVolker Lendecke <vl@samba.org>
Sun, 20 Jan 2008 14:59:31 +0000 (15:59 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 20 Jan 2008 14:59:31 +0000 (15:59 +0100)
gcolley was right, my nt4 does not blue screen with it

source/smbd/trans2.c

index d56a0dab09659e257b8c66899de8446e304062d7..9c48cdfbba02590b8ada9abf7ef8cd212c0b44f9 100644 (file)
@@ -4331,14 +4331,15 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd
                        data_size = 4;
                        break;
 
-#if 0
                /*
-                * NT4 server just returns "invalid query" to this - if we try to answer
-                * it then NTws gets a BSOD! (tridge).
-                * W2K seems to want this. JRA.
+                * NT4 server just returns "invalid query" to this - if we try
+                * to answer it then NTws gets a BSOD! (tridge).  W2K seems to
+                * want this. JRA.
+                */
+               /* The first statement above is false - verified using Thursby
+                * client against NT4 -- gcolley.
                 */
                case SMB_QUERY_FILE_STREAM_INFO:
-#endif
                case SMB_FILE_STREAM_INFORMATION: {
                        unsigned int num_streams;
                        struct stream_struct *streams;