diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-07-30 19:17:51 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-07-30 19:17:51 +0000 |
commit | 75bbf35a8626ea30ac31546d0ceb9e2801ab7eae (patch) | |
tree | 536fbc1c6e99b6ca27dd95b85b58bc9b47297140 /source3/client | |
parent | 01d19fd31dcb2e728ce2c5289f13a03319f6f502 (diff) | |
download | samba-75bbf35a8626ea30ac31546d0ceb9e2801ab7eae.tar.gz samba-75bbf35a8626ea30ac31546d0ceb9e2801ab7eae.tar.bz2 samba-75bbf35a8626ea30ac31546d0ceb9e2801ab7eae.zip |
client.c: Minor change to cast parameters for DEC unix.
clientutil.c: Minor change to cast parameters for DEC unix.
ipc.c: Fixes to parameterise the stuff John wants.
loadparm.c: Fixes to parameterise the stuff John wants.
nameannounce.c: Fixes to parameterise the stuff John wants.
namedbwork.c: Fixes to parameterise the stuff John wants.
nameserv.h: Fixes to parameterise the stuff John wants.
proto.h: Fixes to parameterise the stuff John wants.
smb.h: Fixes to parameterise the stuff John wants.
util.c: tidy.
Jeremy (jallison@whistle.com)
(This used to be commit 9fbca2594ba775450d5dca13cbce257b4362ca66)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 4 | ||||
-rw-r--r-- | source3/client/clientutil.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 49804270e9..f9585c6de5 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -3311,7 +3311,7 @@ static BOOL send_login(char *inbuf,char *outbuf,BOOL start_session,BOOL use_setu if (doencrypt && *pass) { DEBUG(3,("Using encrypted passwords\n")); passlen = 24; - SMBencrypt(pass,cryptkey,pword); + SMBencrypt((uchar *)pass,(uchar *)cryptkey,(uchar *)pword); } #else doencrypt = False; @@ -3429,7 +3429,7 @@ static BOOL send_login(char *inbuf,char *outbuf,BOOL start_session,BOOL use_setu #ifdef SMB_PASSWD if (doencrypt && *pass) { passlen=24; - SMBencrypt(pass,cryptkey,pword); + SMBencrypt((uchar *)pass,(uchar *)cryptkey,(uchar *)pword); } #endif diff --git a/source3/client/clientutil.c b/source3/client/clientutil.c index d1407332ff..000cbba1a7 100644 --- a/source3/client/clientutil.c +++ b/source3/client/clientutil.c @@ -438,7 +438,7 @@ BOOL cli_send_login(char *inbuf, char *outbuf, BOOL start_session, BOOL use_setu if (doencrypt && *pass) { DEBUG(5,("Using encrypted passwords\n")); passlen = 24; - SMBencrypt(pass,cryptkey,pword); + SMBencrypt((uchar *)pass,(uchar *)cryptkey,(uchar *)pword); } #else doencrypt = False; @@ -556,7 +556,7 @@ BOOL cli_send_login(char *inbuf, char *outbuf, BOOL start_session, BOOL use_setu #ifdef SMB_PASSWD if (doencrypt && *pass) { passlen=24; - SMBencrypt(pass,cryptkey,pword); + SMBencrypt((uchar *)pass,(uchar *)cryptkey,(uchar *)pword); } #endif |