From 1616a640dd2d25b11e1c5ad7d1bca765a2b65c05 Mon Sep 17 00:00:00 2001 From: Jo Sutton Date: Tue, 16 Jul 2024 13:32:32 +1200 Subject: [PATCH] s4:dsdb: Fix code spelling Signed-off-by: Jo Sutton Reviewed-by: Douglas Bagnall --- source4/dsdb/repl/drepl_partitions.c | 2 +- source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source4/dsdb/repl/drepl_partitions.c b/source4/dsdb/repl/drepl_partitions.c index 403dc9e0a10..461019a8c4a 100644 --- a/source4/dsdb/repl/drepl_partitions.c +++ b/source4/dsdb/repl/drepl_partitions.c @@ -254,7 +254,7 @@ static NTSTATUS dreplsrv_get_target_principal(struct dreplsrv_service *s, DC. We find that by first looking for the msDS-HasDomainNCs in the NTDSDSA object of the DC, and if we don't find that, then we look for the hasMasterNCs attribute, and eliminate - the known schema and configuruation DNs. Despite how + the known schema and configuration DNs. Despite how bizarre this seems, Hongwei tells us that this is in fact what windows does to find the SPN!! */ diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index 70f76c4e1c1..3166b43f804 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -1056,7 +1056,7 @@ static int replmd_ldb_message_element_attid_sort(const struct ldb_message_elemen /* * TODO: make this faster by caching the dsdb_attribute pointer - * on the ldb_messag_element + * on the ldb_message_element */ a1 = dsdb_attribute_by_lDAPDisplayName(schema, e1->name); @@ -5108,7 +5108,7 @@ static int replmd_make_prefix_child_dn(TALLOC_CTX *tmp_ctx, * TODO: Per MS-ADTS 3.1.1.5.5 Delete Operation * we should truncate this value to ensure the RDN is not more than 255 chars. * - * However we MS-ADTS 3.1.1.5.1.2 Naming Constraints indicates that: + * However MS-ADTS 3.1.1.5.1.2 Naming Constraints indicates that: * * "Naming constraints are not enforced for replicated * updates." so this is safe and we don't have to work out not