Home GnuPG
Diffusion GnuPG 8dd30e27e2a1

dirmngr: Extend the AD_QUERY command.

Description

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 207c99567ced260aab04c471c77f179943d492f4)

Details

Provenance
wernerAuthored on Jun 7 2023, 10:03 AM
Parents
rGeeda4ef7d223: common: New function substitute_vars.
Branches
Unknown
Tags
Unknown