diff options
author | Günther Deschner <gd@samba.org> | 2009-04-17 11:21:20 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-17 11:21:20 +0200 |
commit | 0ba833f3eedff5dec272eb71f3b09becd8707156 (patch) | |
tree | 93d3092bcfa5b61deefca9b6b80553ecd48250b1 /source3/rpc_server | |
parent | 490f6c418d8b1280d0a3b85773a72b2047122c12 (diff) | |
download | samba-0ba833f3eedff5dec272eb71f3b09becd8707156.tar.gz samba-0ba833f3eedff5dec272eb71f3b09becd8707156.tar.bz2 samba-0ba833f3eedff5dec272eb71f3b09becd8707156.zip |
s3-samr: set the builtin_domain bool flag in get_samr_dispinfo_by_sid().
Volker, please check.
Found by torture test RPC-SAMR-PASSWORDS-PWDLASTSET (which we pass with
this fix).
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index b153bef1c2..165fb1729c 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -343,6 +343,7 @@ static DISP_INFO *get_samr_dispinfo_by_sid(DOM_SID *psid) } } sid_copy(&builtin_dispinfo->sid, &global_sid_Builtin); + builtin_dispinfo->builtin_domain = true; return builtin_dispinfo; } @@ -359,6 +360,7 @@ static DISP_INFO *get_samr_dispinfo_by_sid(DOM_SID *psid) } } sid_copy(&domain_dispinfo->sid, get_global_sam_sid()); + domain_dispinfo->builtin_domain = false; return domain_dispinfo; } |