svn commit: samba r13443 - branches/SAMBA_3_0/source/smbd trunk/source/smbd

gd at samba.org gd at samba.org
Fri Feb 10 23:23:11 GMT 2006


Author: gd
Date: 2006-02-10 23:23:10 +0000 (Fri, 10 Feb 2006)
New Revision: 13443

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13443

Log:
Fix the build.

Guenther

Modified:
   branches/SAMBA_3_0/source/smbd/lanman.c
   trunk/source/smbd/lanman.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/lanman.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/lanman.c	2006-02-10 23:09:00 UTC (rev 13442)
+++ branches/SAMBA_3_0/source/smbd/lanman.c	2006-02-10 23:23:10 UTC (rev 13443)
@@ -2214,7 +2214,7 @@
 		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 @@
 
 	(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);
 	}
 

Modified: trunk/source/smbd/lanman.c
===================================================================
--- trunk/source/smbd/lanman.c	2006-02-10 23:09:00 UTC (rev 13442)
+++ trunk/source/smbd/lanman.c	2006-02-10 23:23:10 UTC (rev 13443)
@@ -2214,7 +2214,7 @@
 		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 @@
 
 	(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);
 	}
 



More information about the samba-cvs mailing list