Open-Source LDAP Authentication with Yubikey two-factor support
Permalink 1 user found helpfuli have created an Concrete5 5.7 Package, which contains an AuthType for LDAP authentication. Additionally you can enable yubikey two-factor authentication. It is a basic implementation with no big features yet, but it is fully functional. If any one is interested in this package, feel free to grab it from github [1] and try it out. I'm looking forward to your feedback.
Regards,
go2sh
[1]https://github.com/go2sh/concrete5-ldap-login
I renamed the package directory to ldap_login and viola! it installed...
Will be testing,
Thanks again.
I guess I better read through your code little more carefully.
I'm sorry for your trouble. Yes the package directory need to be called ldap_login. Maybe you should reinstall it with the new name. There might be some wrong name in the database.
I have to admit that I didn't clone it before. I hope you'll get it running. Maybe I can help you? I'll update the github docs to make it clear.
Regards,
go2sh
Regards,
go2sh
Thanks very much for sharing this! I was just wondering if anyone had got it working with Active Directory yet? I've tried the following with no luck:
LDAP Server URI - ldap://ad01.myserver.com
LDAP Base DN - OU=Users,OU=Company,DC=myserver,DC=com
LDAP Bind DN - CN=adbind,OU=ServerUsers,OU=Company,DC=myserver,DC=com
LDAP Bind Password - <password>
LDAP Search Filter - (samAccountName=%u)
Username LDAP Attribute - samAccountName
Both with and without registration. I've also tried a bunch of different search filters but I get errors with pretty much anything more complicated than the above. [Ex: (&(samAccountName=%u)(objectClass=OrganizationalPerson))]
Thanks in advance for anyone willing to take a look or drop feedback.
Thanks for your efforts -
I just downloaded your package to my dev site and when attempting to install get the following message:
Symfony\Component\ClassLoader\MapClassLoader::loadClass(): Failed opening required 'C:/xampp/htdocs/packages/ldap_login/controller.php' (include_path='C:\xampp\htdocs\concrete\vendor;.;C:\xampp\php\PEAR')
I am running 5.7 in a XAMPP environment on a WIN7 pc