Home GnuPG
Diffusion GnuPG 4061b34ef31e

dirmngr: Allow the use of an ntds like schema on OpenLDAP et al.

Description

dirmngr: Allow the use of an ntds like schema on OpenLDAP et al.

* dirmngr/ks-engine-ldap.c (SERVERINFO_CNFPR): New.  Replace all
SERVERINFO_NTDS with this one.
(interrogate_ldap_dn): Parse "cnfpr" flag and set SERVERINFO_CNFPR.
Set this flag also for "ntds".
* doc/ldap/gnupg-ldap-init.ldif (pgpVersion): Suggest the use of the
"cnfpr" flag.

Note that SERVERINFO_NTDS is currently not anymore used directly but
we keep it in case we need to do other NTDS specific things in the
future.

The advantage of using a fingerprint for referencing a key is that
there won't be any collisions in the keyid. Further this unifies the
schema with an LDS (Windows) installation where DNs must anyway be
unique. But take care the client needs to support this new flag.

Details

Provenance
wernerAuthored on Mon, Aug 4, 6:10 PM
Parents
rG53252628de2f: gpg: Do not compress 7z files by default.
Branches
Unknown
Tags
Unknown
Tasks
T7742: Extend the LDAP scheme for non-NTDS installations