summaryrefslogtreecommitdiff
path: root/source3
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
commit59e9c62a66c4f2a6f76b0c32f2836ebcfaa23263 (patch)
treec113463b6f176b37b886d5530990c7121fa99478 /source3
parent24d03aefe9c3055c979b6f5b178dd0e3df1225cc (diff)
downloadsamba-59e9c62a66c4f2a6f76b0c32f2836ebcfaa23263.tar.gz
samba-59e9c62a66c4f2a6f76b0c32f2836ebcfaa23263.tar.bz2
samba-59e9c62a66c4f2a6f76b0c32f2836ebcfaa23263.zip
Reference about SIDs from tpot.
(This used to be commit 53963eae7d5930246c6c0c0b947f425d50d382c3)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/smb.h20
1 files changed, 13 insertions, 7 deletions
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