Author: abartlet Date: 2007-12-19 00:39:27 +0000 (Wed, 19 Dec 2007) New Revision: 26529
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26529 Log: Indeed, this belongs in the schema module. Ranged results need to use an attribute with ';' in the name. Andrew Bartlett Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_msg.c Changeset: Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_msg.c =================================================================== --- branches/SAMBA_4_0/source/lib/ldb/common/ldb_msg.c 2007-12-18 22:50:49 UTC (rev 26528) +++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_msg.c 2007-12-19 00:39:27 UTC (rev 26529) @@ -124,11 +124,6 @@ { 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) {
