20 lines
255 B
Go
20 lines
255 B
Go
package ldap
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/hashicorp/go-hclog"
|
|
ldap "github.com/ps78674/ldapserver"
|
|
)
|
|
|
|
type naClient interface {
|
|
AuthEntity(context.Context, string, string) error
|
|
}
|
|
|
|
type server struct {
|
|
*ldap.Server
|
|
|
|
c naClient
|
|
l hclog.Logger
|
|
}
|