diff options
author | Luke Leighton <lkcl@samba.org> | 1998-10-21 22:36:26 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-10-21 22:36:26 +0000 |
commit | eadc5b8c6ecdd6892647d391e1976b2c708d1ea0 (patch) | |
tree | 8aa495516461fd94ddbafcb6a52e0a4825de1ae6 /source3/lsarpcd | |
parent | 21e107fd42eb953affac28239588458c6c0ee323 (diff) | |
download | samba-eadc5b8c6ecdd6892647d391e1976b2c708d1ea0.tar.gz samba-eadc5b8c6ecdd6892647d391e1976b2c708d1ea0.tar.bz2 samba-eadc5b8c6ecdd6892647d391e1976b2c708d1ea0.zip |
domain aliases added a bit better: does local aliases if you query
for sid S-1-5-20 and does (nothing at the moment) if you query for
your own sid.
(This used to be commit da40f26f4b2f7ce286076b4e39dffd76aa2ef8e6)
Diffstat (limited to 'source3/lsarpcd')
-rw-r--r-- | source3/lsarpcd/srv_lsa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lsarpcd/srv_lsa.c b/source3/lsarpcd/srv_lsa.c index 93584b5acf..a355f0b311 100644 --- a/source3/lsarpcd/srv_lsa.c +++ b/source3/lsarpcd/srv_lsa.c @@ -28,7 +28,7 @@ #include "nterr.h" extern int DEBUGLEVEL; -extern DOM_SID global_machine_sid; +extern DOM_SID global_sam_sid; /*************************************************************************** lsa_reply_open_policy2 @@ -373,7 +373,7 @@ static void api_lsa_query_info( uint16 vuid, prs_struct *data, pstrcpy(dom_name, lp_workgroup()); /* construct reply. return status is always 0x0 */ - lsa_reply_query_info(&q_i, rdata, dom_name, &global_machine_sid); + lsa_reply_query_info(&q_i, rdata, dom_name, &global_sam_sid); } /*************************************************************************** @@ -406,7 +406,7 @@ static void api_lsa_lookup_sids( uint16 vuid, prs_struct *data, string_to_sid(&sid_S_1_5, "S-1-5"); dom_names[0] = dom_name; - sid_array[0] = &global_machine_sid; + sid_array[0] = &global_sam_sid; dom_names[1] = "Everyone"; sid_array[1] = &sid_S_1_1; @@ -458,7 +458,7 @@ static void api_lsa_lookup_names( uint16 vuid, prs_struct *data, string_to_sid(&sid_S_1_5, "S-1-5"); dom_names[0] = dom_name; - sid_array[0] = &global_machine_sid; + sid_array[0] = &global_sam_sid; dom_names[1] = "Everyone"; sid_array[1] = &sid_S_1_1; |