outposts: add LDAP Binding using flows

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-04-25 22:07:12 +02:00
parent a525d6c3a9
commit 6c9b3ebd2b
6 changed files with 118 additions and 5 deletions

View File

@ -42,7 +42,7 @@ func (ls *LDAPServer) Search(bindDN string, searchReq ldap.SearchRequest, conn n
},
{
Name: "uid",
Values: []string{strconv.Itoa(int(g.Pk))},
Values: []string{string(g.Pk)},
},
{
Name: "objectClass",