diff options
author | Luke Leighton <lkcl@samba.org> | 1999-02-03 00:49:24 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-02-03 00:49:24 +0000 |
commit | f7dfa55a2e191ae780d399026bce48f68cda4bf0 (patch) | |
tree | f04fffe622fc5a4b45c5df0057e8d4af0e21863b /source/lib/replace.c | |
parent | f082f07e764c04b75b6880f852b80faec86f1b1c (diff) | |
download | samba-f7dfa55a2e191ae780d399026bce48f68cda4bf0.tar.gz samba-f7dfa55a2e191ae780d399026bce48f68cda4bf0.tar.xz samba-f7dfa55a2e191ae780d399026bce48f68cda4bf0.zip |
cache unix groups so that two-level getgrent calls don't occur.
Diffstat (limited to 'source/lib/replace.c')
-rw-r--r-- | source/lib/replace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/lib/replace.c b/source/lib/replace.c index a768e9ce47a..c6a42594177 100644 --- a/source/lib/replace.c +++ b/source/lib/replace.c @@ -168,6 +168,7 @@ Corrections by richard.kettlewell@kewill.com struct group *g; char *gr; + setgrent(); grouplst[0] = id; i = 1; while (i < NGROUPS_MAX && |