diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-09-12 20:03:57 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-09-14 12:08:23 -0400 |
commit | 30cd03bbbb9e5d8ca6b2014c4b1daceaf75a7397 (patch) | |
tree | a956c14108126d6318d63302f5030e8bcd0fd2ec /server/providers/ldap/sdap_async.h | |
parent | a0b02295b0e0c55174b37ad3b231d28e0e1d1f50 (diff) | |
download | sssd-30cd03bbbb9e5d8ca6b2014c4b1daceaf75a7397.tar.gz sssd-30cd03bbbb9e5d8ca6b2014c4b1daceaf75a7397.tar.xz sssd-30cd03bbbb9e5d8ca6b2014c4b1daceaf75a7397.zip |
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.
Diffstat (limited to 'server/providers/ldap/sdap_async.h')
-rw-r--r-- | server/providers/ldap/sdap_async.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/providers/ldap/sdap_async.h b/server/providers/ldap/sdap_async.h index c9af750bb..08b84d8b6 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, |