From: Andreas Schneider Date: Wed, 2 Aug 2023 08:40:56 +0000 (+0200) Subject: s4:dsdb:repl: Fix code spelling X-Git-Tag: tevent-0.16.0~1281 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ebe11cd43bedb98214664e7cf99632295b0ca34;p=thirdparty%2Fsamba.git s4:dsdb:repl: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Joseph Sutton --- diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c index c4aa784674f..0f801c060f4 100644 --- a/source4/dsdb/repl/drepl_out_helpers.c +++ b/source4/dsdb/repl/drepl_out_helpers.c @@ -782,7 +782,7 @@ static NTSTATUS dreplsrv_op_pull_retry_with_flags(struct tevent_req *req, /* * Check if we failed to apply the records due to a missing parent or - * target object. If so, try again and ask for any mising parent/target + * target object. If so, try again and ask for any missing parent/target * objects to be included this time. */ if (W_ERROR_EQUAL(error_code, WERR_DS_DRA_RECYCLED_TARGET)) { @@ -1069,7 +1069,7 @@ static void dreplsrv_op_pull_source_apply_changes_trigger(struct tevent_req *req * We don't want to re-do the remote exop, * unless it was REPL_SECRET so we set the * fallback operation to just be a fetch of - * the relevent partition. + * the relevant partition. */ @@ -1322,7 +1322,7 @@ static void dreplsrv_update_refs_done(struct tevent_req *subreq) * will reply us a WERR_DS_DRA_BUSY, this error will cause us to * answer to the DsReplicaSync with a non OK status, the other DC * will stop the demote due to this error. - * In order to cope with this we will for the moment concider + * In order to cope with this we will for the moment consider * a DS_DRA_BUSY not as an error. * It's not ideal but it should not have a too huge impact for * running production as this error otherwise never happen and diff --git a/source4/dsdb/repl/drepl_ridalloc.c b/source4/dsdb/repl/drepl_ridalloc.c index 6794d4beb6c..529e4e3274b 100644 --- a/source4/dsdb/repl/drepl_ridalloc.c +++ b/source4/dsdb/repl/drepl_ridalloc.c @@ -214,7 +214,7 @@ WERROR dreplsrv_ridalloc_check_rid_pool(struct dreplsrv_service *service) ret = samdb_dn_is_our_ntdsa(ldb, fsmo_role_dn, &is_us); if (ret != LDB_SUCCESS) { - DEBUG(0,(__location__ ": Failed to find detrmine if %s is our ntdsDsa object - %s\n", + DEBUG(0,(__location__ ": Failed to find determine if %s is our ntdsDsa object - %s\n", ldb_dn_get_linearized(fsmo_role_dn), ldb_errstring(ldb))); talloc_free(tmp_ctx); return WERR_DS_DRA_INTERNAL_ERROR; diff --git a/source4/dsdb/repl/drepl_service.h b/source4/dsdb/repl/drepl_service.h index 6e577590f76..7e362d9853d 100644 --- a/source4/dsdb/repl/drepl_service.h +++ b/source4/dsdb/repl/drepl_service.h @@ -87,7 +87,7 @@ struct dreplsrv_partition { struct drsuapi_DsReplicaObjectIdentifier nc; /* - * uptodate vector needs to be updated before and after each DsGetNCChanges() call + * up-to-date vector needs to be updated before and after each DsGetNCChanges() call * * - before: we need to use our own invocationId together with our highestCommittedUSN * - after: we need to merge in the remote uptodatevector, to avoid reading it again