From 0cfca572c9877335d8d5275cf2e6a94956b2e6ab Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Fri, 19 Feb 1999 15:46:38 +0000 Subject: last unix group not being listed. spotted by jacques sansdrap. (This used to be commit 2d5fc5c7cf2086c396c853c13a3409bfac77d05c) --- source3/groupdb/groupunix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/groupdb/groupunix.c') diff --git a/source3/groupdb/groupunix.c b/source3/groupdb/groupunix.c index a8f40a313a..1aeae1ca19 100644 --- a/source3/groupdb/groupunix.c +++ b/source3/groupdb/groupunix.c @@ -227,7 +227,6 @@ static DOMAIN_GRP *getgrpunixpwent(void *vp, DOMAIN_GRP_MEMBER **mem, int *num_m } fstrcpy(gp_buf.name, gmep.nt_name); - grps->grp_idx++; break; } @@ -253,6 +252,7 @@ static DOMAIN_GRP *getgrpunixpwent(void *vp, DOMAIN_GRP_MEMBER **mem, int *num_m DEBUG(10,("line: '%s'\n", linebuf)); } + grps->grp_idx++; /* advance so next enum gets next entry */ return &gp_buf; } -- cgit