search for: smbvwv0

Displaying 1 result from an estimated 1 matches for "smbvwv0".

Did you mean: smbvwv
2003 Sep 05
1
Problem with Win95 + DFS clients (fwd)
...if( DEBUGLVL( 0 ) ) { @@ -429,8 +433,26 @@ uint32 ioctl_code = (device << 16) + function; int replysize, outsize; char *p; + int temp = 0; files_struct *fsp = file_fsp(inbuf,smb_vwv0); - START_PROFILE(SMBioctl); + int fid = SVAL(inbuf,smb_vwv0); + + DEBUG ( 4, ( " smbvwv0 before = %i ( 0x%x )\n", fid, fid)); + /* hack for Win95 + dfs . Does not give proper value of fid in request + Value taken from last open_and_X */ + if ( fid != hack_fid ) { + SSVAL(inbuf, smb_vwv0, hack_fid ); + fsp = file_fsp(inbuf,smb_vwv0); + }; + fid = SVAL(inbuf,...