Pull in go-ldap update that fixes comparison with AD

This commit is contained in:
Jeff Mitchell 2018-08-20 18:16:47 -04:00
parent 40d0d46bb6
commit fcc2cd7356
2 changed files with 4 additions and 4 deletions

View File

@ -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)

6
vendor/vendor.json vendored
View File

@ -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=",