9e4b4a0162
All checks were successful
continuous-integration/drone/push Build is passing
Changement des imports dans les fichiers go de bottin et ldapserver. Rajout d'un fichier txt dans test-automatique pour reproduire le bug des requêtes ldap.
28 lines
764 B
Go
28 lines
764 B
Go
package message
|
|
|
|
import "fmt"
|
|
|
|
//
|
|
// ModifyDNResponse ::= [APPLICATION 13] LDAPResult
|
|
func readModifyDNResponse(bytes *Bytes) (ret ModifyDNResponse, err error) {
|
|
var res LDAPResult
|
|
res, err = readTaggedLDAPResult(bytes, classApplication, TagModifyDNResponse)
|
|
if err != nil {
|
|
err = LdapError{fmt.Sprintf("readModifyDNResponse:\n%s", err.Error())}
|
|
return
|
|
}
|
|
ret = ModifyDNResponse(res)
|
|
return
|
|
}
|
|
|
|
//
|
|
// ModifyDNResponse ::= [APPLICATION 13] LDAPResult
|
|
func (m ModifyDNResponse) write(bytes *Bytes) int {
|
|
return LDAPResult(m).writeTagged(bytes, classApplication, TagModifyDNResponse)
|
|
}
|
|
|
|
//
|
|
// ModifyDNResponse ::= [APPLICATION 13] LDAPResult
|
|
func (m ModifyDNResponse) size() int {
|
|
return LDAPResult(m).sizeTagged(TagModifyDNResponse)
|
|
}
|