lucasvscn/laravel-ldap-auth

This package is abandoned and no longer maintained. No replacement package was suggested.

LDAP driver for Laravel auth.

dev-master 2017-05-03 11:56 UTC

This package is auto-updated.

Last update: 2020-10-06 23:03:18 UTC


README

Simple Laravel auth driver for LDAP.

Allows to connect into a LDAPv3.0 server to check user's credentials.

Install

Add service provider to file config/app.php

LucasVscn\LDAP\ServiceProvider::class,

Change your config/auth.php to work with 'ldap' driver:

'providers' => [

    'users' => [
        'driver' => 'ldap',
        'model' => App\User::class,
        'host' => '0.0.0.0',
        'domain' => 'yourdomain.com.br',
    ],
],