diff options
author | Luke Leighton <lkcl@samba.org> | 1998-05-18 17:15:21 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-05-18 17:15:21 +0000 |
commit | e325d9a81039152e8c57f7fab6cf948d8e1ec7d3 (patch) | |
tree | b4a8d5e77252c85181ec4997fcda3cb47711d9f2 | |
parent | 2253ca407267eb161cfcd8b53dcc9848d9398f4c (diff) | |
download | samba-e325d9a81039152e8c57f7fab6cf948d8e1ec7d3.tar.gz samba-e325d9a81039152e8c57f7fab6cf948d8e1ec7d3.tar.xz samba-e325d9a81039152e8c57f7fab6cf948d8e1ec7d3.zip |
linker errors with -DUSE_NISPLUS_DB - difficult to spot when you're not
using nis+ on your system, so you get 100 linker errors...
-rw-r--r-- | source/passdb/nispass.c | 4 | ||||
-rw-r--r-- | source/passdb/passdb.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/passdb/nispass.c b/source/passdb/nispass.c index 5c906c53e70..22206789fc5 100644 --- a/source/passdb/nispass.c +++ b/source/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/source/passdb/passdb.c b/source/passdb/passdb.c index 794560c829c..2fa9a73dda9 100644 --- a/source/passdb/passdb.c +++ b/source/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; } |