[PATCH] Support Setup[SetupCount] values in nttrans response packets

David Disseldorp ddiss at sgi.com
Mon Jun 23 01:21:44 GMT 2008


On Fri, 20 Jun 2008 11:34:21 +0200
Volker Lendecke <Volker.Lendecke at SerNet.DE> wrote:

> First a purely stylistic, trivial one: We're trying to
> standardize on uint16_t, not uint16 these days. For new code
> that should be the the one to use.
> 
> Then another stylistic one: The do {} while variant of a
> loop is a bit cumbersome to read. Can we turn that into the
> old form again?

No problems, i'll change the areas above.

> And then a real question: You seem to send the setup
> portion of the reply in every partial nttrans reply packet.
> Is that the right way to do? I don't know how to trigger
> that with Windows, but it looks wrong to me.

Not sure, draft-leach-cifs-v1-spec-02 is vaugue in this regard.
As you say, triggering a multi packet nttrans server response
will be difficult. I'm not sure what the maximum security descriptor
size is, but i'd assume I wont be able to hit it using
QUERY_SECURITY_DESC. I'll do some investigation.

Cheers, Dave


More information about the samba-technical mailing list