1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +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) struct passwd *hashed_getpwnam(const char *name)
{ {
#ifndef USE_HASHED_GETPWNAM
return getpwnam(name);
#else
struct passwd_hash_table_s *pht=&passwd_hash_table; struct passwd_hash_table_s *pht=&passwd_hash_table;
DEBUG(5,("getpwnam(%s)\n", name)); DEBUG(5,("getpwnam(%s)\n", name));
@ -257,6 +260,7 @@ struct passwd *hashed_getpwnam(const char *name)
} }
/* Fall back to real getpwnam() */ /* Fall back to real getpwnam() */
return getpwnam(name); return getpwnam(name);
#endif
} }
/******************************************************************* /*******************************************************************