Update mattermost library

This commit is contained in:
Wim
2024-05-24 01:56:43 +02:00
parent 65d78e38af
commit ee55865a81
1002 changed files with 89450 additions and 114025 deletions

View File

@@ -26,9 +26,8 @@
package ldap
import (
"log"
ber "github.com/go-asn1-ber/asn1-ber"
"github.com/mattermost/mattermost/server/public/shared/mlog"
)
// Change operation choices
@@ -139,13 +138,14 @@ func (l *Conn) Modify(modifyRequest *ModifyRequest) error {
return err
}
if packet.Children[1].Tag == ApplicationModifyResponse {
tag := packet.Children[1].Tag
if tag == ApplicationModifyResponse {
err := GetLDAPError(packet)
if err != nil {
return err
}
} else {
log.Printf("Unexpected Response: %d", packet.Children[1].Tag)
l.Debug.Log("Unexpected Response tag", mlog.Uint("tag", tag))
}
return nil
}