diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/security.cc | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index ad38342f5..4a9e66c6e 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2002-07-23 Corinna Vinschen <corinna@vinschen.de> + + * security.cc (get_group_sidlist): Create group list from /etc files + even if DC is available but access fails. + 2002-07-22 Christopher Faylor <cgf@redhat.com> * fhandler_serial.cc: Fix formatting problems introduced by below diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc index 6e79c00db..1e9a860c2 100644 --- a/winsup/cygwin/security.cc +++ b/winsup/cygwin/security.cc @@ -525,10 +525,8 @@ get_group_sidlist (cygsidlist &grp_list, auth_pos = grp_list.count - 1; } extract_nt_dom_user (pw, domain, user); - /* Fail silently if DC is not reachable */ - if (get_logon_server (domain, server, wserver) && - !get_user_groups (wserver, grp_list, user, domain)) - return FALSE; + if (get_logon_server (domain, server, wserver)) + get_user_groups (wserver, grp_list, user, domain); get_unix_group_sidlist (pw, grp_list); if (!get_user_local_groups (grp_list, usersid)) return FALSE; |