]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:kdc: Fix code spelling
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 11 Jul 2023 04:52:25 +0000 (16:52 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Aug 2023 04:39:37 +0000 (04:39 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/db-glue.c
source4/kdc/pac-glue.c
source4/kdc/samba_kdc.h
source4/kdc/wdc-samba4.c

index f0ab277365e4a23f5645b9cadfc74942ff932883..29d2a2538474ca63f9de0bd9574b03bee9b44537 100644 (file)
@@ -974,8 +974,8 @@ static krb5_error_code samba_kdc_get_entry_principal(
        if (!is_kadmin_changepw) {
                if (ent_type == SAMBA_KDC_ENT_TYPE_KRBTGT && canon) {
                        /*
-                        * When requested to do so, ensure that the
-                        * both realm values in the principal are set
+                        * When requested to do so, ensure that both
+                        * the realm values in the principal are set
                         * to the upper case, canonical realm
                         */
                        code = smb_krb5_make_principal(context,
@@ -1177,7 +1177,7 @@ static krb5_error_code samba_kdc_message2entry(krb5_context context,
        /* Windows 2008 seems to enforce this (very sensible) rule by
         * default - don't allow offline attacks on a user's password
         * by asking for a ticket to them as a service (encrypted with
-        * their probably patheticly insecure password) */
+        * their probably pathetically insecure password) */
 
        if (entry->flags.server
            && lpcfg_parm_bool(lp_ctx, NULL, "kdc", "require spn for service", true)) {
index b9ceede6617125362ff1e9b86f392a3d6add31ac..c8aaadcbf6e05cf50cb60284786c3031e5b789b8 100644 (file)
@@ -808,7 +808,7 @@ int samba_krbtgt_is_in_db(struct samba_kdc_entry *p,
                /* Domain trust - we cannot check the sig, but we trust it for a correct PAC
 
                   This is exactly where we should flag for SID
-                  validation when we do inter-foreest trusts
+                  validation when we do inter-forest trusts
                 */
                talloc_free(mem_ctx);
                *is_trusted = true;
index 8b3f072b3627d2ba269b59e94f9f7db377707ca8..2ae9e860a6d5fac19cee46fbc4f1c52a8c521a44 100644 (file)
@@ -56,7 +56,7 @@ struct samba_kdc_db_context {
 
 struct samba_kdc_entry {
        struct samba_kdc_db_context *kdc_db_ctx;
-       const struct sdb_entry *db_entry; /* this is only temporary valid */
+       const struct sdb_entry *db_entry; /* this is only temporarily valid */
        const void *kdc_entry; /* this is a reference to hdb_entry/krb5_db_entry */
        struct ldb_message *msg;
        struct ldb_dn *realm_dn;
index 4f4cda15a1fa49b6b909913bf37ddb334d00956a..4225d84682d868a5d5a28788a5da6f37858d9b55 100644 (file)
@@ -406,7 +406,7 @@ out:
        return ret;
 }
 
-/* Resign (and reform, including possibly new groups) a PAC */
+/* Re-sign (and reform, including possibly new groups) a PAC */
 
 static krb5_error_code samba_wdc_reget_pac(void *priv, astgs_request_t r,
                                           krb5_const_principal _client_principal,