aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/http.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-12-17 15:09:31 +0000
committerWerner Koch <[email protected]>2020-12-17 17:25:11 +0000
commit1194e4f7e2dff620e0da87f212f3a35f8021b142 (patch)
tree4bd948d4c1cb09ed6a45b80bebefa2c79a22d033 /dirmngr/http.h
parentdirmngr: Allow LDAP searches via fingerprint. (diff)
downloadgnupg-1194e4f7e2dff620e0da87f212f3a35f8021b142.tar.gz
gnupg-1194e4f7e2dff620e0da87f212f3a35f8021b142.zip
dirmngr: Support "ldap:///" for the current AD user.
* dirmngr/http.h (struct parsed_uri_s): Add field ad_current. * dirmngr/ldap-parse-uri.c (ldap_parse_uri): Set it. * dirmngr/ks-engine-ldap.c (my_ldap_connect): Take care of ad_current. -- Ported from 2.2. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/http.h')
-rw-r--r--dirmngr/http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dirmngr/http.h b/dirmngr/http.h
index 31e3a880a..4ad0351e2 100644
--- a/dirmngr/http.h
+++ b/dirmngr/http.h
@@ -57,6 +57,7 @@ struct parsed_uri_s
unsigned int v6lit:1; /* Host was given as a literal v6 address. */
unsigned int onion:1; /* .onion address given. */
unsigned int explicit_port :1; /* The port was explicitly specified. */
+ unsigned int ad_current:1; /* Use Active Directory's current user. */
char *auth; /* username/password for basic auth. */
char *host; /* Host (converted to lowercase). */
unsigned short port; /* Port (always set if the host is set). */