summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-12-27 19:39:32 +1100
committerStefan Metzmacher <metze@samba.org>2012-01-06 14:59:12 +0100
commitfd69ebda26ab62333202de51d3e392af1978c544 (patch)
tree9707a6d2a73dadd9ab66fbf599fa909f6bc6259a /source3/include
parent60c66118b3a076aee59e581a263c045a205e5ed5 (diff)
downloadsamba-fd69ebda26ab62333202de51d3e392af1978c544.tar.gz
samba-fd69ebda26ab62333202de51d3e392af1978c544.tar.bz2
samba-fd69ebda26ab62333202de51d3e392af1978c544.zip
s3-ntlmssp Remove unused ntlmssp_set_hashes() and do not set an invalid LM hash
When E_deshash() returns false, it indicates that the password is either > 14 chars in length, or could not be represented as an LM hash value for some other reason. In this case, we should not regard the LM hash being missing as an error or a no-password situation. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jan 6 14:59:13 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 7a7f60a765..9dcd334404 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1079,9 +1079,6 @@ bool get_dc_name(const char *domain,
/* The following definitions come from libsmb/ntlmssp.c */
struct ntlmssp_state;
NTSTATUS ntlmssp_set_username(struct ntlmssp_state *ntlmssp_state, const char *user) ;
-NTSTATUS ntlmssp_set_hashes(struct ntlmssp_state *ntlmssp_state,
- const uint8_t lm_hash[16],
- const uint8_t nt_hash[16]) ;
NTSTATUS ntlmssp_set_password(struct ntlmssp_state *ntlmssp_state, const char *password) ;
NTSTATUS ntlmssp_set_domain(struct ntlmssp_state *ntlmssp_state, const char *domain) ;
void ntlmssp_want_feature_list(struct ntlmssp_state *ntlmssp_state, char *feature_list);