Hi,
I want to configure site to login with LDAP credentials.
I downloaded the plugin from the https://github.com/trilbymedia/grav-plugin-login-ldap url.
I configure everything according to the link above, but could not integrate LDAP with Grav site.
There is no more example.
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Solved by Bruno Baudry View solution
I looked at this as well. You almost have to know the LDAP admin to know all your settings correct. There are 2 ldap login plugins though. check out the other one, see if its easier?
With poor LDAP/AD knowledge I also lost lots of hairs with it.
Chatting with colleagues I found out that often in ADs the login is mapped to sAMAccountName
map_username: sAMAccountName
and then user_dn would contain the domain then
user_dn: 'mycompany.domain\[username]'
Though it is really bound to how your LDAP is set, Hope that can help.
So thanks.
Thanks to your solution, i can do it.
🤗
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 53 | 9 hours ago | ||
| 2 | 59 | 12 hours ago | ||
| 1 | 30 | 13 hours ago | ||
| 2 | 65 | 5 days ago | ||
| 2 | 56 | 5 days ago |