summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-06-15 00:47:52 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-06-15 00:47:52 +0000
commit9026074f6068f68725241c3e14f7f38bfa698b16 (patch)
tree4ac900ab034a9813aff43fb89c3b5010d4990290 /source3/lib/util.c
parent59e0dff0c78add442cb60e72ca7cad7eb1bc7219 (diff)
downloadsamba-9026074f6068f68725241c3e14f7f38bfa698b16.tar.gz
samba-9026074f6068f68725241c3e14f7f38bfa698b16.tar.bz2
samba-9026074f6068f68725241c3e14f7f38bfa698b16.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 (This used to be commit 41d4b94077c118ecde2bf8792b9bb7ab71c6403e)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index fe1011668d..92c8850cef 100644
--- a/source3/lib/util.c
+++ b/source3/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;