git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
41a1f59
)
r26529: Indeed, this belongs in the schema module. Ranged results need to use
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 18 Dec 2007 23:39:27 +0000
(
00:39
+0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Dec 2007 04:51:52 +0000
(
05:51
+0100)
an attribute with ';' in the name.
Andrew Bartlett
source/lib/ldb/common/ldb_msg.c
patch
|
blob
|
history
diff --git
a/source/lib/ldb/common/ldb_msg.c
b/source/lib/ldb/common/ldb_msg.c
index 528d1d54f1e0f4658fdedd57af767de3139b8c3a..c1ea9db56bfb11a4319fb6503258199bcac471dd 100644
(file)
--- a/
source/lib/ldb/common/ldb_msg.c
+++ b/
source/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) {