summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2022-09-28 09:43:25 +0200
committerWerner Koch <wk@gnupg.org>2022-09-28 09:55:15 +0200
commitd65a0335e5cb947dc527d62eccf7c2a3cdbcc788 (patch)
tree2ecd32e007a031686f9eeea9e6eca819c13e7d40 /doc
parentdirmngr: Support gpgMailbox for mode MAILSUB and MAILEND. (diff)
downloadgnupg2-d65a0335e5cb947dc527d62eccf7c2a3cdbcc788.tar.xz
gnupg2-d65a0335e5cb947dc527d62eccf7c2a3cdbcc788.zip
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/dirmngr.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/dirmngr.texi b/doc/dirmngr.texi
index 6c1c59b82..aaa30ec50 100644
--- a/doc/dirmngr.texi
+++ b/doc/dirmngr.texi
@@ -484,6 +484,9 @@ Tunnel LDAP through a TLS connection; the default port is 636.
@item ntds
On Windows authenticate the LDAP connection using the Active Directory
with the current user.
+@item areconly
+On Windows use only the A or AAAA record when resolving the LDAP
+server name.
@end table
Note that in an URL style specification the scheme @code{ldaps://}