Hello, I'm trying to authenticate via Active Direc...
# ktor
k
Hello, I'm trying to authenticate via Active Directory using
ldapAuthenticate
, but I don't understand how I can use my "manager" binding along with a user search. In ktor, there seems to be only a
userDNFormat
String to configure the lookup. What am I doing wrong?
📝 1
1
c
There are three
ldapAuthenticate
overloads. There is also
ldapAuthenticate
that provides way to configure initial context before and particular users search logic. The function with
userDNFormat
is just a shortcut that suitable for frequently used case
k
Oh, I see, thanks