summaryrefslogtreecommitdiff
path: root/server/providers/ldap/sdap_async.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-11-04 17:04:49 -0500
committerSimo Sorce <ssorce@redhat.com>2009-11-06 17:26:09 -0500
commit4bca21e23e0b0e2df610d7edb4b205698e8224c0 (patch)
tree72cb99d54107064d3bedb5e6f0b4da6f35fa54fd /server/providers/ldap/sdap_async.h
parent213b08986ee7ad623320761c51f9791b95d68679 (diff)
downloadsssd-4bca21e23e0b0e2df610d7edb4b205698e8224c0.tar.gz
sssd-4bca21e23e0b0e2df610d7edb4b205698e8224c0.tar.bz2
sssd-4bca21e23e0b0e2df610d7edb4b205698e8224c0.zip
Unify parse routines, use maps in generic searches
This remove redundant code and also allows the generic search to be used to use maps to convert attributes.
Diffstat (limited to 'server/providers/ldap/sdap_async.h')
-rw-r--r--server/providers/ldap/sdap_async.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/providers/ldap/sdap_async.h b/server/providers/ldap/sdap_async.h
index 911933a7..955dce4f 100644
--- a/server/providers/ldap/sdap_async.h
+++ b/server/providers/ldap/sdap_async.h
@@ -106,7 +106,9 @@ struct tevent_req *sdap_get_generic_send(TALLOC_CTX *memctx,
const char *search_base,
int scope,
const char *filter,
- const char **attrs);
+ const char **attrs,
+ struct sdap_attr_map *map,
+ int map_num_attrs);
int sdap_get_generic_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx, size_t *reply_count,
struct sysdb_attrs ***reply_list);