Bump reva to latest main branch

For https://github.com/opencloud-eu/reva/pull/217
This commit is contained in:
Ralf Haferkamp
2025-05-20 17:44:24 +02:00
parent 97f97a4a4a
commit 27fa5e3236
6 changed files with 32 additions and 16 deletions
+13 -5
View File
@@ -145,6 +145,19 @@ func (c *ConnWithReconnect) Modify(m *ldap.ModifyRequest) error {
return err
}
// PasswordModify implements the ldap.Client interface
func (c *ConnWithReconnect) PasswordModify(m *ldap.PasswordModifyRequest) (*ldap.PasswordModifyResult, error) {
var err error
var res *ldap.PasswordModifyResult
retryErr := c.retry(func(c ldap.Client) error {
res, err = c.PasswordModify(m)
return err
})
return res, retryErr
}
// ModifyDN implements the ldap.Client interface
func (c *ConnWithReconnect) ModifyDN(m *ldap.ModifyDNRequest) error {
err := c.retry(func(c ldap.Client) error {
@@ -297,11 +310,6 @@ func (c *ConnWithReconnect) Compare(dn, attribute, value string) (bool, error) {
return false, ldap.NewError(ldap.LDAPResultNotSupported, fmt.Errorf("not implemented"))
}
// PasswordModify implements the ldap.Client interface
func (c *ConnWithReconnect) PasswordModify(*ldap.PasswordModifyRequest) (*ldap.PasswordModifyResult, error) {
return nil, ldap.NewError(ldap.LDAPResultNotSupported, fmt.Errorf("not implemented"))
}
// SearchWithPaging implements the ldap.Client interface
func (c *ConnWithReconnect) SearchWithPaging(searchRequest *ldap.SearchRequest, pagingSize uint32) (*ldap.SearchResult, error) {
return nil, ldap.NewError(ldap.LDAPResultNotSupported, fmt.Errorf("not implemented"))