diff options
author | Luke Leighton <lkcl@samba.org> | 1999-02-19 15:46:38 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-02-19 15:46:38 +0000 |
commit | 0cfca572c9877335d8d5275cf2e6a94956b2e6ab (patch) | |
tree | 10fe5d5bbf17c6111f6f59d0a69251982dd2668c /source3/groupdb | |
parent | b52903aefe3ab0412402ee7cff319ab4737a1658 (diff) | |
download | samba-0cfca572c9877335d8d5275cf2e6a94956b2e6ab.tar.gz samba-0cfca572c9877335d8d5275cf2e6a94956b2e6ab.tar.bz2 samba-0cfca572c9877335d8d5275cf2e6a94956b2e6ab.zip |
last unix group not being listed. spotted by jacques sansdrap.
(This used to be commit 2d5fc5c7cf2086c396c853c13a3409bfac77d05c)
Diffstat (limited to 'source3/groupdb')
-rw-r--r-- | source3/groupdb/aliasunix.c | 2 | ||||
-rw-r--r-- | source3/groupdb/builtinunix.c | 2 | ||||
-rw-r--r-- | source3/groupdb/groupunix.c | 2 |
3 files changed, 3 insertions, 3 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; } diff --git a/source3/groupdb/builtinunix.c b/source3/groupdb/builtinunix.c index bb45f2983f..9f00582592 100644 --- a/source3/groupdb/builtinunix.c +++ b/source3/groupdb/builtinunix.c @@ -226,7 +226,6 @@ static LOCAL_GRP *getbltunixpwent(void *vp, LOCAL_GRP_MEMBER **mem, int *num_mem } fstrcpy(gp_buf.name, gmep.nt_name); - grps->grp_idx++; break; } @@ -252,6 +251,7 @@ static LOCAL_GRP *getbltunixpwent(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; } 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; } |