diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-08-16 01:58:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:01:56 -0500 |
commit | 9de81dbae08ae5d560ebb1affeee916ae0b3c779 (patch) | |
tree | 32732df83e8027e48e939eb7aeddf9827d66a32d /source4/dsdb/samdb/ldb_modules | |
parent | 103b1ead98ace55649ebba9276e2ee58ba0d9ff2 (diff) | |
download | samba-9de81dbae08ae5d560ebb1affeee916ae0b3c779.tar.gz samba-9de81dbae08ae5d560ebb1affeee916ae0b3c779.tar.bz2 samba-9de81dbae08ae5d560ebb1affeee916ae0b3c779.zip |
r24479: Typo fix - this makes 'make test' pass against OpenLDAP again.
The objectCategory canonicalise_fn makes everything a DN, which is
exactly what we need here.
Andrew Bartlett
(This used to be commit f5ec369741661fdf7ef5f5183c0e1a996bd46d41)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/entryUUID.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/entryUUID.c b/source4/dsdb/samdb/ldb_modules/entryUUID.c index 6114e0f602..f5de138b52 100644 --- a/source4/dsdb/samdb/ldb_modules/entryUUID.c +++ b/source4/dsdb/samdb/ldb_modules/entryUUID.c @@ -151,7 +151,7 @@ static struct ldb_val sid_always_binary(struct ldb_module *module, TALLOC_CTX *c static struct ldb_val objectCategory_always_dn(struct ldb_module *module, TALLOC_CTX *ctx, const struct ldb_val *val) { struct ldb_val out = data_blob(NULL, 0); - const struct ldb_schema_attribute *a = ldb_schema_attribute_by_name(module->ldb, "objectSid"); + const struct ldb_schema_attribute *a = ldb_schema_attribute_by_name(module->ldb, "objectCategory"); if (a->syntax->canonicalise_fn(module->ldb, ctx, val, &out) != LDB_SUCCESS) { return data_blob(NULL, 0); |