diff options
author | Luke Leighton <lkcl@samba.org> | 1999-07-06 20:33:24 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-07-06 20:33:24 +0000 |
commit | f922d25ce820a644bf517e4d39cf7d9f0b3895f9 (patch) | |
tree | 6d7391f03572d8dfd123d2f97118fba4a238f96e /source3 | |
parent | 8c19a3be04355d4491f9cffe98925000de222b35 (diff) | |
download | samba-f922d25ce820a644bf517e4d39cf7d9f0b3895f9.tar.gz samba-f922d25ce820a644bf517e4d39cf7d9f0b3895f9.tar.bz2 samba-f922d25ce820a644bf517e4d39cf7d9f0b3895f9.zip |
oops, set password lengths to a boolean value.
(This used to be commit e6d43ddb1bdb249f93dca65180964a61d281935b)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_netlog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_netlog.c b/source3/rpc_server/srv_netlog.c index 9c260d5759..45d9e009a6 100644 --- a/source3/rpc_server/srv_netlog.c +++ b/source3/rpc_server/srv_netlog.c @@ -633,8 +633,8 @@ static uint32 net_login_network(NET_ID_INFO_2 *id2, fstring user; fstring domain; - int nt_pw_len = id2->hdr_nt_chal_resp.str_str_len >= 24; - int lm_pw_len = id2->hdr_lm_chal_resp.str_str_len >= 24; + int nt_pw_len = id2->hdr_nt_chal_resp.str_str_len; + int lm_pw_len = id2->hdr_lm_chal_resp.str_str_len; unistr2_to_ascii(user , &id2->uni_user_name, sizeof(user)-1); unistr2_to_ascii(domain, &id2->uni_domain_name, sizeof(domain)-1); |