[Samba] Different behaviour of samba share in XP and Windows
Gerald (Jerry) Carter
jerry at samba.org
Thu Mar 24 15:52:20 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Kiran VM wrote:
|>| CString strSearchPath =
|>| CStdioFile fValueFile;
|>| if( !fValueFile.Open(strSearchPath,CFile::modeReadWrite ) )
|>| //CloseHandle( (HANDLE)fValueFile.m_hFile );
| Hello Jerry,
| I just now compiled and installed 3.0.13. But the result is the same.
| Any idea why this is happening?
Nope. Just to make sure I understand the issue. With a Samba
file share you have to explicitly include the call to CloseHandle()
where as on a 2k3 file server, the Close() method handles it all
right? How do you know you're leaking handles here ? e.g. what
tool are you using ?
We'll probably need to look at raw network traces between the same test
program run against 2k3 and Samba file servers.
Alleviating the pain of Windows(tm) ------- http://www.samba.org
GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back." Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba