diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-11-01 13:33:05 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:37 -0500 |
commit | 8b95bda9752383f298fad4775bd817971c37d756 (patch) | |
tree | 1c8a97a1903206dedbf0378fdb33072a7033eebd | |
parent | 4e052d1fe472d8a60c76988c17d291c958ceb46d (diff) | |
download | samba-8b95bda9752383f298fad4775bd817971c37d756.tar.gz samba-8b95bda9752383f298fad4775bd817971c37d756.tar.bz2 samba-8b95bda9752383f298fad4775bd817971c37d756.zip |
r11440: Actually check the right thing for 'is this a machine account' (thanks metze).
Andrew Bartlett
(This used to be commit 848831a1559d6569359bd6fb4993ccbef6ad86d8)
-rw-r--r-- | source4/auth/credentials/credentials_ntlm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/credentials/credentials_ntlm.c b/source4/auth/credentials/credentials_ntlm.c index 6a8b284e78..9fd4c09473 100644 --- a/source4/auth/credentials/credentials_ntlm.c +++ b/source4/auth/credentials/credentials_ntlm.c @@ -64,7 +64,7 @@ NTSTATUS cli_credentials_get_ntlm_response(struct cli_credentials *cred, TALLOC_ } /* Likewise if we are a machine account (avoid protocol downgrade attacks) */ - if (cred->principal_obtained > cred->username_obtained) { + if (cred->machine_account) { *flags = *flags & ~CLI_CRED_LANMAN_AUTH; } |