summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-02-08 02:49:30 +0000
committerAndrew Bartlett <abartlet@samba.org>2004-02-08 02:49:30 +0000
commitfac5f989d3e7ca34ceac692a1d2a5de9e4ac4f23 (patch)
treed0fb260ec4d13ad2d0b79d835918a46d075c7caa
parent131bf59694ebbd333165f92c5cd47f6f800ec27e (diff)
downloadsamba-fac5f989d3e7ca34ceac692a1d2a5de9e4ac4f23.tar.gz
samba-fac5f989d3e7ca34ceac692a1d2a5de9e4ac4f23.tar.bz2
samba-fac5f989d3e7ca34ceac692a1d2a5de9e4ac4f23.zip
Remove more unused functions - this time parts of the 'password cache'.
Andrew Bartlett (This used to be commit 66569546e8cbb06b6de7e1ac5b2ebf662ea026de)
-rw-r--r--source3/libsmb/pwd_cache.c45
1 files changed, 0 insertions, 45 deletions
diff --git a/source3/libsmb/pwd_cache.c b/source3/libsmb/pwd_cache.c
index 7ba6cfc96f..27ca4ddf57 100644
--- a/source3/libsmb/pwd_cache.c
+++ b/source3/libsmb/pwd_cache.c
@@ -81,51 +81,6 @@ void pwd_get_cleartext(struct pwd_info *pwd, fstring clr)
}
/****************************************************************************
- Gets lm and nt hashed passwords.
-****************************************************************************/
-
-void pwd_get_lm_nt_16(struct pwd_info *pwd, uchar lm_pwd[16], uchar nt_pwd[16])
-{
- if (lm_pwd != NULL)
- memcpy(lm_pwd, pwd->smb_lm_pwd, 16);
- if (nt_pwd != NULL)
- memcpy(nt_pwd, pwd->smb_nt_pwd, 16);
-}
-
-/****************************************************************************
- Makes lm and nt OWF crypts.
-****************************************************************************/
-
-void pwd_make_lm_nt_owf(struct pwd_info *pwd, uchar cryptkey[8])
-{
-
-#ifdef DEBUG_PASSWORD
- DEBUG(100,("client cryptkey: "));
- dump_data(100, (char *)cryptkey, 8);
-#endif
-
- SMBOWFencrypt(pwd->smb_nt_pwd, cryptkey, pwd->smb_nt_owf);
-
-#ifdef DEBUG_PASSWORD
- DEBUG(100,("nt_owf_passwd: "));
- dump_data(100, (char *)pwd->smb_nt_owf, sizeof(pwd->smb_nt_owf));
- DEBUG(100,("nt_sess_pwd: "));
- dump_data(100, (char *)pwd->smb_nt_pwd, sizeof(pwd->smb_nt_pwd));
-#endif
-
- SMBOWFencrypt(pwd->smb_lm_pwd, cryptkey, pwd->smb_lm_owf);
-
-#ifdef DEBUG_PASSWORD
- DEBUG(100,("lm_owf_passwd: "));
- dump_data(100, (char *)pwd->smb_lm_owf, sizeof(pwd->smb_lm_owf));
- DEBUG(100,("lm_sess_pwd: "));
- dump_data(100, (char *)pwd->smb_lm_pwd, sizeof(pwd->smb_lm_pwd));
-#endif
-
- pwd->crypted = True;
-}
-
-/****************************************************************************
Gets lm and nt crypts.
****************************************************************************/