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 | 5b8d230e39cedda6117cf8528065cbab45bdd835 (patch) | |
tree | 1e9be7f0d7c7a092d2675bf41402e074f1d3e0f3 /source3/smbd/reply.c | |
parent | 04932c05bf9b876aa059195100633e7c56dbce71 (diff) | |
download | samba-5b8d230e39cedda6117cf8528065cbab45bdd835.tar.gz samba-5b8d230e39cedda6117cf8528065cbab45bdd835.tar.xz samba-5b8d230e39cedda6117cf8528065cbab45bdd835.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
(This used to be commit 04f090c224bb7ac3b53c430a591fce1fc939a81c)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index da0417203d..5abd737c37 100644 --- a/source3/smbd/reply.c +++ b/source3/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); } |