summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-04-09 11:46:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:33 -0500
commit83e11ba86c2401ece3c845fd10c22b84e6be7811 (patch)
tree4441dcc906c860effaadcf6e730245ef10626103 /source3/include
parent16167208cfb5d8f995126a4af98911240d58e007 (diff)
downloadsamba-83e11ba86c2401ece3c845fd10c22b84e6be7811.tar.gz
samba-83e11ba86c2401ece3c845fd10c22b84e6be7811.tar.bz2
samba-83e11ba86c2401ece3c845fd10c22b84e6be7811.zip
r6263: Get rid of generate_wellknown_sids, they are const static and initializable
statically. Volker (This used to be commit 3493d9f383567d286e69c0e60c0708ed400a04d9)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index d12459c2f9..80b2075651 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -287,6 +287,28 @@ typedef struct sid_info
} DOM_SID;
+/* Some well-known SIDs */
+extern const DOM_SID global_sid_World_Domain;
+extern const DOM_SID global_sid_World;
+extern const DOM_SID global_sid_Creator_Owner_Domain;
+extern const DOM_SID global_sid_NT_Authority;
+extern const DOM_SID global_sid_System;
+extern const DOM_SID global_sid_NULL;
+extern const DOM_SID global_sid_Authenticated_Users;
+extern const DOM_SID global_sid_Network;
+extern const DOM_SID global_sid_Creator_Owner;
+extern const DOM_SID global_sid_Creator_Group;
+extern const DOM_SID global_sid_Anonymous;
+extern const DOM_SID global_sid_Builtin;
+extern const DOM_SID global_sid_Builtin_Administrators;
+extern const DOM_SID global_sid_Builtin_Users;
+extern const DOM_SID global_sid_Builtin_Guests;
+extern const DOM_SID global_sid_Builtin_Power_Users;
+extern const DOM_SID global_sid_Builtin_Account_Operators;
+extern const DOM_SID global_sid_Builtin_Server_Operators;
+extern const DOM_SID global_sid_Builtin_Print_Operators;
+extern const DOM_SID global_sid_Builtin_Backup_Operators;
+extern const DOM_SID global_sid_Builtin_Replicator;
/*
* The complete list of SIDS belonging to this user.