* uinfo.cc (cygheap_domain_info::init): Drop accidentally leftover if
statement.
This commit is contained in:
parent
b0244c497b
commit
85827fa685
|
@ -1,3 +1,8 @@
|
||||||
|
2014-02-10 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* uinfo.cc (cygheap_domain_info::init): Drop accidentally leftover if
|
||||||
|
statement.
|
||||||
|
|
||||||
2014-02-10 Corinna Vinschen <corinna@vinschen.de>
|
2014-02-10 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* uinfo.cc (cygheap_domain_info::init): Fix handling of account domain
|
* uinfo.cc (cygheap_domain_info::init): Fix handling of account domain
|
||||||
|
|
|
@ -750,8 +750,7 @@ cygheap_domain_info::init ()
|
||||||
trying to compute the uid/gid values. Therefore we invalidate the account
|
trying to compute the uid/gid values. Therefore we invalidate the account
|
||||||
domain name if we're running on a DC. */
|
domain name if we're running on a DC. */
|
||||||
adom_sid = adom->DomainSid;
|
adom_sid = adom->DomainSid;
|
||||||
if (pdom_sid == adom_sid)
|
adom_name = cwcsdup (pdom_sid == adom_sid ? L"@" : adom->DomainName.Buffer);
|
||||||
adom_name = cwcsdup (pdom_sid == adom_sid ? L"@" : adom->DomainName.Buffer);
|
|
||||||
LsaFreeMemory (adom);
|
LsaFreeMemory (adom);
|
||||||
lsa_close_policy (lsa);
|
lsa_close_policy (lsa);
|
||||||
if (cygheap->dom.member_machine ())
|
if (cygheap->dom.member_machine ())
|
||||||
|
|
Loading…
Reference in New Issue