summaryrefslogtreecommitdiff
path: root/source/smbd/lanman.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-07-08 14:10:30 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-07-08 14:10:30 +0000
commit04f090c224bb7ac3b53c430a591fce1fc939a81c (patch)
tree73aeb3f10bb77bbdb3a0bae8e035a205b06e160f /source/smbd/lanman.c
parentebd2f9b07c89cce505e821f1caaa6817bbb26db9 (diff)
downloadsamba-04f090c224bb7ac3b53c430a591fce1fc939a81c.tar.gz
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/lanman.c')
-rw-r--r--source/smbd/lanman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/lanman.c b/source/smbd/lanman.c
index 6e3145aa7d9..aaf8b3fafe7 100644
--- a/source/smbd/lanman.c
+++ b/source/smbd/lanman.c
@@ -1797,7 +1797,7 @@ static BOOL api_SetUserPassword(connection_struct *conn,uint16 vuid, char *param
if(SVAL(*rparam,0) != NERR_Success)
{
- if (password_ok(user, pass1,strlen(pass1),NULL) &&
+ if (password_ok(user, pass1,strlen(pass1)) &&
chgpasswd(user,pass1,pass2,False))
{
SSVAL(*rparam,0,NERR_Success);