summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-12-02 14:22:24 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-12-02 14:22:24 +1100
commit6c298c06f35c132dfd6df854e8fac524e4c80376 (patch)
tree6b93cde8e8ee0997c4e22fd3b88e862ff67ff6d0 /source4/dsdb/schema
parent9b17e3b63419dba3ff8fac627d24366b6b6e12c4 (diff)
downloadsamba-6c298c06f35c132dfd6df854e8fac524e4c80376.tar.gz
samba-6c298c06f35c132dfd6df854e8fac524e4c80376.tar.bz2
samba-6c298c06f35c132dfd6df854e8fac524e4c80376.zip
Don't treat the DN+binary syntax as a DN.
This should fix the OpenLDAP backend
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r--source4/dsdb/schema/schema_syntax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c
index cee74c0593..7aed08605b 100644
--- a/source4/dsdb/schema/schema_syntax.c
+++ b/source4/dsdb/schema/schema_syntax.c
@@ -1278,9 +1278,9 @@ static const struct dsdb_syntax dsdb_syntaxes[] = {
.attributeSyntax_oid = "2.5.5.7",
.drsuapi_to_ldb = dsdb_syntax_DN_BINARY_drsuapi_to_ldb,
.ldb_to_drsuapi = dsdb_syntax_DN_BINARY_ldb_to_drsuapi,
- .equality = "distinguishedNameMatch",
+ .equality = "octetStringMatch",
.comment = "OctetString: Binary+DN",
- .ldb_syntax = LDB_SYNTAX_DN,
+ .ldb_syntax = LDB_SYNTAX_OCTET_STRING,
},{
/* not used in w2k3 schema */
.name = "Object(OR-Name)",