summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/auth_util.c10
-rw-r--r--source3/smbd/auth_util.c10
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);