diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-04-17 08:38:10 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-04-17 14:42:31 +0200 |
commit | 5f0f5b361531926bc394a4e468392ee617dbbc1f (patch) | |
tree | 69d5bfa4b0c4bd8088a4eb699e92a98780fd4e23 /source3/libsmb/ntlmssp.c | |
parent | 9fe3544565ae94516983d9123eec1a777cf8f8c2 (diff) | |
download | samba-5f0f5b361531926bc394a4e468392ee617dbbc1f.tar.gz |
Revert "s3:libsmb/ntlmssp: an empty string should mean no password"
This reverts commit 92483eee254ef6844fe88abe1e64f67033a1ea2d.
Diffstat (limited to 'source3/libsmb/ntlmssp.c')
-rw-r--r-- | source3/libsmb/ntlmssp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |