mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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.
This commit is contained in:
parent
c75fd75532
commit
776bef74c7
3 changed files with 55 additions and 16 deletions
|
@ -55,7 +55,8 @@ struct parsed_uri_s
|
|||
unsigned int opaque:1;/* Unknown scheme; PATH has the rest. */
|
||||
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 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). */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue