From 131c40a421c5f09a4526d3d7924ebdf2b11b2ee6 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 19 Dec 2007 00:39:27 +0100 Subject: r26529: Indeed, this belongs in the schema module. Ranged results need to use an attribute with ';' in the name. Andrew Bartlett (This used to be commit f4023b176eabfb3282fe9b999eac8db55a095ab0) --- source4/lib/ldb/common/ldb_msg.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source4/lib/ldb/common/ldb_msg.c b/source4/lib/ldb/common/ldb_msg.c index 528d1d54f1..c1ea9db56b 100644 --- a/source4/lib/ldb/common/ldb_msg.c +++ b/source4/lib/ldb/common/ldb_msg.c @@ -124,11 +124,6 @@ int ldb_msg_add_empty( struct ldb_message *msg, { struct ldb_message_element *els; - /* FIXME: we should probably leave this to the schema module to check */ - if (! ldb_valid_attr_name(attr_name)) { - return LDB_ERR_OPERATIONS_ERROR; - } - els = talloc_realloc(msg, msg->elements, struct ldb_message_element, msg->num_elements+1); if (!els) { -- cgit