VFS problem

Juergen Hasch Hasch at t-online.de
Sun Jun 2 14:37:01 GMT 2002

Hi Jim,

Am Sonntag, 2. Juni 2002 22:58 schrieb Jim Myers:
> I was aware of that, but from the traces I took (with log level=10),
> connect was sometimes NOT called!
> I saw examples where after Samba was restarted and I tried to access a file
> in the VFS share, the first call after vfs_init was an open.
> So that strategy did not work (using Samba 3.0alpha17)

then this is clearly a bug. What I did for testing was to create a persistent
structure in connect(), which gets deleted in disconnect(). When a vfs 
function is called, it searches a linked list of persistent objects until it 
finds it's connection number "SNUM(conn)".


More information about the samba-technical mailing list