* 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

@ -404,12 +404,9 @@ 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_unix_group_sidlist (pw, grp_list);
return true;
}
return false;
get_user_local_groups (server, domain, grp_list, user);
get_unix_group_sidlist (pw, grp_list);
return true;
}
static bool