1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

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)
This commit is contained in:
Andrew Bartlett 2007-04-23 07:25:09 +00:00 committed by Gerald (Jerry) Carter
parent 1222a1c456
commit 47e0c78bac
2 changed files with 13 additions and 0 deletions

View File

@ -360,6 +360,7 @@ const struct ldb_map_attribute entryUUID_attributes[] =
}
}
},
#if 0
{
.local_name = "allowedChildClassesEffective",
.type = MAP_CONVERT,
@ -371,6 +372,7 @@ const struct ldb_map_attribute entryUUID_attributes[] =
},
},
},
#endif
{
.local_name = "objectCategory",
.type = MAP_CONVERT,
@ -508,6 +510,7 @@ const struct ldb_map_attribute nsuniqueid_attributes[] =
}
}
},
#if 0
{
.local_name = "allowedChildClassesEffective",
.type = MAP_CONVERT,
@ -519,6 +522,7 @@ const struct ldb_map_attribute nsuniqueid_attributes[] =
},
},
},
#endif
{
.local_name = "objectCategory",
.type = MAP_CONVERT,

View File

@ -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",