mirror of
https://github.com/glauth/glauth.git
synced 2026-10-25 05:30:47 +00:00
28136302b7
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
17 lines
358 B
Go
17 lines
358 B
Go
package handler
|
|
|
|
import "github.com/nmcclain/ldap"
|
|
|
|
// Handler is the common interface for all datastores
|
|
type Handler interface {
|
|
// read support
|
|
ldap.Binder
|
|
ldap.Searcher
|
|
ldap.Closer
|
|
|
|
// write support
|
|
ldap.Adder
|
|
ldap.Modifier // Note: modifying eg the uid or cn might change the dn because the hierarchy is determined by the backend
|
|
ldap.Deleter
|
|
}
|