Dmitry Timoshkov : adsldp: Fix mapping for 1.3.6.1.4.1.1466.115.121.1.26.

Alexandre Julliard julliard at winehq.org
Mon Apr 13 15:05:56 CDT 2020


Module: wine
Branch: master
Commit: 7b138e929d48366aaafeef4587d880ae586b0ec3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7b138e929d48366aaafeef4587d880ae586b0ec3

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Mon Apr 13 18:07:08 2020 +0800

adsldp: Fix mapping for 1.3.6.1.4.1.1466.115.121.1.26.

According to rfc4517 1.3.6.1.4.1.1466.115.121.1.26 is IA5 String,
and in an AD DC managed by Samba it's used for LDAP attributes
"loginShell" and "unixHomeDirectory", so I assumed that a proper
type for it is ADSTYPE_CASE_EXACT_STRING. However testing under
Windows 10 shows that it's ADSTYPE_CASE_IGNORE_STRING there.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/adsldp/schema.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/adsldp/schema.c b/dlls/adsldp/schema.c
index 0611dc2920..63c95bdae6 100644
--- a/dlls/adsldp/schema.c
+++ b/dlls/adsldp/schema.c
@@ -96,7 +96,7 @@ ADSTYPEENUM get_schema_type(const WCHAR *name, const struct attribute_type *at,
     if (!wcscmp(type->syntax, L"1.3.6.1.4.1.1466.115.121.1.24"))
         return ADSTYPE_UTC_TIME;
     if (!wcscmp(type->syntax, L"1.3.6.1.4.1.1466.115.121.1.26"))
-        return ADSTYPE_CASE_EXACT_STRING;
+        return ADSTYPE_CASE_IGNORE_STRING;
     if (!wcscmp(type->syntax, L"1.3.6.1.4.1.1466.115.121.1.27"))
         return ADSTYPE_INTEGER;
     if (!wcscmp(type->syntax, L"1.3.6.1.4.1.1466.115.121.1.38"))




More information about the wine-cvs mailing list