Displaying 2 results from an estimated 2 matches for "smb_vfs_connect".
2005 Feb 01
1
VFS calls after disonnect
...ing the same problem as below. I am using 3.02a on FreeBSD.
Was this solved or does anyone know how to solve it?
Many Thanks,
Chetana
On Wed, May 26, 2004 at 09:54:18AM +0200, yves.lejeune at kodak.com wrote:
> Hello,
>
> > >
> > > Is is normal to have the initial double SMB_VFS_CONNECT and
> > > SMB_VFS_DISCONNECT ?
> > > Should I count the number of SMB_VFS_CONNECT, and really disconnect
> only
> > > when the same
> > > number of SMB_VFS_DISCONNECT is called ?
> >
> > Yes, use a reference count here.
>
> I tried to st...
2005 Jun 27
0
bug in 3.0.14a source/smbd/service.c:make_connection
Hi,
I have found a bug in the version 3.0.14a of samba in
source/smbd/service.c function make_connection line 614.
Between 3.0.6 and 3.0.14a someone changed a 'stat' call
in 'SMB_VFS_STAT', but this cannot be called before the
SMB_VFS_CONNECT that is much later in the function.
This breaks any VFS module where stat relies on data
established in CONNECT like in my database filesystem
VFS opaque layer.
I routed around the problem by including the call to
vfswrap_stat if(handle->data == NULL). But I should not
need to do that.
This...