s4:dsdb: Remove reference to now‐gone lmNewHash parameter
authorJo Sutton <josutton@catalyst.net.nz>
Thu, 15 Feb 2024 01:12:07 +0000 (14:12 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 16 Feb 2024 02:41:36 +0000 (02:41 +0000)
This parameter was removed in commit
75c54d54ad9fdff7098c1b4f11252528f35ea658.

Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/util.c

index e82771dca7b677bb770094cce71b42eb590231cd..e48ab87ff6dc957d4033084e4b47242fb35b45c2 100644 (file)
@@ -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.