diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-11-04 17:04:49 -0500 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-11-06 17:26:09 -0500 |
commit | 4bca21e23e0b0e2df610d7edb4b205698e8224c0 (patch) | |
tree | 72cb99d54107064d3bedb5e6f0b4da6f35fa54fd /server/providers/ldap/sdap_async.h | |
parent | 213b08986ee7ad623320761c51f9791b95d68679 (diff) | |
download | sssd-4bca21e23e0b0e2df610d7edb4b205698e8224c0.tar.gz sssd-4bca21e23e0b0e2df610d7edb4b205698e8224c0.tar.xz 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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/providers/ldap/sdap_async.h b/server/providers/ldap/sdap_async.h index 911933a72..955dce4f8 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); |