From: Joseph Sutton Date: Mon, 4 Sep 2023 02:17:35 +0000 (+1200) Subject: s3:winbindd: Fix code spelling X-Git-Tag: tevent-0.16.0~668 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e74350fbbdce4b40159ca09b8da66c72acf8cd1;p=thirdparty%2Fsamba.git s3:winbindd: Fix code spelling Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c index 9efbeb08d18..6d41421be1a 100644 --- a/source3/winbindd/winbindd_pam.c +++ b/source3/winbindd/winbindd_pam.c @@ -3061,8 +3061,8 @@ done: result = winbindd_update_creds_by_name(contact_domain, user, r->in.new_password); /* Again, this happens when we login from gdm or xdm - * and the password expires, *BUT* cached crendentials - * doesn't exist. winbindd_update_creds_by_name() + * and the password expires, *BUT* cached credentials + * don't exist. winbindd_update_creds_by_name() * returns NT_STATUS_NO_SUCH_USER. * This is not a failure. * --- BoYang diff --git a/source3/winbindd/winbindd_pam_chauthtok.c b/source3/winbindd/winbindd_pam_chauthtok.c index 336654e9193..45769a19723 100644 --- a/source3/winbindd/winbindd_pam_chauthtok.c +++ b/source3/winbindd/winbindd_pam_chauthtok.c @@ -184,7 +184,7 @@ NTSTATUS winbindd_pam_chauthtok_recv(struct tevent_req *req, /* * When we login from gdm or xdm and password expires, * we change password, but there are no memory - * crendentials So, winbindd_replace_memory_creds() + * credentials. So, winbindd_replace_memory_creds() * returns NT_STATUS_OBJECT_NAME_NOT_FOUND. This is * not a failure. --- BoYang */ diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c index 797974f0628..773cdab3da9 100644 --- a/source3/winbindd/winbindd_util.c +++ b/source3/winbindd/winbindd_util.c @@ -668,7 +668,7 @@ static void rescan_forest_trusts( void ) async process: (a) ask our domain (b) ask the root domain in our forest - (c) ask the a DC in any Win2003 trusted forests + (c) ask a DC in any Win2003 trusted forests *********************************************************************/ void rescan_trusted_domains(struct tevent_context *ev, struct tevent_timer *te, @@ -676,7 +676,7 @@ void rescan_trusted_domains(struct tevent_context *ev, struct tevent_timer *te, { TALLOC_FREE(te); - /* I use to clear the cache here and start over but that + /* I used to clear the cache here and start over but that caused problems in child processes that needed the trust dom list early on. Removing it means we could have some trusted domains listed that have been