1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-21 20:23:50 +03:00

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 commit is contained in:
Luke Leighton
-
parent 399035098f
commit da40f26f4b
15 changed files with 166 additions and 104 deletions

View File

@@ -32,7 +32,7 @@ extern int DEBUGLEVEL;
extern BOOL sam_logon_in_ssb;
extern pstring samlogon_user;
extern pstring global_myname;
extern DOM_SID global_machine_sid;
extern DOM_SID global_sam_sid;
/*************************************************************************
make_net_r_req_chal:
@@ -790,7 +790,7 @@ static void api_net_sam_logon( uint16 vuid,
my_name , /* char *logon_srv */
my_workgroup, /* char *logon_dom */
&global_machine_sid, /* DOM_SID *dom_sid */
&global_sam_sid, /* DOM_SID *dom_sid */
NULL); /* char *other_sids */
}
else