[PATCH 1/3] adsldp: Fix mapping for 1.3.6.1.4.1.1466.115.121.1.26.
Dmitry Timoshkov
dmitry at baikal.ru
Mon Apr 13 05:07:08 CDT 2020
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>
---
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"))
--
2.25.2
More information about the wine-devel
mailing list