summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2015-06-26 08:52:12 +0300
committerPavel Březina <pbrezina@redhat.com>2015-07-27 17:25:19 +0200
commitc822eaf347c81da37c59ecc19cc598497611f4ce (patch)
tree75cd4e4603ebdf56556f8d0fac2eff1e58c02281
parente62de7ad336fa062e9ad44a0803a1fe0e3a56289 (diff)
downloadsssd-c822eaf347c81da37c59ecc19cc598497611f4ce.tar.gz
sssd-c822eaf347c81da37c59ecc19cc598497611f4ce.tar.xz
sssd-c822eaf347c81da37c59ecc19cc598497611f4ce.zip
Fix minor typos
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
-rw-r--r--src/man/sssd.conf.5.xml4
-rw-r--r--src/providers/ad/ad_gpo_child.c2
-rw-r--r--src/providers/ldap/sdap_async_initgroups_ad.c2
-rw-r--r--src/sss_client/common.c2
-rw-r--r--src/sss_client/libwbclient/wbc_sid_common.c2
-rw-r--r--src/tests/sysdb-tests.c6
6 files changed, 9 insertions, 9 deletions
diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml
index 7d3a57b0e..b063d7cb8 100644
--- a/src/man/sssd.conf.5.xml
+++ b/src/man/sssd.conf.5.xml
@@ -756,7 +756,7 @@ fallback_homedir = /home/%u
Some of the additional NSS responder requests can
return more attributes than just the POSIX ones
defined by the NSS interface. The list of attributes
- is controlled by this option. It is handle the same
+ is controlled by this option. It is handled the same
way as the <quote>user_attributes</quote> option of
the InfoPipe responder (see
<citerefentry>
@@ -1430,7 +1430,7 @@ pam_account_expired_message = Account expired, please call help desk.
<para>
If 2-Factor-Authentication (2FA) is used and
credentials should be saved this value determines
- the minimal lenght the first authentication factor
+ the minimal length the first authentication factor
(long term password) must have to be saved as SHA512
hash into the cache.
</para>
diff --git a/src/providers/ad/ad_gpo_child.c b/src/providers/ad/ad_gpo_child.c
index 4750732be..03951af04 100644
--- a/src/providers/ad/ad_gpo_child.c
+++ b/src/providers/ad/ad_gpo_child.c
@@ -585,7 +585,7 @@ copy_smb_file_to_gpo_cache(SMBCCTX *smbc_ctx,
* than the cached_gpt_version, thereby triggering a fresh download.
*
* Note that the backend will later do the following:
- * - backend will save the the sysvol_gpt_version to sysdb cache
+ * - backend will save the sysvol_gpt_version to sysdb cache
* - backend will read the policy file from the GPO_CACHE
*/
static errno_t
diff --git a/src/providers/ldap/sdap_async_initgroups_ad.c b/src/providers/ldap/sdap_async_initgroups_ad.c
index 463d85065..e210db978 100644
--- a/src/providers/ldap/sdap_async_initgroups_ad.c
+++ b/src/providers/ldap/sdap_async_initgroups_ad.c
@@ -1445,7 +1445,7 @@ sdap_ad_tokengroups_initgroups_send(TALLOC_CTX *mem_ctx,
state->use_id_mapping = use_id_mapping;
state->domain = domain;
- /* We can compute the the gidNumber attribute from SIDs obtained from
+ /* We can compute the gidNumber attribute from SIDs obtained from
* the tokenGroups lookup in case ID mapping is used for a user from the
* parent domain. For trusted domains, we need to know the group type
* to be able to filter out domain-local groups. Additionally, as a
diff --git a/src/sss_client/common.c b/src/sss_client/common.c
index 970cfe6f3..0d9106a04 100644
--- a/src/sss_client/common.c
+++ b/src/sss_client/common.c
@@ -198,7 +198,7 @@ static enum sss_status sss_cli_recv_rep(enum sss_cli_command cmd,
int len;
int ret;
- header[0] = SSS_NSS_HEADER_SIZE; /* unitl we know the real lenght */
+ header[0] = SSS_NSS_HEADER_SIZE; /* unitl we know the real length */
header[1] = 0;
header[2] = 0;
header[3] = 0;
diff --git a/src/sss_client/libwbclient/wbc_sid_common.c b/src/sss_client/libwbclient/wbc_sid_common.c
index 60ddbddac..d562d7728 100644
--- a/src/sss_client/libwbclient/wbc_sid_common.c
+++ b/src/sss_client/libwbclient/wbc_sid_common.c
@@ -148,7 +148,7 @@ wbcErr wbcStringToSid(const char *str,
sid->id_auth[1] = (x & 0x00ff00000000ULL) >> 32;
sid->id_auth[0] = (x & 0xff0000000000ULL) >> 40;
- /* now read the the subauthorities */
+ /* now read the subauthorities */
p = q +1;
sid->num_auths = 0;
while (sid->num_auths < WBC_MAXSUBAUTHS) {
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c
index 522a44aa4..24d1527f2 100644
--- a/src/tests/sysdb-tests.c
+++ b/src/tests/sysdb-tests.c
@@ -1835,7 +1835,7 @@ START_TEST (test_sysdb_cache_password_ex)
val = ldb_msg_find_attr_as_int(res->msgs[0], SYSDB_CACHEDPWD_TYPE, 0);
fail_unless(val == SSS_AUTHTOK_TYPE_PASSWORD,
- "Unexptected authtok type, found [%d], expected [%d].",
+ "Unexpected authtok type, found [%d], expected [%d].",
val, SSS_AUTHTOK_TYPE_PASSWORD);
ret = sysdb_cache_password_ex(test_ctx->domain, data->username,
@@ -1849,12 +1849,12 @@ START_TEST (test_sysdb_cache_password_ex)
val = ldb_msg_find_attr_as_int(res->msgs[0], SYSDB_CACHEDPWD_TYPE, 0);
fail_unless(val == SSS_AUTHTOK_TYPE_2FA,
- "Unexptected authtok type, found [%d], expected [%d].",
+ "Unexpected authtok type, found [%d], expected [%d].",
val, SSS_AUTHTOK_TYPE_2FA);
val = ldb_msg_find_attr_as_int(res->msgs[0], SYSDB_CACHEDPWD_FA2_LEN, 0);
fail_unless(val == 12,
- "Unexptected second factor lenght, found [%d], expected [%d].",
+ "Unexpected second factor length, found [%d], expected [%d].",
val, 12);
talloc_free(test_ctx);