diff options
author | Luke Leighton <lkcl@samba.org> | 1998-11-12 19:21:20 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-11-12 19:21:20 +0000 |
commit | 597c5a6caa871b724ee1337f14467950b0707b34 (patch) | |
tree | 5e32ee8e5887ad0a650721b592b8364d2b1bd98c /source3/rpc_server | |
parent | 7e71258563a8d34eb1fa1a67e27d7339510bffc9 (diff) | |
download | samba-597c5a6caa871b724ee1337f14467950b0707b34.tar.gz samba-597c5a6caa871b724ee1337f14467950b0707b34.tar.bz2 samba-597c5a6caa871b724ee1337f14467950b0707b34.zip |
jean-f. sent me some S-1-3-0,1,2,3 SIDs and names. S-1-3 doesn't exist.
security descriptor testing. hey wow, you can get a SD then send it back!
(This used to be commit 7466c3113ef8f8a89b8496efadfeb611c9f3e069)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_sid.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_sid.c b/source3/rpc_server/srv_sid.c index b80902dbaa..29cc1c936c 100644 --- a/source3/rpc_server/srv_sid.c +++ b/source3/rpc_server/srv_sid.c @@ -63,8 +63,11 @@ DOM_SID global_member_sid; DOM_SID global_sid_S_1_5_20; /* local well-known domain */ DOM_SID global_sid_S_1_1; /* everyone */ -DOM_SID global_sid_S_1_3; /* */ DOM_SID global_sid_S_1_5; /* NT Authority */ +DOM_SID global_sid_S_1_3_0; /* Creator owner */ +DOM_SID global_sid_S_1_3_1; /* Creator group */ +DOM_SID global_sid_S_1_3_2; /* Creator owner server */ +DOM_SID global_sid_S_1_3_3; /* Creator group server */ extern pstring global_myworkgroup; /* extern fstring global_member_dom_name; */ @@ -79,7 +82,10 @@ sid_name_map[] = { { &global_sid_S_1_5_20, "BUILTIN" }, { &global_sid_S_1_1 , "Everyone" }, - { &global_sid_S_1_3 , "don't know" }, + { &global_sid_S_1_3_0 , "Creator Owner" }, + { &global_sid_S_1_3_1 , "Creator Group" }, + { &global_sid_S_1_3_2 , "Creator Owner Server" }, + { &global_sid_S_1_3_3 , "Creator Group Server" }, { &global_sid_S_1_5 , "NT Authority" }, { &global_sam_sid , global_sam_name }, { &global_member_sid , global_myworkgroup }, @@ -211,7 +217,10 @@ void generate_wellknown_sids(void) { string_to_sid(&global_sid_S_1_5_20, "S-1-5-32"); string_to_sid(&global_sid_S_1_1 , "S-1-1" ); - string_to_sid(&global_sid_S_1_3 , "S-1-3" ); + string_to_sid(&global_sid_S_1_3_0 , "S-1-3-0" ); + string_to_sid(&global_sid_S_1_3_1 , "S-1-3-1" ); + string_to_sid(&global_sid_S_1_3_2 , "S-1-3-2" ); + string_to_sid(&global_sid_S_1_3_3 , "S-1-3-3" ); string_to_sid(&global_sid_S_1_5 , "S-1-5" ); } |