diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/nispass.c | 4 | ||||
-rw-r--r-- | source3/passdb/passdb.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/passdb/nispass.c b/source3/passdb/nispass.c index 5c906c53e7..22206789fc 100644 --- a/source3/passdb/nispass.c +++ b/source3/passdb/nispass.c @@ -392,7 +392,7 @@ static BOOL make_sam_from_nisp(struct sam_passwd *pw_buf, nis_result *result) /* Check the lanman password column. */ p = (uchar *)ENTRY_VAL(obj, NPF_LMPWD); - if (strlen((char *)p) != 32 || !gethexpwd((char *)p, (char *)smbpwd)) + if (strlen((char *)p) != 32 || !pdb_gethexpwd((char *)p, (char *)smbpwd)) { DEBUG(0, ("make_smb_from_nisp: malformed LM pwd entry.\n")); return False; @@ -400,7 +400,7 @@ static BOOL make_sam_from_nisp(struct sam_passwd *pw_buf, nis_result *result) /* Check the NT password column. */ p = (uchar *)ENTRY_VAL(obj, NPF_NTPWD); - if (strlen((char *)p) != 32 || !gethexpwd((char *)p, (char *)smbntpwd)) + if (strlen((char *)p) != 32 || !pdb_gethexpwd((char *)p, (char *)smbntpwd)) { DEBUG(0, ("make_smb_from_nisp: malformed NT pwd entry\n")); return False; diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 794560c829..2fa9a73dda 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -404,7 +404,7 @@ static struct smb_passwd *_getsampwuid(uid_t smb_userid) DEBUG(10, ("getsampwuid: found by smb_userid: %x\n", smb_userid)); } - endsmbpwent(fp); + endsampwent(fp); return pwd; } @@ -436,7 +436,7 @@ static struct sam_passwd *_getsam21pwrid(uint32 rid) DEBUG(10, ("_getsam21pwrid: found by smb_userid: %x\n", rid)); } - endsmbpwent(fp); + endsampwent(fp); return pwd; } |