outposts: initial ldap outpost implementation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
12
outpost/pkg/ldap/bind.go
Normal file
12
outpost/pkg/ldap/bind.go
Normal file
@ -0,0 +1,12 @@
|
||||
package ldap
|
||||
|
||||
import (
|
||||
"net"
|
||||
|
||||
"github.com/nmcclain/ldap"
|
||||
)
|
||||
|
||||
func (ls *LDAPServer) Bind(bindDN string, bindSimplePw string, conn net.Conn) (ldap.LDAPResultCode, error) {
|
||||
ls.log.WithField("dn", bindDN).WithField("pw", bindSimplePw).Debug("bind")
|
||||
return ldap.LDAPResultSuccess, nil
|
||||
}
|
Reference in New Issue
Block a user