mirror of
https://github.com/samba-team/samba.git
synced 2025-12-04 08:23:50 +03:00
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 commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user