2.2.2.23 sid
This type is used to define a Windows account SID when used as input to look up the UNIX account mapping details that correspond to the Windows account represented by this SID. For more details, see section 2.2.5.10 and section 2.2.5.18.
-
struct sid { char SID<MAXSIDLEN>; };
SID: An array of XDR-encoded unsigned bytes that is a stream representation of the Windows account SID, as specified in [MS-DTYP] section 2.4.2. The SubAuthority field of the SID packet ([MS-DTYP] section 2.4.2.2) is a variable-length array of unsigned 32-bit little-endian integers. The sid structure is an opaque data type generated by the Windows security subsystem. It is not converted to any byte-ordered network representation and SHOULD NOT be interpreted by the User Name Mapping Protocol client or server directly; instead, it SHOULD be supplied to the underlying implementation-defined security subsystem. The maximum size of the SID array in the sid structure is MAXSIDLEN.
Note Because the SID is transmitted as a raw array of bytes, the client and server MUST have identical native SID representations for user name mapping to succeed. See section 4.9 and section 4.17 for examples.