summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-12-19 00:39:27 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:51:52 +0100
commit131c40a421c5f09a4526d3d7924ebdf2b11b2ee6 (patch)
tree491e79b185f31fe857a813df304b9ff9f7106d21
parent1cd5cc6e6599260b41023e5b83b8d169c3cad246 (diff)
downloadsamba-131c40a421c5f09a4526d3d7924ebdf2b11b2ee6.tar.gz
samba-131c40a421c5f09a4526d3d7924ebdf2b11b2ee6.tar.bz2
samba-131c40a421c5f09a4526d3d7924ebdf2b11b2ee6.zip
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)
-rw-r--r--source4/lib/ldb/common/ldb_msg.c5
1 files changed, 0 insertions, 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) {