Home GnuPG
Diffusion GnuPG 207c99567ced

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.

Details

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