From: Jo Sutton Date: Thu, 15 Feb 2024 01:12:07 +0000 (+1300) Subject: s4:dsdb: Remove reference to now‐gone lmNewHash parameter X-Git-Tag: tdb-1.4.11~1735 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=470a9838e1dfaa8f33330d1676dcc3bd80a7ddf4;p=thirdparty%2Fsamba.git s4:dsdb: Remove reference to now‐gone lmNewHash parameter This parameter was removed in commit 75c54d54ad9fdff7098c1b4f11252528f35ea658. Signed-off-by: Jo Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c index e82771dca7b..e48ab87ff6d 100644 --- a/source4/dsdb/common/util.c +++ b/source4/dsdb/common/util.c @@ -2574,11 +2574,10 @@ static NTSTATUS samdb_set_password_request(struct ldb_context *ldb, TALLOC_CTX * } /* - * Sets the user password using plaintext UTF16 (attribute "new_password") or - * LM (attribute "lmNewHash") or NT (attribute "ntNewHash") hash. Also pass - * the old LM and/or NT hash (attributes "lmOldHash"/"ntOldHash") if it is a - * user change or not. The "rejectReason" gives some more information if the - * change failed. + * Sets the user password using plaintext UTF16 (attribute "new_password") or NT + * (attribute "ntNewHash") hash. Also pass the old LM and/or NT hash (attributes + * "lmOldHash"/"ntOldHash") if it is a user change or not. The "rejectReason" + * gives some more information if the change failed. * * Results: NT_STATUS_OK, NT_STATUS_INVALID_PARAMETER, NT_STATUS_UNSUCCESSFUL, * NT_STATUS_WRONG_PASSWORD, NT_STATUS_PASSWORD_RESTRICTION, @@ -2710,11 +2709,10 @@ NTSTATUS samdb_set_password(struct ldb_context *ldb, TALLOC_CTX *mem_ctx, } /* - * Sets the user password using plaintext UTF16 (attribute "new_password") or - * LM (attribute "lmNewHash") or NT (attribute "ntNewHash") hash. Also pass - * the old LM and/or NT hash (attributes "lmOldHash"/"ntOldHash") if it is a - * user change or not. The "rejectReason" gives some more information if the - * change failed. + * Sets the user password using plaintext UTF16 (attribute "new_password") or NT + * (attribute "ntNewHash") hash. Also pass the old LM and/or NT hash (attributes + * "lmOldHash"/"ntOldHash") if it is a user change or not. The "rejectReason" + * gives some more information if the change failed. * * This wrapper function for "samdb_set_password" takes a SID as input rather * than a user DN.