[Samba] looking for multi-thread samba client application code example

2009-04-03 Thread Sun_Peixing
I want to write a samba 4 test application using multi-thread. Each thread makes its own CIFS/SMB connections. I read the following page saying that Samba (server) is not multi-threaded. http://www.samba.org/samba/docs/man/Samba-Developers-Guide/architecture. html But I am doing samba Clie

[Samba] Serious memory leak found in samba4-0.0-alpha4, function smb2_connect

2008-07-31 Thread Sun_Peixing
Dear All: I am writing a test driver that makes large number of connections to SMB2 server, and then disconnect. I am suing smaba4.0.0-alpha4. I found serious memory leaks in source/libcli/smb2/smb2_connect(). Smb2_connect creates 3 composite_context structure (2 in smb2_connect_sen