diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-10-08 17:36:05 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-10-08 17:36:05 +0300 |
commit | 9b56a5b05db6630a667ad0c9b16ec45a4e52044d (patch) | |
tree | eca8c25be90428656c24f76f68899c22d0091528 /lib/Makefile.am | |
parent | 04f58aaf7a6f27e3b79e8f5ccffeb006db56aeaf (diff) | |
download | eclat-9b56a5b05db6630a667ad0c9b16ec45a4e52044d.tar.gz eclat-9b56a5b05db6630a667ad0c9b16ec45a4e52044d.tar.bz2 |
Improve LDAP map.
* lib/expand.c: New file.
* lib/getans.c: New file.
* lib/Makefile.am: Add new files.
* lib/ldapmap.c (ldap_map) <passfile,prompt>: New members.
(ldapmap_kw) <passfile,prompt>: New keywords.
(ldap_map_open): Prompt for undefined credentials if the
"prompt" statement is set to true.
(ldap_map_get): Use eclat_expand_kw to expand the filter.
* lib/libeclat.h (eclat_trimnl,eclat_getans)
(eclat_expand_kw): New protos.
* lib/map.c (eclat_map_get): Use eclat_expand_kw.
* src/eclat.c (read_format): Likewise.
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r-- | lib/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index bdbab92..703eeda 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -32,11 +32,13 @@ maps = \ libeclat_a_SOURCES=\ base64.c\ diag.c\ + expand.c\ forlan.c\ forlan.h\ forlangrm.h\ forlangrm.y\ forlanlex.l\ + getans.c\ hmac_sha1.c\ libeclat.h\ map.c\ |