2017 © Pedro Peláez
 

library laravel-ldap-credentials

Extends Database and Eloquent User Authentication Providers (Laravel framework) to validate credentials (email and password) in LDAP

image

alex-rad/laravel-ldap-credentials

Extends Database and Eloquent User Authentication Providers (Laravel framework) to validate credentials (email and password) in LDAP

  • Friday, October 30, 2015
  • by Alexander Radchenko
  • Repository
  • 3 Watchers
  • 1 Stars
  • 38 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Laravel-LdapCredentials

Extends Database and Eloquent User Authentication Drivers (Laravel framework) to validate credentials (email and password) in LDAP., (*1)

Password field should be removed from Users table and model., (*2)

It does not support to reset password by email and new user registration., (*3)

Installation

  1. Run composer require "alex-rad/laravel-ldap-credentials" to install package., (*4)

  2. Add LdapCredentials Service Provider to the config/app.php configuration file., (*5)

    php 'providers' => [ ... LdapCredentials\Auth\AuthServiceProvider::class, ... ],, (*6)

  3. Add LDAP settings to the config/auth.php configuration file., (*7)

    ``` php /* |-------------------------------------------------------------------------- | LDAP Settings |-------------------------------------------------------------------------- | | For "databaseLdapCredentials" or "eloquentLdapCredentials" user | authentication drivers. | */, (*8)

    'ldap' => [ 'host' => env('LDAP_HOST', 'ldap.server.com'), 'port' => env('LDAP_PORT', 389), 'user' => env('LDAP_USER', NULL), 'password' => env('LDAP_PASSWORD', NULL), 'base' => env('LDAP_BASE', ''), ], ```, (*9)

  4. Add LDAP settings to the environment .ENV configuration file (optional)., (*10)

    LDAP_HOST=ldap.company.com
    
  5. Switch User Authentication Driver to databaseLdapCredentials or eloquentLdapCredentials driver in config/auth.php configuration file., (*11)

    ``` php 'driver' => 'eloquentLdapCredentials',, (*12)

    or
    ``` php
    'driver' => 'databaseLdapCredentials',
    
  6. Remove reset password by email and new user registration functions from application., (*13)

The Versions

30/10 2015

dev-master

9999999-dev https://github.com/AlexRadch/Laravel-LdapCredentials

Extends Database and Eloquent User Authentication Providers (Laravel framework) to validate credentials (email and password) in LDAP

  Sources   Download

MIT

The Requires

 

by Avatar Alexander Radchenko

laravel authentication user ldap provider credentials

29/10 2015

v1.0.1

1.0.1.0 https://github.com/AlexRadch/Laravel-LdapCredentials

Extends Database and Eloquent User Authentication Providers (Laravel framework) to validate credentials (email and password) in LDAP

  Sources   Download

MIT

The Requires

 

by Avatar Alexander Radchenko

laravel authentication user ldap provider credentials

28/10 2015

v1.0.0

1.0.0.0 https://github.com/AlexRadch/Laravel-LdapCredentials

Extends Database and Eloquent User Authentication Providers (Laravel framework) to validate credentials (email and password) in LDAP

  Sources   Download

MIT

The Requires

 

by Avatar Alexander Radchenko

laravel authentication user ldap credentials