diff options
author | Jeremy Allison <jra@samba.org> | 1998-05-05 19:24:32 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-05-05 19:24:32 +0000 |
commit | 19f76f391b97b405879fd8574e711a6d59e4e60c (patch) | |
tree | 306956cdaf7e11d9b5733c77ddb317e1c27c6639 /source3/smbd/reply.c | |
parent | a5cab2bd8a29fd3d855948cc1fef5c119e29b3cf (diff) | |
download | samba-19f76f391b97b405879fd8574e711a6d59e4e60c.tar.gz samba-19f76f391b97b405879fd8574e711a6d59e4e60c.tar.bz2 samba-19f76f391b97b405879fd8574e711a6d59e4e60c.zip |
genrand.c: SGI compile warning fix.
ipc.c: Fix for duplicate printer names being long.
loadparm.c: Set bNetWkstaUserLogon to false by default - new code in password.c
protects us.
nmbd_logonnames.c:
nmbd_namequery.c:
nmbd_namerelease.c: Debug messages fix.
password.c: SGI compile warning fix, fix for tcon() with bNetWkstaUserLogon call.
reply.c: SGI compile warning fix.
server.c Debug messages fix.
smbpass.c: Fix for incorrect pointer.
Jeremy.
(This used to be commit 567d3f838988cafab4770fce1cf68b73085e6c71)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index a8a0c2f98c..3a0d4a9bee 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -405,7 +405,7 @@ static int session_trust_account(char *inbuf, char *outbuf, char *user, return(ERROR(0, 0xc0000000|NT_STATUS_LOGON_FAILURE)); } - if (!smb_password_ok(smb_trust_acct, smb_passwd, smb_nt_passwd)) + if (!smb_password_ok(smb_trust_acct, (unsigned char *)smb_passwd, (unsigned char *)smb_nt_passwd)) { DEBUG(0,("session_trust_account: Trust Account %s - password failed\n", user)); SSVAL(outbuf, smb_flg2, FLAGS2_32_BIT_ERROR_CODES); |