summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-11-21 20:14:25 +0000
committerTim Potter <tpot@samba.org>2001-11-21 20:14:25 +0000
commit54432c412958ca4cafcc033c2d311cfccc1603f2 (patch)
treef7b3859edcd5f4d78c673b176fd3dc29e02639d5 /source3
parente734163ac472f64457ec4bcfd3e9bd364ee91c6c (diff)
downloadsamba-54432c412958ca4cafcc033c2d311cfccc1603f2.tar.gz
samba-54432c412958ca4cafcc033c2d311cfccc1603f2.tar.bz2
samba-54432c412958ca4cafcc033c2d311cfccc1603f2.zip
Spelling fix, reformatted comment.
(This used to be commit 096868bd35b374f97e570676fc23c006b6c7a1d3)
Diffstat (limited to 'source3')
-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);