From: Stefan Metzmacher Date: Tue, 17 Apr 2012 06:38:10 +0000 (+0200) Subject: Revert "s3:libsmb/ntlmssp: an empty string should mean no password" X-Git-Tag: ldb-1.1.6~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f0f5b361531926bc394a4e468392ee617dbbc1f;p=thirdparty%2Fsamba.git Revert "s3:libsmb/ntlmssp: an empty string should mean no password" This reverts commit 92483eee254ef6844fe88abe1e64f67033a1ea2d. --- diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c index 72466fec6ce..b877af583a3 100644 --- a/source3/libsmb/ntlmssp.c +++ b/source3/libsmb/ntlmssp.c @@ -78,7 +78,7 @@ NTSTATUS ntlmssp_set_password(struct ntlmssp_state *ntlmssp_state, const char *p { TALLOC_FREE(ntlmssp_state->lm_hash); TALLOC_FREE(ntlmssp_state->nt_hash); - if (!password || strlen(password) == 0) { + if (!password) { return NT_STATUS_OK; } else { uint8_t lm_hash[16];