summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-11-23 05:34:41 +0000
committerMartin Pool <mbp@samba.org>2001-11-23 05:34:41 +0000
commit53963eae7d5930246c6c0c0b947f425d50d382c3 (patch)
treecd85ae0f3865878b9eb4016a0fa50313cadd27a2 /source/include
parenta875b3a6e7a9501a31fe15fb9b04394a95484e77 (diff)
downloadsamba-53963eae7d5930246c6c0c0b947f425d50d382c3.tar.gz
samba-53963eae7d5930246c6c0c0b947f425d50d382c3.tar.xz
samba-53963eae7d5930246c6c0c0b947f425d50d382c3.zip
Reference about SIDs from tpot.
Diffstat (limited to 'source/include')
-rw-r--r--source/include/smb.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index af73b64d15b..d3b999f3cb0 100644
--- a/source/include/smb.h
+++ b/source/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