1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-08 12:44:23 +01:00
Werner Koch 2a3bad5985
dirmngr: New command AD_QUERY.
* dirmngr/dirmngr.h: Include name-value.h
(struct server_control_s): Add rootdse and rootdse_tried.
* dirmngr/dirmngr.c (dirmngr_deinit_default_ctrl): Release them.
* dirmngr/ks-engine.h (KS_GET_FLAG_ROOTDSE): Add two new flags.
* dirmngr/ks-engine-ldap.c: Include ks-action.h
(SERVERINFO_GENERIC): New.
(struct ks_engine_ldap_local_s): Add scope.
(ks_ldap_new_state): Set a default scope.
(ks_ldap_clear_state): Ditto.
(my_ldap_connect): Add flag generic.
(return_all_attributes): New.
(fetch_rootdse): New.
(basedn_from_rootdse): New.
(ks_ldap_get): Move some code out to ...
(ks_ldap_prepare_my_state): New.
(ks_ldap_query): New.
* dirmngr/ks-action.c (ks_action_parse_uri): Factored out from server.c
(ks_action_query): New.
* dirmngr/server.c (make_keyserver_item): Factored most code out to
ks_action_parse_uri.
(cmd_ad_query): New.

* dirmngr/ks-engine-ldap.c (no_ldap_due_to_tor): New common error
printing.  Now also with status line.
--

This command allows to query the Windows Active directory.

(cherry picked from commit 625aeb65b0e75192a414fdca5383cb67c996adee)

no_ldap_due_to_tor has been backported from 2.4
2023-08-25 14:23:39 +02:00
..
2010-12-14 19:17:58 +00:00
2023-06-20 09:06:30 +09:00
2016-09-17 15:57:31 +09:00
2023-08-25 14:23:39 +02:00
2023-08-25 14:23:39 +02:00
2023-08-25 14:23:39 +02:00
2017-03-03 17:17:26 +01:00
2021-06-25 19:15:24 +02:00
2023-08-25 14:23:39 +02:00
2023-08-25 14:23:39 +02:00
2017-03-07 20:25:54 +09:00
2023-08-25 14:23:39 +02:00
2017-03-07 20:25:54 +09:00
2010-06-09 16:53:51 +00:00
2010-06-09 16:53:51 +00:00
2011-02-04 12:57:53 +01:00
2023-08-25 14:23:39 +02:00
2017-03-07 20:25:54 +09:00
2022-11-15 10:47:32 +01:00