svn commit: samba r22822 - in
branches/SAMBA_3_0_RELEASE/source/auth: .
jerry at samba.org
jerry at samba.org
Sun May 13 11:56:00 GMT 2007
Author: jerry
Date: 2007-05-13 11:55:59 +0000 (Sun, 13 May 2007)
New Revision: 22822
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22822
Log:
merge vl's fix for BUG 4613
Modified:
branches/SAMBA_3_0_RELEASE/source/auth/auth_util.c
Changeset:
Modified: branches/SAMBA_3_0_RELEASE/source/auth/auth_util.c
===================================================================
--- branches/SAMBA_3_0_RELEASE/source/auth/auth_util.c 2007-05-13 04:38:44 UTC (rev 22821)
+++ branches/SAMBA_3_0_RELEASE/source/auth/auth_util.c 2007-05-13 11:55:59 UTC (rev 22822)
@@ -1874,6 +1874,30 @@
return NT_STATUS_NO_MEMORY;
}
+ if (!pdb_set_pass_last_set_time(
+ sam_account,
+ nt_time_to_unix(info3->pass_last_set_time),
+ PDB_CHANGED)) {
+ TALLOC_FREE(sam_account);
+ return NT_STATUS_NO_MEMORY;
+ }
+
+ if (!pdb_set_pass_can_change_time(
+ sam_account,
+ nt_time_to_unix(info3->pass_can_change_time),
+ PDB_CHANGED)) {
+ TALLOC_FREE(sam_account);
+ return NT_STATUS_NO_MEMORY;
+ }
+
+ if (!pdb_set_pass_must_change_time(
+ sam_account,
+ nt_time_to_unix(info3->pass_must_change_time),
+ PDB_CHANGED)) {
+ TALLOC_FREE(sam_account);
+ return NT_STATUS_NO_MEMORY;
+ }
+
result = make_server_info(NULL);
if (result == NULL) {
DEBUG(4, ("make_server_info failed!\n"));
More information about the samba-cvs
mailing list