Pull in go-ldap update that fixes comparison with AD
This commit is contained in:
parent
40d0d46bb6
commit
fcc2cd7356
|
@ -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 := 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.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)
|
request.AppendChild(ava)
|
||||||
packet.AppendChild(request)
|
packet.AppendChild(request)
|
||||||
|
|
||||||
|
|
|
@ -895,10 +895,10 @@
|
||||||
"revisionTime": "2018-07-11T13:03:03Z"
|
"revisionTime": "2018-07-11T13:03:03Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "LNa/QGlcDDDflNa3srgRR8QLwcc=",
|
"checksumSHA1": "L8Mp7efUUkIGjlhp5iK34H06rl4=",
|
||||||
"path": "github.com/go-ldap/ldap",
|
"path": "github.com/go-ldap/ldap",
|
||||||
"revision": "c6ce48312dc899d500d77926d9d3c33a0e01259c",
|
"revision": "dc997b2033d4b4ab6de47b555eaf76888a81d33d",
|
||||||
"revisionTime": "2018-07-03T15:26:01Z"
|
"revisionTime": "2018-08-10T05:44:51Z"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"checksumSHA1": "W+IoIME5mgWjwU+dOlh3DZEZEN4=",
|
"checksumSHA1": "W+IoIME5mgWjwU+dOlh3DZEZEN4=",
|
||||||
|
|
Loading…
Reference in New Issue