command chaining problem

Michael B. Allen mballen at erols.com
Sat Feb 24 07:47:39 GMT 2001


On Sat, Feb 24, 2001 at 12:37:17AM -0600, Nitin Bahadur wrote:
> 
> I was going through the samba client code and was
> unable to find where the code was for sending chained
> commands. I could locate the code for replying to chained
> commands but i could not locate code for creating chained
> commands. Can you please help me as I need to create chained
> commands at client end.

I do not believe smbclient nor libsmbclient can do batched
requests. Chaining however is only a performace optimisation and as such
is not required. So you don't *need* it.

Unless ... I suppose you're testing something in which case the Java
client at http://jcifs.samba.org can chain any _ANDX command any number
of levels deep logic permitting. But at the moment it's disabled
until reentrance problems have been resolved(which I beleive they have).

Mike




More information about the samba-technical mailing list