From 29644e4b35c50047d95f188e6dfbc4b9f0811620 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 18 May 1998 17:15:21 +0000 Subject: linker errors with -DUSE_NISPLUS_DB - difficult to spot when you're not using nis+ on your system, so you get 100 linker errors... (This used to be commit e325d9a81039152e8c57f7fab6cf948d8e1ec7d3) --- source3/passdb/nispass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/passdb/nispass.c') 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; -- cgit