1
0
mirror of https://github.com/samba-team/samba.git synced 2025-09-18 09:44:19 +03:00

Explain that these OIDs are DNs

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2008-02-19 09:36:56 +11:00
parent 2a474568c2
commit 69af290c91

View File

@@ -105,6 +105,7 @@ static int normalise_search_callback(struct ldb_context *ldb, void *context, str
if (!attribute) { if (!attribute) {
continue; continue;
} }
/* Look to see if this attributeSyntax is a DN */
if ((strcmp(attribute->attributeSyntax_oid, "2.5.5.1") != 0) && if ((strcmp(attribute->attributeSyntax_oid, "2.5.5.1") != 0) &&
(strcmp(attribute->attributeSyntax_oid, "2.5.5.7") != 0)) { (strcmp(attribute->attributeSyntax_oid, "2.5.5.7") != 0)) {
continue; continue;