Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 717 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 717 Bytes

LDAP Authentication

This is based off of Yuri Moens L4OpenLdap Provider

An OpenLDAP authentication driver for Laravel 4.

Installation

Add the following to your composer.json file.

require {
	"mattbrown/ldapauth": "1.*"
}

composer update.

In app/config/app.php:

Add 'Mattbrown\Ldapauth\LdapauthServiceProvider' to providers array.

composer dump-auto

Open app/config/auth.php and change the authentication driver to ldap.

Configuration

Run php artisan vendor:publish --provider="Mattbrown\Ldapauth\LdapauthServiceProvider", then find app/config/ldap.php and adjust the config file for your LDAP settings.

Profit Dollars.