]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
nsswitch: Fix code spelling
authorAndreas Schneider <asn@samba.org>
Tue, 6 Jun 2023 11:01:27 +0000 (13:01 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 23 Jun 2023 13:44:31 +0000 (13:44 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
nsswitch/libwbclient/wbclient.h
nsswitch/winbind_nss_aix.c
nsswitch/winbind_nss_linux.c
nsswitch/winbind_nss_solaris.c

index 98ed5fde6c9d5e8cc91deb24dbaaf464f4f21498..3ff1fe6d7b9452894edf2eafd36e3f3062993617 100644 (file)
@@ -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);
index f1f00e92a761328eccb32baeeceadf55de08c814..36fc39d9cd190cb16c7eca8d62f4142c2e2145fe 100644 (file)
@@ -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;
index 4694f25d7ed321fe4e99cb7b1332b74c1797094c..0c16234d864ba9ab3130475c46cabea9b0c7cb35 100644 (file)
@@ -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;
 
index 495854fb9f32bf37d1e355e9278a76334c2e8749..b8b92bcbfa8b1e69d3f42eeacb15d56607b22751 100644 (file)
@@ -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
  */