Add 'Add' and 'Del' functions to LDAP interface (#10692)
This commit is contained in:
parent
086e8bbb74
commit
1f164a8202
|
@ -12,7 +12,9 @@ import (
|
|||
type Connection interface {
|
||||
Bind(username, password string) error
|
||||
Close()
|
||||
Add(addRequest *ldap.AddRequest) error
|
||||
Modify(modifyRequest *ldap.ModifyRequest) error
|
||||
Del(delRequest *ldap.DelRequest) error
|
||||
Search(searchRequest *ldap.SearchRequest) (*ldap.SearchResult, error)
|
||||
StartTLS(config *tls.Config) error
|
||||
SetTimeout(timeout time.Duration)
|
||||
|
|
|
@ -12,7 +12,9 @@ import (
|
|||
type Connection interface {
|
||||
Bind(username, password string) error
|
||||
Close()
|
||||
Add(addRequest *ldap.AddRequest) error
|
||||
Modify(modifyRequest *ldap.ModifyRequest) error
|
||||
Del(delRequest *ldap.DelRequest) error
|
||||
Search(searchRequest *ldap.SearchRequest) (*ldap.SearchResult, error)
|
||||
StartTLS(config *tls.Config) error
|
||||
SetTimeout(timeout time.Duration)
|
||||
|
|
Loading…
Reference in New Issue