From: Andreas Schneider Date: Tue, 6 Jun 2023 11:01:27 +0000 (+0200) Subject: nsswitch: Fix code spelling X-Git-Tag: talloc-2.4.1~280 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=51bec2206e02979ffd9abc635d862e332ee6caab;p=thirdparty%2Fsamba.git nsswitch: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- diff --git a/nsswitch/libwbclient/wbclient.h b/nsswitch/libwbclient/wbclient.h index 98ed5fde6c9..3ff1fe6d7b9 100644 --- a/nsswitch/libwbclient/wbclient.h +++ b/nsswitch/libwbclient/wbclient.h @@ -417,7 +417,7 @@ struct wbcLogonUserInfo { #define WBC_ACB_SVRTRUST 0x00000100 /* 1 Server trust account */ #define WBC_ACB_PWNOEXP 0x00000200 /* 1 User password does not expire */ #define WBC_ACB_AUTOLOCK 0x00000400 /* 1 Account auto locked */ -#define WBC_ACB_ENC_TXT_PWD_ALLOWED 0x00000800 /* 1 Encryped text password is allowed */ +#define WBC_ACB_ENC_TXT_PWD_ALLOWED 0x00000800 /* 1 Encrypted text password is allowed */ #define WBC_ACB_SMARTCARD_REQUIRED 0x00001000 /* 1 Smart Card required */ #define WBC_ACB_TRUSTED_FOR_DELEGATION 0x00002000 /* 1 Trusted for Delegation */ #define WBC_ACB_NOT_DELEGATED 0x00004000 /* 1 Not delegated */ @@ -1097,7 +1097,7 @@ wbcErr wbcAllocateGid(gid_t *pgid); * * @return #wbcErr * - * @deprecated This method is not impemented any more and should + * @deprecated This method is not implemented any more and should * be removed in the next major version change. **/ wbcErr wbcSetUidMapping(uid_t uid, const struct wbcDomainSid *sid); @@ -1110,7 +1110,7 @@ wbcErr wbcSetUidMapping(uid_t uid, const struct wbcDomainSid *sid); * * @return #wbcErr * - * @deprecated This method is not impemented any more and should + * @deprecated This method is not implemented any more and should * be removed in the next major version change. **/ wbcErr wbcSetGidMapping(gid_t gid, const struct wbcDomainSid *sid); @@ -1123,7 +1123,7 @@ wbcErr wbcSetGidMapping(gid_t gid, const struct wbcDomainSid *sid); * * @return #wbcErr * - * @deprecated This method is not impemented any more and should + * @deprecated This method is not implemented any more and should * be removed in the next major version change. **/ wbcErr wbcRemoveUidMapping(uid_t uid, const struct wbcDomainSid *sid); @@ -1136,7 +1136,7 @@ wbcErr wbcRemoveUidMapping(uid_t uid, const struct wbcDomainSid *sid); * * @return #wbcErr * - * @deprecated This method is not impemented any more and should + * @deprecated This method is not implemented any more and should * be removed in the next major version change. **/ wbcErr wbcRemoveGidMapping(gid_t gid, const struct wbcDomainSid *sid); @@ -1148,7 +1148,7 @@ wbcErr wbcRemoveGidMapping(gid_t gid, const struct wbcDomainSid *sid); * * @return #wbcErr * - * @deprecated This method is not impemented any more and should + * @deprecated This method is not implemented any more and should * be removed in the next major version change. **/ wbcErr wbcSetUidHwm(uid_t uid_hwm); @@ -1160,7 +1160,7 @@ wbcErr wbcSetUidHwm(uid_t uid_hwm); * * @return #wbcErr * - * @deprecated This method is not impemented any more and should + * @deprecated This method is not implemented any more and should * be removed in the next major version change. **/ wbcErr wbcSetGidHwm(gid_t gid_hwm); diff --git a/nsswitch/winbind_nss_aix.c b/nsswitch/winbind_nss_aix.c index f1f00e92a76..36fc39d9cd1 100644 --- a/nsswitch/winbind_nss_aix.c +++ b/nsswitch/winbind_nss_aix.c @@ -385,7 +385,7 @@ static char *wb_aix_getgrset(char *user) num_gids = response.data.num_entries; gid_list = (gid_t *)response.extra_data.data; - /* allocate a space large enough to contruct the string */ + /* allocate a space large enough to construct the string */ tmpbuf = malloc(num_gids*12); if (!tmpbuf) { return NULL; diff --git a/nsswitch/winbind_nss_linux.c b/nsswitch/winbind_nss_linux.c index 4694f25d7ed..0c16234d864 100644 --- a/nsswitch/winbind_nss_linux.c +++ b/nsswitch/winbind_nss_linux.c @@ -299,7 +299,7 @@ static NSS_STATUS fill_grent(struct group *result, struct winbindd_gr *gr, /* this next value is a pointer to a pointer so let's align it */ - /* Calculate number of extra bytes needed to align on pointer size boundry */ + /* Calculate number of extra bytes needed to align on pointer size boundary */ if ((i = (unsigned long)(*buffer) % sizeof(char*)) != 0) i = sizeof(char*) - i; diff --git a/nsswitch/winbind_nss_solaris.c b/nsswitch/winbind_nss_solaris.c index 495854fb9f3..b8b92bcbfa8 100644 --- a/nsswitch/winbind_nss_solaris.c +++ b/nsswitch/winbind_nss_solaris.c @@ -58,7 +58,7 @@ #ifdef HPUX /* - * HP-UX 11 has no definiton of the nss_groupsbymem structure. This + * HP-UX 11 has no definition of the nss_groupsbymem structure. This * definition is taken from the nss_ldap project at: * http://www.padl.com/OSS/nss_ldap.html */