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.
Support
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.
last edited 02/27/19 by Bruno Baudry
So thanks.
Thanks to your solution, i can do it.
🤗
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 1 | 124 | 2 days ago | ||
| 5 | 196 | 2 days ago | ||
| 0 | 47 | 3 days ago | ||
| 0 | 47 | 3 days ago | ||
| 3 | 93 | 3 days ago |