[Samba] Problem with Win95 + DFS clients (fwd)

Jeremy Allison jra at samba.org
Mon Sep 8 20:28:24 GMT 2003


On Fri, Sep 05, 2003 at 08:14:26PM +0800, is at tracetec.com.my wrote:
> 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.

Thanks a lot for this. I've committed a patch that rejects the call
rather than core dumping. I'm considering your patch to save the old
fnum and re-use it - I'm not sure that's correct in this case.

Thanks for the fix though !

Jeremy.



More information about the samba mailing list