mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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>
This commit is contained in:
parent
acabbc0078
commit
d65a0335e5
6 changed files with 51 additions and 3 deletions
|
@ -53,6 +53,7 @@ struct ldap_server_s
|
|||
unsigned int starttls:1; /* Use STARTTLS. */
|
||||
unsigned int ldap_over_tls:1; /* Use LDAP over an TLS tunnel */
|
||||
unsigned int ntds:1; /* Use Active Directory authentication. */
|
||||
unsigned int areconly:1; /* Set LDAP_OPT_AREC_EXCLUSIVE. */
|
||||
};
|
||||
typedef struct ldap_server_s *ldap_server_t;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue