summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-04-23 07:25:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:31 -0500
commit47e0c78bac90f2c22410ee6609f802c9764e2109 (patch)
tree225cb434bd709b394231bfb6d08d19ffdc0a0758 /source4/lib
parent1222a1c456785f2b0046efc271ac8bfff3be2753 (diff)
downloadsamba-47e0c78bac90f2c22410ee6609f802c9764e2109.tar.gz
samba-47e0c78bac90f2c22410ee6609f802c9764e2109.tar.bz2
samba-47e0c78bac90f2c22410ee6609f802c9764e2109.zip
r22476: The OID match is used very oddly in AD, as it is often used for fields
that contain attribute names and objectClasses. Make it a case insensitive string for now. Andrew Bartlett (This used to be commit 9908a05ef70c748c699b5a18178e7948f7814d7a)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/tools/convert.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/lib/ldb/tools/convert.c b/source4/lib/ldb/tools/convert.c
index 2320970030..ed1330debc 100644
--- a/source4/lib/ldb/tools/convert.c
+++ b/source4/lib/ldb/tools/convert.c
@@ -34,12 +34,21 @@ static const struct syntax_map syntax_map[] = {
.equality = "distinguishedNameMatch",
.comment = "Object(DS-DN) == a DN"
},
+#if 0
{
.Standard_OID = "1.3.6.1.4.1.1466.115.121.1.38",
.AD_OID = "2.5.5.2",
.equality = "objectIdentifierMatch",
.comment = "OID String"
},
+#else
+ {
+ .Standard_OID = "1.2.840.113556.1.4.905",
+ .AD_OID = "2.5.5.2",
+ .equality = "caseIgnoreMatch",
+ .comment = "OID as a Case Insensitive String"
+ },
+#endif
{
.Standard_OID = "1.2.840.113556.1.4.905",
.AD_OID = "2.5.5.4",