]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:winbindd: Fix code spelling
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 4 Sep 2023 02:17:35 +0000 (14:17 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 11 Sep 2023 02:42:41 +0000 (02:42 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/winbindd/winbindd_pam.c
source3/winbindd/winbindd_pam_chauthtok.c
source3/winbindd/winbindd_util.c

index 9efbeb08d18d83fa757d31d674a498e23dcea037..6d41421be1a697118e1c19bae1620ba6b64b1117 100644 (file)
@@ -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
index 336654e91939506e4d89fe6a5a46e3818c77971e..45769a19723222defb416bc5325d30c00339b21b 100644 (file)
@@ -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
                 */
index 797974f0628edc3be296206d0160f0aa8d3492e2..773cdab3da9b53352b0ee8af12639e5707bcea8f 100644 (file)
@@ -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