[Samba] Asynchronous Communications

Andrew Bartlett abartlet at samba.org
Fri Jan 26 03:47:36 GMT 2007


On Thu, 2007-01-25 at 19:08 -0800, Nagendra S wrote:
> Hello,
> 
> I've written a BSD application that has to do many parallel CIFS
> authentications, SID to name, and name to SID operations.  It was written
> using smbclient application as an example and links against libsmb.  The
> problem is that it doesn't seem possible to send a large number of parallel
> operations to the domain controller using the samba libraries, unless I fork
> a lot of processes, which I cannot easily do.  Even worse, if I send a long
> running operation to the DC, all other operations block behind it.
> 
> Is there code in Samba to do asynchronous communications to the DC?  If not
> in 3.21c, will this be available in v4 and when?  Am I just missing
> something?

Samba4 has a demonstration of parallel sid2name and name2sid operations
in the RPC-LSA torture test.  However, parallel authentication isn't
possible, due to limitations on the windows server side (it dumps the
connection...).

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20070126/43725cee/attachment.bin


More information about the samba mailing list