* sec_auth.cc (get_server_groups): Ignore errors from

get_user_local_groups.
This commit is contained in:
Corinna Vinschen 2009-06-23 10:23:16 +00:00
parent d6bb3f330d
commit bc4020d725
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2009-06-23 Corinna Vinschen <corinna@vinschen.de>
* sec_auth.cc (get_server_groups): Ignore errors from
get_user_local_groups.
2009-06-22 Corinna Vinschen <corinna@vinschen.de>
* spawn.cc (spawn_guts): Don't run additional check for Win32

View File

@ -404,13 +404,10 @@ get_server_groups (cygsidlist &grp_list, PSID usersid, struct passwd *pw)
&& !get_user_groups (server, grp_list, user, domain)
&& get_logon_server (domain, server, true))
get_user_groups (server, grp_list, user, domain);
if (get_user_local_groups (server, domain, grp_list, user))
{
get_user_local_groups (server, domain, grp_list, user);
get_unix_group_sidlist (pw, grp_list);
return true;
}
return false;
}
static bool
get_initgroups_sidlist (cygsidlist &grp_list,