1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

added debug reporting to pwdb_sam_map_names() and pwdb_smb_map_names()

(This used to be commit baab308152)
This commit is contained in:
Luke Leighton
1999-07-07 18:44:58 +00:00
parent 527820d306
commit 264459d25a
3 changed files with 9 additions and 3 deletions

View File

@ -2498,7 +2498,7 @@ turn a user name into a uid
********************************************************************/
BOOL nametouid(const char *name, uid_t *uid)
{
const struct passwd *pass = Get_Pwnam((char *)name, False);
const struct passwd *pass = Get_Pwnam(name, False);
if (pass)
{
*uid = pass->pw_uid;