Support the ongoing development of Laravel.io →
Authentication

Hi, I would like to create a website with LDAP authentication. I installed an LDAP plugin (this one: http://packalyst.com/packages/package/adldap2/adldap2-laravel) which has an auth driver. I did the installation process and generation the basic auth system (php artisan make:auth), but when I try to login in the Laravel basic login page, it still wants to use the database to login too.

I get a PDO Exception in Connector.php line 55. I made a print screen about this: http://s33.postimg.org/8ngs94pgv/K_pkiv_g_s.jpg I think the plugin is working fine, it's connect to the ldap server, but I don't understand why I need the SQL database... My auth.php: http://pastebin.com/gPYvStPB

I don't need registration, just a login to able to check that the user is logged in the site with ldap or not.

How can I disable the database using? Is it possible?

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Spatrik95 spatrik95 Joined 3 Jun 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.