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
committerSumit Bose <sbose@redhat.com>2012-10-26 10:32:06 +0200
commitac7a7ee3d1e138818a1ed78758f7dd3c3306a56b (patch)
treee03889c12bbd350d91cc5004012431738060d1a0 /src/util/domain_info_utils.c
parentbfc3b766d8774186307dc43c187a014b4803e98c (diff)
downloadsssd-ac7a7ee3d1e138818a1ed78758f7dd3c3306a56b.tar.gz
sssd-ac7a7ee3d1e138818a1ed78758f7dd3c3306a56b.tar.xz
sssd-ac7a7ee3d1e138818a1ed78758f7dd3c3306a56b.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;