PAC Progress

Stefan (metze) Metzmacher metze at samba.org
Mon Jul 4 07:24:19 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Luke Howard schrieb:
>>I'm not sure it is worth the pidl mangling to 'peek into' that byte
>>buffer, and it is the management of that byte buffer that I'm having the
>>most trouble with.  To me, it looks like the pointed-to BUFFERS on the
>>wire are padded behind to force the next structure to be 8 byte
>>aligned. 
> 
> 
> Have you read the MSDN specification at:
> 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnkerb/html/msdn_pac.asp
> 
> It specifies that all buffer offsets are multiples of 8.

yep, but that doesn't explain the padding to at the end of the last buffer,
so this means that the buffersize should be also a multiple of 8 not only the offset

- --
metze

Stefan Metzmacher <metze at samba.org> www.samba.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCyOQhm70gjA5TCD8RAk4eAKCidDSi1qBJtjLrhhfUX227GTlBkQCgyR7Q
pxgH3NtgaTTLnxSx72CraUU=
=ryLD
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list