summaryrefslogtreecommitdiffstats
path: root/src/util/domain_info_utils.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-10-26 09:28:45 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-11-05 00:14:06 +0100
commit2ab5d44b280e553cb0553937c7b7f3082d217dc9 (patch)
tree41587c403b5ec081ee20bf74c4bd50fc1cddd9e2 /src/util/domain_info_utils.c
parenteee56828a74d85c54e53f829348655d98a20c85a (diff)
downloadsssd-2ab5d44b280e553cb0553937c7b7f3082d217dc9.tar.gz
sssd-2ab5d44b280e553cb0553937c7b7f3082d217dc9.tar.xz
sssd-2ab5d44b280e553cb0553937c7b7f3082d217dc9.zip
Make sub-domains case-insensitive
Currently the only type of supported sub-domains are AD domains which are not case-sensitive. To make it easier for Windows user we make sub-domains case-insensitive as well which allows to write the username in any case at the login prompt. If support for other types of sub-domains is added it might be necessary to set the case-sensitive flag based on the domain type.
Diffstat (limited to 'src/util/domain_info_utils.c')
-rw-r--r--src/util/domain_info_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/domain_info_utils.c b/src/util/domain_info_utils.c
index 6eed835a9..6ee354552 100644
--- a/src/util/domain_info_utils.c
+++ b/src/util/domain_info_utils.c
@@ -79,7 +79,7 @@ struct sss_domain_info *new_subdomain(TALLOC_CTX *mem_ctx,
dom->id_max = 0xffffffff;
dom->pwd_expiration_warning = parent->pwd_expiration_warning;
dom->cache_credentials = parent->cache_credentials;
- dom->case_sensitive = parent->case_sensitive;
+ dom->case_sensitive = false;
dom->user_timeout = parent->user_timeout;
dom->group_timeout = parent->group_timeout;
dom->netgroup_timeout = parent->netgroup_timeout;