1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

dirmngr: Extend the AD_QUERY command.

* dirmngr/server.c (cmd_ad_query): Add options --help and --subst.
(cmd_getinfo): Add sub-command "sid".
* dirmngr/ks-engine.h (KS_GET_FLAG_SUBST): New.
* dirmngr/ks-engine-ldap.c (ks_ldap_help_variables): New.
(getval_for_filter): New.
(map_rid_to_dn): New.
(ks_ldap_query): Support variables.
--

The new variables features makes it easier to write AD queries without
requiring domain specific expressions.

(cherry picked from commit 207c99567c)
This commit is contained in:
Werner Koch 2023-06-07 10:03:48 +02:00
parent eeda4ef7d2
commit 8dd30e27e2
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
4 changed files with 253 additions and 8 deletions

2
NEWS
View file

@ -30,6 +30,8 @@ Noteworthy changes in version 2.2.42 (unreleased)
* dirmngr: New option --ignore-crl-extensions. [T6545]
* dirmngr: Backport of the AD_QUERY command. [rG2a3bad5985]
* wkd: Use export-clean for gpg-wks-client's --mirror and --create
commands. [rG505e770b4c]