summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-05-20 01:38:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:38 -0500
commit0f5e40b14ee619725507eb466d3a8d6fd893a143 (patch)
tree11597b2e291e975f6ba8ceff0b3f7e5e6fe4359f /source3
parent8c0db1bbc469932694ed877eebecffa3d1948abd (diff)
downloadsamba-0f5e40b14ee619725507eb466d3a8d6fd893a143.tar.gz
samba-0f5e40b14ee619725507eb466d3a8d6fd893a143.tar.bz2
samba-0f5e40b14ee619725507eb466d3a8d6fd893a143.zip
r788: Inspired by patch from "Jianliang Lu" <j.lu@tiesse.com>. Correct
sid type is WKN_GROUP, not alias. Added some more known types. Jeremy. (This used to be commit 538b66f4e97e5e7b989e5533080f601d5b04c75e)
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/util_sam_sid.c27
1 files changed, 17 insertions, 10 deletions
diff --git a/source3/passdb/util_sam_sid.c b/source3/passdb/util_sam_sid.c
index 63ef5914af..45ffe2460b 100644
--- a/source3/passdb/util_sam_sid.c
+++ b/source3/passdb/util_sam_sid.c
@@ -56,16 +56,23 @@ static const known_sid_users creator_owner_users[] = {
{0, (enum SID_NAME_USE)0, NULL}};
static const known_sid_users nt_authority_users[] = {
- { 1, SID_NAME_ALIAS, "Dialup" },
- { 2, SID_NAME_ALIAS, "Network"},
- { 3, SID_NAME_ALIAS, "Batch"},
- { 4, SID_NAME_ALIAS, "Interactive"},
- { 6, SID_NAME_ALIAS, "Service"},
- { 7, SID_NAME_ALIAS, "AnonymousLogon"},
- { 8, SID_NAME_ALIAS, "Proxy"},
- { 9, SID_NAME_ALIAS, "ServerLogon"},
- { 11, SID_NAME_ALIAS, "Authenticated Users"},
- { 18, SID_NAME_ALIAS, "SYSTEM"},
+ { 1, SID_NAME_WKN_GRP, "Dialup" },
+ { 2, SID_NAME_WKN_GRP, "Network"},
+ { 3, SID_NAME_WKN_GRP, "Batch"},
+ { 4, SID_NAME_WKN_GRP, "Interactive"},
+ { 6, SID_NAME_WKN_GRP, "Service"},
+ { 7, SID_NAME_WKN_GRP, "AnonymousLogon"},
+ { 8, SID_NAME_WKN_GRP, "Proxy"},
+ { 9, SID_NAME_WKN_GRP, "ServerLogon"},
+ { 10, SID_NAME_WKN_GRP, "Self"},
+ { 11, SID_NAME_WKN_GRP, "Authenticated Users"},
+ { 12, SID_NAME_WKN_GRP, "Restricted"},
+ { 13, SID_NAME_WKN_GRP, "Terminal Server User"},
+ { 14, SID_NAME_WKN_GRP, "Remote Interactive Logon"},
+ { 15, SID_NAME_WKN_GRP, "This Organization"},
+ { 18, SID_NAME_WKN_GRP, "SYSTEM"},
+ { 19, SID_NAME_WKN_GRP, "Local Service"},
+ { 20, SID_NAME_WKN_GRP, "Network Service"},
{ 0, (enum SID_NAME_USE)0, NULL}};
static const known_sid_users builtin_groups[] = {