summaryrefslogtreecommitdiffstats
path: root/source/lib/util_pw.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
commit41d4b94077c118ecde2bf8792b9bb7ab71c6403e (patch)
tree29cb3cc72aba433648572e9244e6c1550ab94bd8 /source/lib/util_pw.c
parent0e7e8d44627ad9645a90e96001f8550b68b67a62 (diff)
downloadsamba-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_pw.c')
-rw-r--r--source/lib/util_pw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/util_pw.c b/source/lib/util_pw.c
index 47711788c79..9d075a05e88 100644
--- a/source/lib/util_pw.c
+++ b/source/lib/util_pw.c
@@ -56,7 +56,7 @@ struct passwd *getpwnam_alloc(const char *name)
{
struct passwd *temp;
- temp = getpwnam(name);
+ temp = sys_getpwnam(name);
if (!temp) {
#if 0
@@ -74,7 +74,7 @@ struct passwd *getpwuid_alloc(uid_t uid)
{
struct passwd *temp;
- temp = getpwuid(uid);
+ temp = sys_getpwuid(uid);
if (!temp) {
#if 0