samba_tng usrmgr
Matt Chapman
matty at samba.org
Wed Jan 12 08:20:18 GMT 2000
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).
can you work out how to resolve that, it's your pipe code :-)
> 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.
Matt
--
Matthew "Austin" Chapman
SysAdmin, Developer, Samba Team Member
More information about the samba-technical
mailing list