summaryrefslogtreecommitdiff
path: root/source3/smbd/chgpasswd.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-11 12:13:03 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-11 12:13:03 +0000
commit1a6e78fda30518827b2ec64729a2914c7d761de3 (patch)
treebda2776fa180acd4b4394ff00333198ab3a706f7 /source3/smbd/chgpasswd.c
parent73b0a2bdf8b667a5ad70bb4bcc08409e8c9ef7aa (diff)
downloadsamba-1a6e78fda30518827b2ec64729a2914c7d761de3.tar.gz
samba-1a6e78fda30518827b2ec64729a2914c7d761de3.tar.bz2
samba-1a6e78fda30518827b2ec64729a2914c7d761de3.zip
Remove an unused paramter for our old LM-only password change code, and fix a
(harmless) fstring/pstring mixup. Andrew Bartlett (This used to be commit 5ff5f540ccc2ee2c9859213b84598baa400f57a5)
Diffstat (limited to 'source3/smbd/chgpasswd.c')
-rw-r--r--source3/smbd/chgpasswd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c
index fb06ad3ab8..1c31d9757a 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/smbd/chgpasswd.c
@@ -672,8 +672,7 @@ BOOL check_lanman_password(char *user, uchar * pass1,
no longer be valid.
************************************************************/
-BOOL change_lanman_password(SAM_ACCOUNT *sampass, uchar * pass1,
- uchar * pass2)
+BOOL change_lanman_password(SAM_ACCOUNT *sampass, uchar *pass2)
{
static uchar null_pw[16];
uchar unenc_new_pw[16];