diff options
author | Luke Leighton <lkcl@samba.org> | 1999-05-06 18:05:45 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-05-06 18:05:45 +0000 |
commit | 150645f955d1f15b0ea43069020070424f774521 (patch) | |
tree | 392a53016e1af6844066696570b2180344578744 /source3/passdb | |
parent | c6e5eb5bc29565da4a1b5d528696b35d5887df7d (diff) | |
download | samba-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.c | 2 |
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; |