Skip to content
This repository was archived by the owner on Feb 16, 2019. It is now read-only.

Adldap2/Adldap2-Kohana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Active Directory and LDAP authentication for Kohana

A wrapper module for Kohana 3.3 to provide Active Directory and LDAP authentication with the adLDAP library.

1. Install

Copy the module to the kadldap directory in your MODPATH, or install with Composer by adding the following to your composer.json file (to get the latest stable version):

"samwilson/kohana_kadldap": "*" 

Enable the module with Kohana::modules() (usually in bootstrap.php).

2. Configure

Set up the Auth config file:

<?php defined('SYSPATH') OR die('No direct access allowed.'); return array('driver' => 'LDAP'); 

Set up the Kadldap config file by copying MODPATH/kadldap/config/kadldap.php to APPPATH/config/kadldap.php and editing the values therein.

3. Use

Use Auth as usual. e.g.:

Auth::instance()->login($username, $password); 

or:

Auth::instance()->logged_in('Security Group Name'); 

About

Module for AD/LDAP support in Kohana 3 (includes an Auth driver).

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%