Kerberos Ticket Forwarding Patch/Update (3.2)

Jeremy Allison jra at samba.org
Fri Aug 1 00:38:50 GMT 2008


On Mon, Jul 28, 2008 at 05:56:24PM -0400, Derrick Schommer wrote:
> Ah yes, forgot, samba probably actually compiles on a BE system. :) 

Use the following MACROs to convert native byte order to LE.

SSVAL(buf,pos,val) - put a 2 byte SMB value (val) into a buffer (buf) at position (pos)
SIVAL(buf,pos,val) - put a 4 byte SMB value (val) into a buffer (buf) at position (pos)

These are defined in include/byteorder.h and are what we
use for creating LE fields in the SMB protocol.

Jeremy.


More information about the samba-technical mailing list