summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2005-08-02 14:04:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:57 -0500
commitf297f82398d77e5d2fe5faf5de8b581ad5a6acd1 (patch)
tree05ef98c6a2335fc806b71434f2987d093700c7fa /source4/lib/ldb
parente3374bb48daa0235811d384bce55e39b6cf6abda (diff)
downloadsamba-f297f82398d77e5d2fe5faf5de8b581ad5a6acd1.tar.gz
samba-f297f82398d77e5d2fe5faf5de8b581ad5a6acd1.tar.bz2
samba-f297f82398d77e5d2fe5faf5de8b581ad5a6acd1.zip
r8917: Better support for extended ldap search operations
Try to follow the RFC where possible and adapt to openLdap and AD way of handling this structure (This used to be commit d844d45d87b4114bc1b9af2e40f8c27ba3e219de)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/common/ldb_match.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb_match.c b/source4/lib/ldb/common/ldb_match.c
index 97e0a60ace..7ff84f70c3 100644
--- a/source4/lib/ldb/common/ldb_match.c
+++ b/source4/lib/ldb/common/ldb_match.c
@@ -187,6 +187,8 @@ static int ldb_match_equality(struct ldb_context *ldb,
return 0;
}
+ /* TODO: handle the "*" case derived from an extended search
+ operation without the attibute type defined */
el = ldb_msg_find_element(msg, tree->u.equality.attr);
if (el == NULL) {
return 0;