From 796463906a54e259bd5b582ce84af4297a58eafc Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Sat, 28 Jan 2012 11:40:00 -0500 Subject: LDAP: Add support for service lookups (non-enum) --- src/providers/ldap/ldap_common.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/providers/ldap/ldap_common.h') diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h index 0ab0a5e1..cda21da4 100644 --- a/src/providers/ldap/ldap_common.h +++ b/src/providers/ldap/ldap_common.h @@ -155,6 +155,18 @@ struct tevent_req *ldap_netgroup_get_send(TALLOC_CTX *memctx, struct sdap_id_ctx *ctx, const char *name); int ldap_netgroup_get_recv(struct tevent_req *req, int *dp_error_out); + +struct tevent_req * +services_get_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct sdap_id_ctx *id_ctx, + const char *name, + const char *protocol, + int filter_type); + +errno_t +services_get_recv(struct tevent_req *req, int *dp_error_out); + /* setup child logging */ int setup_child(struct sdap_id_ctx *ctx); -- cgit