Bump reva to latest main branch
For https://github.com/opencloud-eu/reva/pull/217
This commit is contained in:
+13
-5
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user