From c9508b7fb766b1c1318eb0080f715658ec7d923e Mon Sep 17 00:00:00 2001 From: Tetsuo Sugiyama Date: Tue, 21 Sep 2021 18:28:17 +0900 Subject: [PATCH] Password change from client increments config file revision Fixed an issue where changing the password from the client did not increment the revision of the server config file and the changes were not saved --- src/Cedar/Protocol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Cedar/Protocol.c b/src/Cedar/Protocol.c index 51ef1425..748d88bb 100644 --- a/src/Cedar/Protocol.c +++ b/src/Cedar/Protocol.c @@ -940,6 +940,7 @@ UINT ChangePasswordAccept(CONNECTION *c, PACK *p) { Copy(pw->HashedKey, new_password, SHA1_SIZE); Copy(pw->NtLmSecureHash, new_password_ntlm, MD5_SIZE); + IncrementServerConfigRevision(cedar->Server); } HLog(hub, "LH_CHANGE_PASSWORD_5", c->Name, username); }