summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-05-06 18:05:45 +0000
committerLuke Leighton <lkcl@samba.org>1999-05-06 18:05:45 +0000
commit150645f955d1f15b0ea43069020070424f774521 (patch)
tree392a53016e1af6844066696570b2180344578744 /source3/passdb
parentc6e5eb5bc29565da4a1b5d528696b35d5887df7d (diff)
downloadsamba-150645f955d1f15b0ea43069020070424f774521.tar.gz
samba-150645f955d1f15b0ea43069020070424f774521.tar.bz2
samba-150645f955d1f15b0ea43069020070424f774521.zip
Jani Jaakkola's "getpwuid() / getpwnam()" hash-cache-hack
(This used to be commit 899fc053c50448db65092d9f25fea99433cfb29f)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/sampassdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/sampassdb.c b/source3/passdb/sampassdb.c
index e8a92d778d..d5b395a0a1 100644
--- a/source3/passdb/sampassdb.c
+++ b/source3/passdb/sampassdb.c
@@ -678,7 +678,7 @@ struct sam_passwd *pwdb_sam_map_names(struct sam_passwd *sam)
if (sam->unix_gid == (gid_t)-1 && sam->group_rid == 0xffffffff)
{
- struct passwd *pass = getpwnam(unix_name);
+ struct passwd *pass = hashed_getpwnam(unix_name);
if (pass != NULL)
{
sam->unix_gid = pass->pw_gid;