From 30cd03bbbb9e5d8ca6b2014c4b1daceaf75a7397 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 12 Sep 2009 20:03:57 -0400 Subject: Turn ldap driver options into multitype This patch makes basic options multiype, the init function assigns a type from the initialization array, and processes values fetched from confdb accordingly. 4 types are supported so far: string, number, blob and boolean Also convert defines into enums where appropriate. Add fetch functions that check the requested type. --- server/providers/ldap/sdap_async.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/providers/ldap/sdap_async.h') diff --git a/server/providers/ldap/sdap_async.h b/server/providers/ldap/sdap_async.h index c9af750b..08b84d8b 100644 --- a/server/providers/ldap/sdap_async.h +++ b/server/providers/ldap/sdap_async.h @@ -59,7 +59,7 @@ struct tevent_req *sdap_auth_send(TALLOC_CTX *memctx, struct sdap_handle *sh, const char *user_dn, const char *authtok_type, - const char *password); + struct sdap_blob authtok); int sdap_auth_recv(struct tevent_req *req, enum sdap_result *result); struct tevent_req *sdap_get_initgr_send(TALLOC_CTX *memctx, -- cgit