Mailinglist Archive: opensuse-bugs (5058 mails)

< Previous Next >
[Bug 749786] Problem with samba-3.4.3 vfs module in sles-11(SP1) 32-bit.

https://bugzilla.novell.com/show_bug.cgi?id=749786

https://bugzilla.novell.com/show_bug.cgi?id=749786#c2


Divesh Uppoor <d_vesh@xxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |d_vesh@xxxxxxxxx

--- Comment #2 from Divesh Uppoor <d_vesh@xxxxxxxxx> 2012-03-02 13:48:55 UTC ---
(In reply to comment #1)
Thanks for the report Divesh.

Do you know whether this is also the case in Samba 3.6.3, as shipped with SLES
11 SP2?

SMB Traffic Analyzer uses the same method to obtain the filename on close:
889 static int smb_traffic_analyzer_close(vfs_handle_struct *handle, \
890 files_struct *fsp)
891 {
892 struct close_data s_data;
893 s_data.result = SMB_VFS_NEXT_CLOSE(handle, fsp);
894 DEBUG(10,("smb_traffic_analyzer_close: CLOSE: %s\n",
895 fsp_str_dbg(fsp)));
896 s_data.filename = fsp->fsp_name->base_name;
897 smb_traffic_analyzer_send_data(handle,
898 &s_data,
899 vfs_id_close);
900 return s_data.result;
901 }

@Holger have you run into this problem?

As a (very ugly) workaround for now you may wish to use readlink(), feeding it
a /proc/self/fd/$FD path where $FD = fsp->fh->fd.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References