From fcc2cd73560c1134e2576edf0959d7b0324f98fc Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Mon, 20 Aug 2018 18:16:47 -0400 Subject: [PATCH] Pull in go-ldap update that fixes comparison with AD --- vendor/github.com/go-ldap/ldap/compare.go | 2 +- vendor/vendor.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vendor/github.com/go-ldap/ldap/compare.go b/vendor/github.com/go-ldap/ldap/compare.go index c76fdb9e8..cd5381b90 100644 --- a/vendor/github.com/go-ldap/ldap/compare.go +++ b/vendor/github.com/go-ldap/ldap/compare.go @@ -37,7 +37,7 @@ func (l *Conn) Compare(dn, attribute, value string) (bool, error) { ava := ber.Encode(ber.ClassUniversal, ber.TypeConstructed, ber.TagSequence, nil, "AttributeValueAssertion") ava.AppendChild(ber.NewString(ber.ClassUniversal, ber.TypePrimitive, ber.TagOctetString, attribute, "AttributeDesc")) - ava.AppendChild(ber.Encode(ber.ClassUniversal, ber.TypeConstructed, ber.TagOctetString, value, "AssertionValue")) + ava.AppendChild(ber.Encode(ber.ClassUniversal, ber.TypePrimitive, ber.TagOctetString, value, "AssertionValue")) request.AppendChild(ava) packet.AppendChild(request) diff --git a/vendor/vendor.json b/vendor/vendor.json index e004383c9..9fa8bbe5d 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -895,10 +895,10 @@ "revisionTime": "2018-07-11T13:03:03Z" }, { - "checksumSHA1": "LNa/QGlcDDDflNa3srgRR8QLwcc=", + "checksumSHA1": "L8Mp7efUUkIGjlhp5iK34H06rl4=", "path": "github.com/go-ldap/ldap", - "revision": "c6ce48312dc899d500d77926d9d3c33a0e01259c", - "revisionTime": "2018-07-03T15:26:01Z" + "revision": "dc997b2033d4b4ab6de47b555eaf76888a81d33d", + "revisionTime": "2018-08-10T05:44:51Z" }, { "checksumSHA1": "W+IoIME5mgWjwU+dOlh3DZEZEN4=",