diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-07-08 14:10:30 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-07-08 14:10:30 +0000 |
commit | 04f090c224bb7ac3b53c430a591fce1fc939a81c (patch) | |
tree | 73aeb3f10bb77bbdb3a0bae8e035a205b06e160f /source/smbd/reply.c | |
parent | ebd2f9b07c89cce505e821f1caaa6817bbb26db9 (diff) | |
download | samba-04f090c224bb7ac3b53c430a591fce1fc939a81c.tar.gz samba-04f090c224bb7ac3b53c430a591fce1fc939a81c.tar.xz samba-04f090c224bb7ac3b53c430a591fce1fc939a81c.zip |
This removes unused paramaters from various authtication functions, and should
not change behaviour.
This should make my later diffs smaller, where I actualy start cleaning up this
mess...
Andrew Bartlett
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r-- | source/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index da0417203da..5abd737c37c 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -945,7 +945,7 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int if(smb_ntpasslen) { - if(!password_ok(user, smb_ntpasswd,smb_ntpasslen,NULL)) + if(!password_ok(user, smb_ntpasswd,smb_ntpasslen)) DEBUG(2,("NT Password did not match for user '%s'!\n", user)); else valid_nt_password = True; @@ -957,7 +957,7 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int if (!valid_nt_password && lp_lanman_auth()) { DEBUG(2,("Defaulting to Lanman password for %s\n", user)); - valid_lm_password = password_ok(user, smb_apasswd,smb_apasslen,NULL); + valid_lm_password = password_ok(user, smb_apasswd,smb_apasslen); } |