summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_map
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-28 22:17:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:53 -0500
commitd6cd54fb0a1c3ac51479d1fdcff91893c27ef9d7 (patch)
tree2d8964994e7b8c282c3e8ee87480bccdc8585c4a /source4/lib/ldb/ldb_map
parent8b15ef881d21b713817bb3aa3599288ecdde0d28 (diff)
downloadsamba-d6cd54fb0a1c3ac51479d1fdcff91893c27ef9d7.tar.gz
samba-d6cd54fb0a1c3ac51479d1fdcff91893c27ef9d7.tar.bz2
samba-d6cd54fb0a1c3ac51479d1fdcff91893c27ef9d7.zip
r9718: Work a bit on the SWAT interface
(This used to be commit b1844905d2c1ca26aef0ccba799ff16383348fc1)
Diffstat (limited to 'source4/lib/ldb/ldb_map')
-rw-r--r--source4/lib/ldb/ldb_map/ldb_map.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_map/ldb_map.c b/source4/lib/ldb/ldb_map/ldb_map.c
index 5ae4a435d8..1a8ea2afc4 100644
--- a/source4/lib/ldb/ldb_map/ldb_map.c
+++ b/source4/lib/ldb/ldb_map/ldb_map.c
@@ -136,8 +136,10 @@ static struct ldb_parse_tree *ldb_map_parse_tree(struct ldb_module *module, TALL
return attr->convert_operator(privdat, module, tree);
}
- if (map_type == MAP_IGNORE)
+ if (map_type == MAP_IGNORE) {
+ DEBUG(0, ("Search on ignored attribute '%s'!\n", tree->u.equality.attr));
return NULL;
+ }
if (map_type == MAP_GENERATE) {
DEBUG(0, ("Can't do conversion for MAP_GENERATE in map_parse_tree without convert_operator for '%s'\n", tree->u.equality.attr));