* uinfo.cc (pwdgrp::fetch_account_from_windows): Only fetch extended
user info if we're creating a passwd entry. Add comment.
This commit is contained in:
parent
6cc7c925ce
commit
f024a32928
@ -1,3 +1,8 @@
|
|||||||
|
2014-02-28 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* uinfo.cc (pwdgrp::fetch_account_from_windows): Only fetch extended
|
||||||
|
user info if we're creating a passwd entry. Add comment.
|
||||||
|
|
||||||
2014-02-28 Corinna Vinschen <corinna@vinschen.de>
|
2014-02-28 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* cygheap.h (cygheap_user::sid): Return reference to cygpsid rather
|
* cygheap.h (cygheap_user::sid): Return reference to cygpsid rather
|
||||||
|
@ -1501,7 +1501,9 @@ pwdgrp::fetch_account_from_windows (fetch_user_arg_t &arg, bool group,
|
|||||||
|
|
||||||
if (is_domain_account)
|
if (is_domain_account)
|
||||||
{
|
{
|
||||||
if (acc_type != SidTypeUser)
|
/* We only care for the extended user information if we're
|
||||||
|
creating a passwd entry and the account is, in fact, a user. */
|
||||||
|
if (group || acc_type != SidTypeUser)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* Default primary group. If the sid is the current user, fetch
|
/* Default primary group. If the sid is the current user, fetch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user