mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
#ifdef'd out hashed_getpwnam.
This commit is contained in:
parent
8d73f83b6c
commit
1d2557cc27
@ -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
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user