summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-12-20 15:11:40 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-12-20 15:11:40 +1100
commit012a6524f7f8d2bca9e760dfe36ea8037766274a (patch)
treeb5dfb10316ba3b6a9fa7695a6c468ca8b845261a /source4
parent18c095e5d86d1353eff8aea1b641968d504b6c80 (diff)
downloadsamba-012a6524f7f8d2bca9e760dfe36ea8037766274a.tar.gz
samba-012a6524f7f8d2bca9e760dfe36ea8037766274a.tar.bz2
samba-012a6524f7f8d2bca9e760dfe36ea8037766274a.zip
Treat DN+STring as a binary string for now
This matches the way we work with DN+Binary. We need this for the OpenLDAP backend. Andrew Bartlett
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/schema/schema_syntax.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c
index 6781ceb1d5..4141026b7e 100644
--- a/source4/dsdb/schema/schema_syntax.c
+++ b/source4/dsdb/schema/schema_syntax.c
@@ -1446,11 +1446,11 @@ static const struct dsdb_syntax dsdb_syntaxes[] = {
.oMSyntax = 127,
.oMObjectClass = OMOBJECTCLASS("\x2a\x86\x48\x86\xf7\x14\x01\x01\x01\x0c"),
.attributeSyntax_oid = "2.5.5.14",
- .drsuapi_to_ldb = dsdb_syntax_FOOBAR_drsuapi_to_ldb,
- .ldb_to_drsuapi = dsdb_syntax_FOOBAR_ldb_to_drsuapi,
- .equality = "distinguishedNameMatch",
+ .drsuapi_to_ldb = dsdb_syntax_DN_BINARY_drsuapi_to_ldb,
+ .ldb_to_drsuapi = dsdb_syntax_DN_BINARY_ldb_to_drsuapi,
+ .equality = "octetStringMatch",
.comment = "OctetString: String+DN",
- .ldb_syntax = LDB_SYNTAX_DN,
+ .ldb_syntax = LDB_SYNTAX_OCTET_STRING,
}
};