1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4:kdc: Fix code spelling

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-07-11 16:52:25 +12:00 committed by Andrew Bartlett
parent 119067e489
commit dfad7f876e
4 changed files with 6 additions and 6 deletions

View 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)) {

View 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;

View 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;

View 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,