summaryrefslogtreecommitdiffstats
path: root/source/passdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-05-29 07:47:47 +0000
committerAndrew Tridgell <tridge@samba.org>1996-05-29 07:47:47 +0000
commit39fbeb04ae938594c380d97ebe67c012fa0dd51a (patch)
tree4a188f8dc01ec27b77c879a9bfadc40677126564 /source/passdb
parent2f793c48a9447955195620c891d30d93b518ee0d (diff)
downloadsamba-39fbeb04ae938594c380d97ebe67c012fa0dd51a.tar.gz
samba-39fbeb04ae938594c380d97ebe67c012fa0dd51a.tar.xz
samba-39fbeb04ae938594c380d97ebe67c012fa0dd51a.zip
cleanups to make thinsg compile cleanly
Diffstat (limited to 'source/passdb')
-rw-r--r--source/passdb/smbpass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/passdb/smbpass.c b/source/passdb/smbpass.c
index 2dec15ffb43..ca86d95618d 100644
--- a/source/passdb/smbpass.c
+++ b/source/passdb/smbpass.c
@@ -262,7 +262,7 @@ get_smbpwnam(char *name)
if (!strncasecmp((char *) p, "NO PASSWORD", 11)) {
pw_buf.smb_passwd = NULL;
} else {
- if(!gethexpwd(p,smbpwd)) {
+ if(!gethexpwd((char *)p,(char *)smbpwd)) {
DEBUG(0, ("Malformed Lanman password entry (non hex chars)\n"));
fclose(fp);
pw_file_unlock(lockfd);
@@ -280,7 +280,7 @@ get_smbpwnam(char *name)
the lanman password. */
if ((linebuf_len >= (PTR_DIFF(p, linebuf) + 33)) && (p[32] == ':')) {
if (*p != '*' && *p != 'X') {
- if(gethexpwd(p,smbntpwd))
+ if(gethexpwd((char *)p,(char *)smbntpwd))
pw_buf.smb_nt_passwd = smbntpwd;
}
}