diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-06-15 00:47:52 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-06-15 00:47:52 +0000 |
commit | 41d4b94077c118ecde2bf8792b9bb7ab71c6403e (patch) | |
tree | 29cb3cc72aba433648572e9244e6c1550ab94bd8 /source/lib/util.c | |
parent | 0e7e8d44627ad9645a90e96001f8550b68b67a62 (diff) | |
download | samba-41d4b94077c118ecde2bf8792b9bb7ab71c6403e.tar.gz samba-41d4b94077c118ecde2bf8792b9bb7ab71c6403e.tar.xz samba-41d4b94077c118ecde2bf8792b9bb7ab71c6403e.zip |
Add back sys_getpwnam() and freinds to the system.c interface, but don't
use the silly cache any more. Also add group functions and fix a few callers.
Andrew Bartlett
Diffstat (limited to 'source/lib/util.c')
-rw-r--r-- | source/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index fe1011668de..92c8850cef4 100644 --- a/source/lib/util.c +++ b/source/lib/util.c @@ -1122,7 +1122,7 @@ gid_t nametogid(const char *name) if ((p != name) && (*p == '\0')) return g; - grp = getgrnam(name); + grp = sys_getgrnam(name); if (grp) return(grp->gr_gid); return (gid_t)-1; |