mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:dsdb: Fix code spelling
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
3b54546de6
commit
2113f1c317
@ -528,7 +528,7 @@ NTTIME samdb_result_allow_password_change(struct ldb_context *sam_ldb,
|
||||
}
|
||||
|
||||
/*
|
||||
pull a samr_Password structutre from a result set.
|
||||
pull a samr_Password structure from a result set.
|
||||
*/
|
||||
struct samr_Password *samdb_result_hash(TALLOC_CTX *mem_ctx, const struct ldb_message *msg, const char *attr)
|
||||
{
|
||||
@ -654,7 +654,7 @@ NTSTATUS samdb_result_passwords(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
|
||||
/*
|
||||
pull a samr_LogonHours structutre from a result set.
|
||||
pull a samr_LogonHours structure from a result set.
|
||||
*/
|
||||
struct samr_LogonHours samdb_result_logon_hours(TALLOC_CTX *mem_ctx, struct ldb_message *msg, const char *attr)
|
||||
{
|
||||
|
@ -539,13 +539,13 @@ static int password_hash_bypass(struct ldb_module *module, struct ldb_request *r
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
|
||||
talloc_free(scb);
|
||||
return ldb_error(ldb, LDB_ERR_CONSTRAINT_VIOLATION,
|
||||
"ndr_pull_struct_blob PrimaryKerberosNeverKeys");
|
||||
"ndr_pull_struct_blob PrimaryKerberosNewerKeys");
|
||||
}
|
||||
|
||||
if (k->version != 4) {
|
||||
talloc_free(scb);
|
||||
return ldb_error(ldb, LDB_ERR_CONSTRAINT_VIOLATION,
|
||||
"KerberosNerverKeys version != 4");
|
||||
"KerberosNewerKeys version != 4");
|
||||
}
|
||||
|
||||
if (k->ctr.ctr4.salt.string == NULL) {
|
||||
@ -1012,7 +1012,7 @@ static int setup_primary_kerberos(struct setup_password_fields_io *io,
|
||||
old_pkb3 = &_old_pkb.ctr.ctr3;
|
||||
}
|
||||
|
||||
/* if we didn't found the old keys we're done */
|
||||
/* if we didn't find the old keys we're done */
|
||||
if (!old_pkb3) {
|
||||
return LDB_SUCCESS;
|
||||
}
|
||||
@ -1127,7 +1127,7 @@ static int setup_primary_kerberos_newer(struct setup_password_fields_io *io,
|
||||
old_pkb4 = &_old_pkb.ctr.ctr4;
|
||||
}
|
||||
|
||||
/* if we didn't found the old keys we're done */
|
||||
/* if we didn't find the old keys we're done */
|
||||
if (!old_pkb4) {
|
||||
return LDB_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user