summaryrefslogtreecommitdiff
path: root/source3/groupdb/aliasunix.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/groupdb/aliasunix.c')
-rw-r--r--source3/groupdb/aliasunix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/aliasunix.c b/source3/groupdb/aliasunix.c
index 39d7255ac5..e4a86d4fcd 100644
--- a/source3/groupdb/aliasunix.c
+++ b/source3/groupdb/aliasunix.c
@@ -221,7 +221,6 @@ static LOCAL_GRP *getalsunixpwent(void *vp, LOCAL_GRP_MEMBER **mem, int *num_mem
}
fstrcpy(gp_buf.name, gmep.nt_name);
- grps->grp_idx++;
break;
}
@@ -247,6 +246,7 @@ static LOCAL_GRP *getalsunixpwent(void *vp, LOCAL_GRP_MEMBER **mem, int *num_mem
DEBUG(10,("line: '%s'\n", linebuf));
}
+ grps->grp_idx++; /* advance so next enum gets next entry */
return &gp_buf;
}