]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:dsdb:repl: Fix code spelling
authorAndreas Schneider <asn@samba.org>
Wed, 2 Aug 2023 08:40:56 +0000 (10:40 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 3 Aug 2023 14:31:34 +0000 (14:31 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
source4/dsdb/repl/drepl_out_helpers.c
source4/dsdb/repl/drepl_ridalloc.c
source4/dsdb/repl/drepl_service.h

index c4aa784674f1a0bc9a143d1d75d57ddaf12eb6ab..0f801c060f4678da363b30da582b5fcc0f162cd0 100644 (file)
@@ -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
index 6794d4beb6caa6a314ce44102722bf79b8b9bb77..529e4e3274b926a5dc6f992e41bf71cb2ed0ce80 100644 (file)
@@ -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;
index 6e577590f76f115fd33ab564d8e1fe38d24768da..7e362d9853d34d8999cb3fef27479fa04e73c826 100644 (file)
@@ -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