summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-06 20:18:40 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-06 20:24:19 +0100
commita093e10896a4768dba0cd793a04b7d5d1366fee2 (patch)
tree8a8a246297deac3b81021c1dcb0b56b227a26ac8
parent1688b71ca4f762e61fde8c5f1bef9ceca6f694c9 (diff)
downloadsamba-a093e10896a4768dba0cd793a04b7d5d1366fee2.tar.gz
samba-a093e10896a4768dba0cd793a04b7d5d1366fee2.tar.bz2
samba-a093e10896a4768dba0cd793a04b7d5d1366fee2.zip
s4:operational LDB module - "canonicalName" doesn't make use of the "distinguishedName" attribute
It uses the DN from the returned message
-rw-r--r--source4/dsdb/samdb/ldb_modules/operational.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c
index 3151061409..12edfc2dbc 100644
--- a/source4/dsdb/samdb/ldb_modules/operational.c
+++ b/source4/dsdb/samdb/ldb_modules/operational.c
@@ -539,8 +539,8 @@ static const struct {
} search_sub[] = {
{ "createTimestamp", "whenCreated", NULL , NULL },
{ "modifyTimestamp", "whenChanged", NULL , NULL },
- { "structuralObjectClass", "objectClass", NULL , NULL },
- { "canonicalName", "distinguishedName", NULL , construct_canonical_name },
+ { "structuralObjectClass", NULL, NULL , NULL },
+ { "canonicalName", NULL, NULL , construct_canonical_name },
{ "primaryGroupToken", "objectClass", "objectSid", construct_primary_group_token },
{ "tokenGroups", "objectClass", NULL, construct_token_groups },
{ "parentGUID", NULL, NULL, construct_parent_guid },