From eade61ae035caba607b2f31af7561b8b35059139 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Fri, 4 Mar 2011 23:02:29 +0100 Subject: s4:operational LDB module - fix attribute names to be right up/down-cased MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Autobuild-User: Matthias Dieter Wallnöfer Autobuild-Date: Fri Mar 4 23:56:07 CET 2011 on sn-devel-104 --- source4/dsdb/samdb/ldb_modules/operational.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source4/dsdb/samdb/ldb_modules/operational.c') diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c index 40f962190f..dcc047f13e 100644 --- a/source4/dsdb/samdb/ldb_modules/operational.c +++ b/source4/dsdb/samdb/ldb_modules/operational.c @@ -25,11 +25,11 @@ */ /* - createTimestamp: HIDDEN, searchable, ldaptime, alias for whenCreated - modifyTimestamp: HIDDEN, searchable, ldaptime, alias for whenChanged + createTimeStamp: HIDDEN, searchable, ldaptime, alias for whenCreated + modifyTimeStamp: HIDDEN, searchable, ldaptime, alias for whenChanged for the above two, we do the search as normal, and if - createTimestamp or modifyTimestamp is asked for, then do + createTimeStamp or modifyTimeStamp is asked for, then do additional searches for whenCreated and whenChanged and fill in the resulting values @@ -587,8 +587,8 @@ static const struct { const char *attr; const char *replace; } parse_tree_sub[] = { - { "createTimestamp", "whenCreated" }, - { "modifyTimestamp", "whenChanged" } + { "createTimeStamp", "whenCreated" }, + { "modifyTimeStamp", "whenChanged" } }; @@ -602,8 +602,8 @@ static const struct { const char *extra_attr; int (*constructor)(struct ldb_module *, struct ldb_message *, enum ldb_scope, struct ldb_request *); } search_sub[] = { - { "createTimestamp", "whenCreated", NULL , NULL }, - { "modifyTimestamp", "whenChanged", NULL , NULL }, + { "createTimeStamp", "whenCreated", NULL , NULL }, + { "modifyTimeStamp", "whenChanged", NULL , NULL }, { "structuralObjectClass", "objectClass", NULL , NULL }, { "canonicalName", NULL, NULL , construct_canonical_name }, { "primaryGroupToken", "objectClass", "objectSid", construct_primary_group_token }, -- cgit