diff options
author | Jeremy Allison <jra@samba.org> | 2004-05-20 01:38:26 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-05-20 01:38:26 +0000 |
commit | 401a827672f8f641eaed826791ae45c8c847b20c (patch) | |
tree | a4c6a827d04fee686e5cc35c1414624bf9532675 /source/passdb | |
parent | 4415c2f0ded271085a6ecae0cb9787956acd8b2a (diff) | |
download | samba-401a827672f8f641eaed826791ae45c8c847b20c.tar.gz samba-401a827672f8f641eaed826791ae45c8c847b20c.tar.xz samba-401a827672f8f641eaed826791ae45c8c847b20c.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.
Diffstat (limited to 'source/passdb')
-rw-r--r-- | source/passdb/util_sam_sid.c | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/source/passdb/util_sam_sid.c b/source/passdb/util_sam_sid.c index 63ef5914af8..45ffe2460b2 100644 --- a/source/passdb/util_sam_sid.c +++ b/source/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[] = { |