[Samba] Problem in code tracing (reply)

Gerald (Jerry) Carter jerry at samba.org
Fri Jan 7 16:39:13 GMT 2005


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

caas it wrote:

| Regarding the first one, I traced the function pointer
| from the default vfs_ops struct, to
| 	smbd/vfs-wrap.c/vfswrap_mkdir()
|
| In this function, mkdir(path,mode) is called (line no.
| 124). This token leads to
| smbwrapper/wrapped.c/mkdir()	line no. 345
| However, this function does not seem to get called, as
| the DEBUG statements in this function are not seen in
| the log files. Does any other function (maybe a system
| function) get called? Or is there a problem with the
| DEBUG statement?

smbwrapper has nothing to do with the server vfs code.
See the manpage on mkdir(2).

| As you have stated correctly  the client and server
| logs are not consolidated. However, what I want to
| know is where do the DEBUG statements in the client
| code (for example client/client.c/do_this_one() line
| no. 309) get printed? Also, where are the d_printf()
| statements printed?

stdout or to the log file defined by the -l command line option.








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

iD8DBQFB3rsxIR7qMdg1EfYRAh4kAJ4hFQK7SElsQbh9Zm7v0bPqdMhCTQCfeJdS
MIlHuiL42+Ve5lwYL6W2XEc=
=vNym
-----END PGP SIGNATURE-----


More information about the samba mailing list