diff options
author | Jeremy Allison <jra@samba.org> | 2004-05-20 01:38:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:38 -0500 |
commit | 538b66f4e97e5e7b989e5533080f601d5b04c75e (patch) | |
tree | 2023411a882e9e38db1dfe7a1bcb591a3fb9304a /source/passdb | |
parent | 4695cc95fe576b6da0d0cb0686f208fc306b2646 (diff) | |
download | samba-538b66f4e97e5e7b989e5533080f601d5b04c75e.tar.gz samba-538b66f4e97e5e7b989e5533080f601d5b04c75e.tar.xz samba-538b66f4e97e5e7b989e5533080f601d5b04c75e.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[] = { |