Home GnuPG
Diffusion GnuPG d65a0335e5cb

dirmngr: New server flag "areconly" (A-record-only)

Description

dirmngr: New server flag "areconly" (A-record-only)

* dirmngr/dirmngr.h (struct ldap_server_s): Add field areconly.
* dirmngr/ldapserver.c (ldapserver_parse_one): Parse "areconly"
* dirmngr/ks-engine-ldap.c (my_ldap_connect): Implement this flag.
* dirmngr/dirmngr_ldap.c: Add option --areconly
(connect_ldap): Implement option.
* dirmngr/ldap.c (run_ldap_wrapper): Add and pass that option.

This flag is used to pass the Windows specific option
LDAP_OPT_AREC_EXCLUSIVE. It is ignored on other systems.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Sep 28 2022, 9:43 AM
Parents
rGacabbc0078d8: dirmngr: Support gpgMailbox for mode MAILSUB and MAILEND.
Branches
Unknown
Tags
Unknown