1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

#ifdef'd out hashed_getpwnam.

(This used to be commit 1d2557cc27)
This commit is contained in:
Luke Leighton 1999-06-24 18:49:42 +00:00
parent 0c927f2b1b
commit 0f6896b7a0

View File

@ -228,6 +228,9 @@ static BOOL have_passwd_hash(void)
struct passwd *hashed_getpwnam(const char *name)
{
#ifndef USE_HASHED_GETPWNAM
return getpwnam(name);
#else
struct passwd_hash_table_s *pht=&passwd_hash_table;
DEBUG(5,("getpwnam(%s)\n", name));
@ -257,6 +260,7 @@ struct passwd *hashed_getpwnam(const char *name)
}
/* Fall back to real getpwnam() */
return getpwnam(name);
#endif
}
/*******************************************************************