summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2023-05-09 12:07:35 +1200
committerAndrew Bartlett <abartlet@samba.org>2023-05-18 01:03:37 +0000
commit60803ea8c81486911caa079af22d43ebeb662c40 (patch)
tree0d42c92576d619a4ee961de5b73569d8c15606b0
parentbbdb3bf8a634c32f9d2c93d6b1c77eff194dabe6 (diff)
downloadsamba-60803ea8c81486911caa079af22d43ebeb662c40.tar.gz
s4:kdc: Fix typos
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/kdc/db-glue.c2
-rw-r--r--source4/kdc/pac-glue.c2
-rw-r--r--source4/kdc/sdb.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/source4/kdc/db-glue.c b/source4/kdc/db-glue.c
index 04d09eae695..1a752a5bd64 100644
--- a/source4/kdc/db-glue.c
+++ b/source4/kdc/db-glue.c
@@ -3447,7 +3447,7 @@ NTSTATUS samba_kdc_setup_db_ctx(TALLOC_CTX *mem_ctx, struct samba_kdc_base_conte
struct auth_session_info *session_info;
struct samba_kdc_db_context *kdc_db_ctx;
/* The idea here is very simple. Using Kerberos to
- * authenticate the KDC to the LDAP server is higly likely to
+ * authenticate the KDC to the LDAP server is highly likely to
* be circular.
*
* In future we may set this up to use EXERNAL and SSL
diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c
index e09271bdb43..f5704bc4354 100644
--- a/source4/kdc/pac-glue.c
+++ b/source4/kdc/pac-glue.c
@@ -2571,7 +2571,7 @@ krb5_error_code samba_kdc_update_pac(TALLOC_CTX *mem_ctx,
/*
* The server account may be set not to want the PAC.
*
- * While this is wasteful if the above cacluations were done
+ * While this is wasteful if the above calculations were done
* and now thrown away, this is cleaner as we do any ticket
* signature checking etc always.
*
diff --git a/source4/kdc/sdb.h b/source4/kdc/sdb.h
index ec1ce59e5ae..dccfd37bb06 100644
--- a/source4/kdc/sdb.h
+++ b/source4/kdc/sdb.h
@@ -114,7 +114,7 @@ struct sdb_entry {
#define SDB_F_GET_SERVER 8 /* fetch server */
#define SDB_F_GET_KRBTGT 16 /* fetch krbtgt */
#define SDB_F_GET_ANY 28 /* fetch any of client,server,krbtgt */
-#define SDB_F_CANON 32 /* want canonicalition */
+#define SDB_F_CANON 32 /* want canonicalization */
#define SDB_F_ADMIN_DATA 64 /* want data that kdc don't use */
#define SDB_F_KVNO_SPECIFIED 128 /* we want a particular KVNO */
#define SDB_F_FOR_AS_REQ 4096 /* fetch is for a AS REQ */
@@ -131,7 +131,7 @@ struct sdb_entry {
SDB_F_FOR_TGS_REQ)
/* This is not supported by HDB */
-#define SDB_F_FORCE_CANON 16384 /* force canonicalition */
+#define SDB_F_FORCE_CANON 16384 /* force canonicalization */
void sdb_key_free(struct sdb_key *key);
void sdb_keys_free(struct sdb_keys *keys);