s4:dsdb: Correct NDR push error message
authorJo Sutton <josutton@catalyst.net.nz>
Mon, 8 Jan 2024 02:05:11 +0000 (15:05 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 8 Feb 2024 02:48:44 +0000 (02:48 +0000)
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/password_hash.c

index 4e95f83e497bc9d290f0c30fa596432335846d80..67ec1bbd58205ac5cca2c612c0723b49e29186e7 100644 (file)
@@ -663,7 +663,7 @@ static int password_hash_bypass(struct ldb_module *module, struct ldb_request *r
                if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
                        talloc_free(scb);
                        return ldb_error(ldb, LDB_ERR_CONSTRAINT_VIOLATION,
-                                        "ndr_pull_struct_blob_all");
+                                        "ndr_push_struct_blob");
                }
 
                if (sce->values[0].length != blob.length) {