s4:kdc: Fix code spelling
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 16 Oct 2023 22:21:00 +0000 (11:21 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 25 Oct 2023 22:23:37 +0000 (22:23 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/db-glue.c
source4/kdc/mit_samba.c

index 61e833e43cdb89d77ec4948104e49ec07834f4fa..38fac0d5ee88fc9aa23962bb4fb872cca391db07 100644 (file)
@@ -1210,7 +1210,7 @@ static krb5_error_code samba_kdc_message2entry(krb5_context context,
         * by asking for a ticket to them as a service (encrypted with
         * their probably pathetically insecure password)
         *
-        * But user2user avoids using the keys bases on the password,
+        * But user2user avoids using the keys based on the password,
         * so we can allow it.
         */
 
index 2da054cb84e078d66505a62542219ff823843aa7..ae8895d772b99d56d2479b9691eb306a9a7ebd94 100644 (file)
@@ -276,7 +276,7 @@ fetch_referral_principal:
                 *
                 *     ADDOM.SAMBA.EXAMPLE.COM
                 *
-                * We look up if we have and entry in the database and get an
+                * We look up if we have an entry in the database and get an
                 * entry with the principal:
                 *
                 *     cifs/dc7.SAMBA2008R2.EXAMPLE.COM@SAMBA2008R2.EXAMPLE.COM