diff options
author | Luke Leighton <lkcl@samba.org> | 1998-10-19 17:32:10 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-10-19 17:32:10 +0000 |
commit | fcfb40d2b0fc565ee4f66b3a3761c246366a2ef3 (patch) | |
tree | 09e62ed58c4a541be7551a637655f14d5c67f38d /source/smbd/reply.c | |
parent | 9b249c075e53e6cf75399d60a6371648c03104fa (diff) | |
download | samba-fcfb40d2b0fc565ee4f66b3a3761c246366a2ef3.tar.gz samba-fcfb40d2b0fc565ee4f66b3a3761c246366a2ef3.tar.xz samba-fcfb40d2b0fc565ee4f66b3a3761c246366a2ef3.zip |
- dce/rpc code
- removed debug info in struni2 and unistr2 (security risk)
- rpc_pipe function was getting pointer to data then calling realloc *dur*
- password check function, the start of "credential checking",
user, wks, domain, pass as the credentials (not just user,pass which
is incorrect in a domain context)
- cli_write needs to return ssize_t not size_t, because total can be -1
if the write fails.
- fixed signed / unsigned warnings (how come i don't get those any more
when i compile with gcc???)
- nt password change added in smbd. yes, jeremy, i verified that the
SMBtrans2 version still works.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r-- | source/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index bcb408c2a69..8b96ff17fd0 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -413,7 +413,7 @@ static int session_trust_account(connection_struct *conn, char *inbuf, char *out return(ERROR(0, 0xc0000000|NT_STATUS_LOGON_FAILURE)); } - if (!smb_password_ok(smb_trust_acct, (unsigned char *)smb_passwd, (unsigned char *)smb_nt_passwd)) + if (!smb_password_ok(smb_trust_acct, NULL, (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); |