Luke Kenneth Casson Leighton
lkcl at samba.org
Wed Jan 12 13:48:51 GMT 2000
On Wed, 12 Jan 2000, Matt Chapman wrote:
> On Wed, Jan 12, 2000 at 09:54:24AM +1100, Luke Kenneth Casson Leighton wrote:
> > matty, can u look at running usrmgr.exe in SAMBA_TNG, it's failing on
> > query_dispinfo, level 3, you wrote that code :)
> nothing to do with query_dispinfo... the SMB error code is not being
> set correctly to indicate there is more data to come (should be
> ERRDOS/ERRmoredata or STATUS_BUFFER_OVERFLOW depending on
> the client capabilities, see smbd/ipc.c).
uhh? oops! awww, nuts, they don't rely on that, do they? aww, sod it
and sod it some more.
> can you work out how to resolve that, it's your pipe code :-)
yes, i can :)
i mean, buffer.
> > btw i deliberately avoided "adding up" string sizes to get buffer sizes,
> > because what about string alignment? you wanna add _that_ up too?
> i'm just following what nt does - gives the total unmarshalled size
> as the total size of structures + total length of strings. note this is
> different from the on-wire buffer size.
oh dear. oh dearie me...
More information about the samba-technical