Displaying 1 result from an estimated 1 matches for "reply_ioctl".
2003 Sep 05
1
Problem with Win95 + DFS clients (fwd)
Hi,
I've found a problem with samba when printing from a client running win95
+ DFS. The print fails with a segmentation fault. The problem is that
Win95 does not return the proper file_fsp( smb_vwv0) when doing an IOCTL
request.This causes the file_fsp call in reply_ioctl (smbd/reply.c) to
fail cause a segmentation fault.
I do not understand how samba work, but here is my working patch for this. I
just copied the fid from the last open_And_X call and write it into inbuf
if the file_fsp is different.
Attached here is the diff. The patch is only on
/smbd/reply....