getting fsp->fsp_name value 'null' with samba-3.4.3 + SLES 11(32 bit)

Jeremy Allison jra at
Fri Feb 10 23:51:20 MST 2012

On Wed, Feb 08, 2012 at 02:39:52AM -0800, Amancio Tarrito wrote:
> Hello All,
>                     I am Amancio Tarrito, I have written  vscan-vfs module that is working well. 
> In that I have associated  SMB_VFS_OP_CLOSE  with my method vscan_close (struct vfs_op_tuple entry).
>                     I have recieved  files_struct *fsp parameter in vscan_close( ) method. But My problem is I am not getting filename which is uploaded in SMB_VFS_OP_CLOSE operation.
> Showing  fsp->fsp_name value 'null'. 
>                     I am kindly requesting you to please provide the solution for how to 
> get filename of uploaded file on samba-share by client in vfs close 
> operation.

Can you test if this is fixed in the 3.6.3 release ?

This should work, but it may be something that got changed
in a later release.


More information about the samba-technical mailing list