From 54432c412958ca4cafcc033c2d311cfccc1603f2 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 21 Nov 2001 20:14:25 +0000 Subject: Spelling fix, reformatted comment. (This used to be commit 096868bd35b374f97e570676fc23c006b6c7a1d3) --- source3/auth/auth_util.c | 10 ++++++---- source3/smbd/auth_util.c | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 16efdbc54e..5a86e02928 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -423,11 +423,13 @@ BOOL make_user_info_winbind(auth_usersupplied_info **user_info, if (*password) { SMBencrypt( (const uchar *)password, chal, local_lm_response); - /* This encrypts the lm_pwd feild, which actualy contains the password - rather than the nt_pwd field becouse that contains nothing */ + /* This encrypts the lm_pwd field, which actualy contains + the password rather than the nt_pwd field becouse that + contains nothing */ - /* WATCH OUT. This doesn't work if the incoming password is incorrectly cased. - We might want to add a check here and only do an LM in that case */ + /* WATCH OUT. This doesn't work if the incoming password is + incorrectly cased. We might want to add a check here + and only do an LM in that case */ SMBNTencrypt((const uchar *)password, chal, local_nt_response); diff --git a/source3/smbd/auth_util.c b/source3/smbd/auth_util.c index 16efdbc54e..5a86e02928 100644 --- a/source3/smbd/auth_util.c +++ b/source3/smbd/auth_util.c @@ -423,11 +423,13 @@ BOOL make_user_info_winbind(auth_usersupplied_info **user_info, if (*password) { SMBencrypt( (const uchar *)password, chal, local_lm_response); - /* This encrypts the lm_pwd feild, which actualy contains the password - rather than the nt_pwd field becouse that contains nothing */ + /* This encrypts the lm_pwd field, which actualy contains + the password rather than the nt_pwd field becouse that + contains nothing */ - /* WATCH OUT. This doesn't work if the incoming password is incorrectly cased. - We might want to add a check here and only do an LM in that case */ + /* WATCH OUT. This doesn't work if the incoming password is + incorrectly cased. We might want to add a check here + and only do an LM in that case */ SMBNTencrypt((const uchar *)password, chal, local_nt_response); -- cgit