Page MenuHome GnuPG

849_0002-dirmngr-Try-ldap-protocol-V3-as-fallback.patch
AbandonedPublic

Authored by aheinecke on Jun 14 2016, 7:37 PM.

Details

Reviewers
None
Summary

From 803559fb38c0dcce1cc559ea56703392adaa5fa9 Mon Sep 17 00:00:00 2001
From: Andre Heinecke <aheinecke@intevation.de>
Date: Tue, 14 Jun 2016 19:22:52 +0200
Subject: [PATCH 2/2] dirmngr: Try ldap protocol V3 as fallback

  • dirmngr/dirmngr_ldap.c (fetch_ldap): Try V3 Protocol in case

default Protocol gives error.

Servers may have blocked V2 Protocol, in which case the
bind will result in a Protocol Error. In that case we try
again with v3 Protocol if the ldap libarary used to compile
dirmngr supports V3.

Signed-off-by: Andre Heinecke <aheinecke@intevation.de>

dirmngr/dirmngr_ldap.c | 12 ++++++++++++
1 file changed, 12 insertions(+)

2.1.4

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped