summaryrefslogtreecommitdiffstats
path: root/source/smbd/ipc.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-25 13:54:31 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-25 13:54:31 +0000
commit2e58ed742435befe419aa366c4052019fede8c23 (patch)
treec6a43d124e1369a5d6106fe424cefafb60928320 /source/smbd/ipc.c
parent68841eeb64df5958a90a6471fd17e6e56fba7c67 (diff)
downloadsamba-2e58ed742435befe419aa366c4052019fede8c23.tar.gz
samba-2e58ed742435befe419aa366c4052019fede8c23.tar.xz
samba-2e58ed742435befe419aa366c4052019fede8c23.zip
SAM database "set user info".
---------------------------- - removed DOM_RID4 - removed SAMR_UNKNOWN_32 - added SAMR_SET_USERINFO (opcode 0x32) - added level 0x1 to SAMR_QUERY_DOM_INFO (needed for create user) - fixed pwdb_gethexpwd() it was failing on XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - added mod_sam21pwd_entry() - preparing to call mod_sam21pwd_entry() - added "user session key" to user_struct.dc. this is md4(nt#) and is needed to decode user's clear-text passwords in SAMR_SET_USERINFO. - split code out in chgpasswd.c to decode 516 byte password buffers.
Diffstat (limited to 'source/smbd/ipc.c')
-rw-r--r--source/smbd/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/ipc.c b/source/smbd/ipc.c
index a4d452b2a84..5001b16b352 100644
--- a/source/smbd/ipc.c
+++ b/source/smbd/ipc.c
@@ -1680,7 +1680,7 @@ static BOOL api_SetUserPassword(connection_struct *conn,uint16 vuid, char *param
* Older versions of Windows seem to do this.
*/
- if (password_ok(user, pass1,strlen(pass1),NULL) &&
+ if (password_ok(user, pass1,strlen(pass1),NULL, NULL) &&
chgpasswd(user,pass1,pass2,False))
{
SSVAL(*rparam,0,NERR_Success);