summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-02-10 23:23:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:03 -0500
commitfbf45d8ce90e88233ce386c1275d38fed3974433 (patch)
tree1af3b858a5e47e99bd518963115380b81fc166d1 /source3/smbd
parente83c7d0141c0726a74c7be48914e94bac7167ab1 (diff)
downloadsamba-fbf45d8ce90e88233ce386c1275d38fed3974433.tar.gz
samba-fbf45d8ce90e88233ce386c1275d38fed3974433.tar.bz2
samba-fbf45d8ce90e88233ce386c1275d38fed3974433.zip
r13443: Fix the build.
Guenther (This used to be commit 40a21776a7a16f3200e87c6564d9b6e8c481dd1e)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 83dfdf0d8b..a2ec6f34b8 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -2214,7 +2214,7 @@ static BOOL api_SetUserPassword(connection_struct *conn,uint16 vuid, char *param
if (NT_STATUS_IS_OK(check_plaintext_password(user,password,&server_info))) {
become_root();
- if (NT_STATUS_IS_OK(change_oem_password(server_info->sam_account, pass1, pass2, False))) {
+ if (NT_STATUS_IS_OK(change_oem_password(server_info->sam_account, pass1, pass2, False, NULL))) {
SSVAL(*rparam,0,NERR_Success);
}
unbecome_root();
@@ -2297,7 +2297,7 @@ static BOOL api_SamOEMChangePassword(connection_struct *conn,uint16 vuid, char *
(void)map_username(user);
- if (NT_STATUS_IS_OK(pass_oem_change(user, (uchar*) data, (uchar *)&data[516], NULL, NULL))) {
+ if (NT_STATUS_IS_OK(pass_oem_change(user, (uchar*) data, (uchar *)&data[516], NULL, NULL, NULL))) {
SSVAL(*rparam,0,NERR_Success);
}