SMBAUTH_LM_RESP_SZ
if (user_info.lg_nt_password.len == SMBAUTH_LM_RESP_SZ &&
#define SMBAUTH_CI_MAXLEN SMBAUTH_LM_RESP_SZ
return (smb_auth_DES(lm_rsp, SMBAUTH_LM_RESP_SZ, S21, 21,
if (smb_auth_DES((unsigned char *)ntlm_rsp, SMBAUTH_LM_RESP_SZ,
return (SMBAUTH_LM_RESP_SZ);
unsigned char ok_resp[SMBAUTH_LM_RESP_SZ];
return (bcmp(ok_resp, lm_resp, SMBAUTH_LM_RESP_SZ) == 0);
unsigned char ok_resp[SMBAUTH_LM_RESP_SZ];
if (rc != SMBAUTH_LM_RESP_SZ)
ok = (bcmp(ok_resp, nt_resp, SMBAUTH_LM_RESP_SZ) == 0);
unsigned char lmv2_resp[SMBAUTH_LM_RESP_SZ];
ok = (bcmp(passwd, lmv2_resp, SMBAUTH_LM_RESP_SZ) == 0);
if (nt_len > SMBAUTH_LM_RESP_SZ) {
if (nt_len == SMBAUTH_LM_RESP_SZ) {
if (lm_len != SMBAUTH_LM_RESP_SZ)