search for: example_connect

Displaying 2 results from an estimated 2 matches for "example_connect".

2004 Feb 17
0
VFS module programmieren
...s_op_tuple; op the function pointer to the specified function. type the vfs_op_type of the function to specified witch operation the function provides. layer the vfs_op_layer in whitch the function operates. A simple example: static vfs_op_tuple example_op_tuples[] = { {SMB_VFS_OP(example_connect), SMB_VFS_OP_CONNECT, SMB_VFS_LAYER_TRANSPARENT}, {SMB_VFS_OP(example_disconnect), SMB_VFS_OP_DISCONNECT, SMB_VFS_LAYER_TRANSPARENT}, {SMB_VFS_OP(example_rename), SMB_VFS_OP_RENAME, SMB_VFS_LAYER_OPAQUE}, /* This indicates the end of the array */ {SMB_VFS_OP(NULL), SMB_VFS_OP_NOOP, SMB_VFS...
2005 Feb 02
0
Re: VFS calls after disconnect
Hello, Below is the sample code almost similar to the one in Samba Developers's guide. I tested it with a win2k client for samba 3.0.2a on FreeBSD. When the example_connect is called the second time by the same client handle->data is null. The test can be reproduced as follows- 1) search for the computer from windows explorer. Access the vfs share and create directory or perform any other operation. 2) use the back button of the explorer to return back to the share...