[Samba] smb vfs modules queries

Gerald (Jerry) Carter jerry at samba.org
Thu Jan 6 15:06:51 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

caas it wrote:
| I am using samba-3.0.7 on kernel version 2.6.5-3
| (client as well as server).
| I traced the exact function calling sequence when a
| "mkdir" command is given at the client side.
| I got stuck at the server side,
|
| 	source/smbd/vfs.c - vfs_MkDir() -
| SMB_VFS_MKDIR(conn,name,mode)  (line no 357)
|
| Could anyone please tell me exactly where is the
| vfs_ops struct initialised, and which function will
| actually get called in the above call, for the
| described case?

Look in source/smbd/vfs.c.  You get the default vfs_ops
struct unless overridden in the service definition (i.e.
vfs_init_custom() ).

|
| Also, I set up the log level as 100 in the smb.conf
| file, but the DEBUG statements in the code executed at
| the client side are not seen in the log files at the
| client, as they can be seen at the server side. What
| needs to be done so that all these DEBUG statements
| are seen in the client log files?

?  The client log and server logs are isolated by the
different ends on the conversation.  You can't consolidate
the server log files into the client log.  Not sure exactly
what you are asking here.









cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB3VQLIR7qMdg1EfYRAuHCAKCo5Q2S12H5NuGwed0fUDLnrKhxDwCfV1xL
C9D9uHGPtAXunzpoI7Cpd24=
=VkSH
-----END PGP SIGNATURE-----


More information about the samba mailing list