* mkgroup.c (main): Call enum_local_groups with offset 0x30000 for local

machine, too.
This commit is contained in:
Corinna Vinschen 2014-11-28 08:44:39 +00:00
parent f3939c059c
commit 3bde24b892
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-11-28 Corinna Vinschen <corinna@vinschen.de>
* mkgroup.c (main): Call enum_local_groups with offset 0x30000 for local
machine, too.
2014-11-27 Corinna Vinschen <corinna@vinschen.de>
* mkgroup.c (main): Call enum_groups with offset 0x30000 for local

View File

@ -779,8 +779,9 @@ main (int argc, char **argv)
{
if (domlist[i].domain || !domlist[i].str)
continue;
if (!enum_local_groups (domlist + i, sep_char, off, disp_groupname,
print_builtin, print_current))
if (!enum_local_groups (domlist + i, sep_char,
(nss_src == NSS_SRC_FILES) ? 0x30000 : off,
disp_groupname, print_builtin, print_current))
{
enum_groups (domlist + i, sep_char,
(nss_src == NSS_SRC_FILES) ? 0x30000 : off,