From 59e9c62a66c4f2a6f76b0c32f2836ebcfaa23263 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 23 Nov 2001 05:34:41 +0000 Subject: Reference about SIDs from tpot. (This used to be commit 53963eae7d5930246c6c0c0b947f425d50d382c3) --- source3/include/smb.h | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'source3/include/smb.h') diff --git a/source3/include/smb.h b/source3/include/smb.h index af73b64d15..d3b999f3cb 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -277,17 +277,23 @@ struct use_info #endif #ifndef _DOM_SID -/* DOM_SID - security id */ +/** + * @brief Security Identifier + * + * @sa http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/accctrl_38yn.asp + **/ typedef struct sid_info { - uint8 sid_rev_num; /* SID revision number */ - uint8 num_auths; /* number of sub-authorities */ - uint8 id_auth[6]; /* Identifier Authority */ + uint8 sid_rev_num; /**< SID revision number */ + uint8 num_auths; /**< Number of sub-authorities */ + uint8 id_auth[6]; /**< Identifier Authority */ /* - * Note that the values in these uint32's are in *native* byteorder, - * not neccessarily little-endian...... JRA. + * Pointer to sub-authorities. + * + * @note The values in these uint32's are in *native* byteorder, not + * neccessarily little-endian...... JRA. */ - uint32 sub_auths[MAXSUBAUTHS]; /* pointer to sub-authorities. */ + uint32 sub_auths[MAXSUBAUTHS]; } DOM_SID; #define _DOM_SID -- cgit