summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-03-10 01:51:15 +0000
committerAndrew Tridgell <tridge@samba.org>2002-03-10 01:51:15 +0000
commit683ba419ff2aeca94971a3bba9d7a1ee45374045 (patch)
tree01c55f31d512c06bedc934853b419904d5d985c9
parentb84c24092eb5bc9886a092f6570136e3333274db (diff)
downloadsamba-683ba419ff2aeca94971a3bba9d7a1ee45374045.tar.gz
samba-683ba419ff2aeca94971a3bba9d7a1ee45374045.tar.bz2
samba-683ba419ff2aeca94971a3bba9d7a1ee45374045.zip
add a note about the meaning of global_sam_sid
(This used to be commit 3db97530b62ac12d334d0244ea52db8750cebf2e)
-rw-r--r--source3/lib/util_sid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c
index 436f045e97..8bd19bb46b 100644
--- a/source3/lib/util_sid.c
+++ b/source3/lib/util_sid.c
@@ -22,6 +22,9 @@
#include "includes.h"
+/* NOTE! the global_sam_sid is the SID of our local SAM. This is only
+ equal to the domain SID when we are a DC, otherwise its our
+ workstation SID */
DOM_SID global_sam_sid;
extern pstring global_myname;
extern fstring global_myworkgroup;