diff options
author | Tim Potter <tpot@samba.org> | 2001-11-20 23:20:00 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-11-20 23:20:00 +0000 |
commit | 96d884cc0f42ea694f7648ae12a3643bd1322a2b (patch) | |
tree | aed199d416401e8d7d1a8f42f79c312f007359a5 /source3/auth | |
parent | d325611842beb1b1a4448df9eca42430b27dec24 (diff) | |
download | samba-96d884cc0f42ea694f7648ae12a3643bd1322a2b.tar.gz samba-96d884cc0f42ea694f7648ae12a3643bd1322a2b.tar.bz2 samba-96d884cc0f42ea694f7648ae12a3643bd1322a2b.zip |
Fixed sizeof vs array length bug in make_user_info_winbind_crap()
Spelling fix.
(This used to be commit 3d87c1a2444c3b9267e0dda7a2da77657fba143e)
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index e6ce7d186e..16efdbc54e 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -473,7 +473,7 @@ BOOL make_user_info_winbind(auth_usersupplied_info **user_info, /**************************************************************************** Create an auth_usersupplied_data, making the DATA_BLOBs here. - Decrupt and encrypt the passwords. + Decrypt and encrypt the passwords. ****************************************************************************/ BOOL make_user_info_winbind_crap(auth_usersupplied_info **user_info, @@ -484,7 +484,7 @@ BOOL make_user_info_winbind_crap(auth_usersupplied_info **user_info, uchar *nt_network_pwd, int nt_pwd_len) { BOOL ret; - DATA_BLOB sec_blob = data_blob(chal, sizeof(chal)); + DATA_BLOB sec_blob = data_blob(chal, 8); DATA_BLOB lm_blob = data_blob(lm_network_pwd, lm_pwd_len); DATA_BLOB nt_blob = data_blob(nt_network_pwd, nt_pwd_len); DATA_BLOB plaintext_blob = data_blob(NULL, 0); |