mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
don't attempt to answer QFILEINFO/SMB_QUERY_FILE_STREAM_INFO queries -
if we do then NTws gets a BSOD. I checked and NT server refuses these queries too :) (This used to be commit d2fb7ee8f55dd1ff25fca46e18b02a05bc2b71ae)
This commit is contained in:
parent
c8f34dac39
commit
541cd2a2d9
@ -1394,6 +1394,9 @@ static int call_trans2qfilepathinfo(connection_struct *conn,
|
||||
data_size = PTR_DIFF(pdata,(*ppdata));
|
||||
break;
|
||||
|
||||
#if 0
|
||||
/* NT4 server just returns "invalid query" to this - if we try to answer
|
||||
it then NTws gets a BSOD! (tridge) */
|
||||
case SMB_QUERY_FILE_STREAM_INFO:
|
||||
data_size = 24 + l;
|
||||
SIVAL(pdata,0,pos);
|
||||
@ -1402,6 +1405,7 @@ static int call_trans2qfilepathinfo(connection_struct *conn,
|
||||
SIVAL(pdata,20,l);
|
||||
pstrcpy(pdata+24,fname);
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
return(ERROR(ERRDOS,ERRunknownlevel));
|
||||
|
Loading…
x
Reference in New Issue
Block a user