dirmngr: New option --ldapserver
* dirmngr/dirmngr.c (opts): Add option --ldapserver. (ldapserver_list_needs_reset): New var. (parse_rereadable_options): Implement option. (main): Ignore dirmngr_ldapservers.conf if no --ldapserver is used. * dirmngr/server.c (cmd_ldapserver): Add option --clear and list configured servers if none are given.
This option allows to specify LDAP keyserver in dirmngr instead of
using gpgsm.conf.
- Signed-off-by: Werner Koch <wk@gnupg.org>