Module for AD/LDAP support in Kohana 3 (includes an Auth driver).
This package has been abandoned. Kohana itself has also been abandoned, so no further updates will be made on this package.
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):
Then enable the module with
Kohana::modules() (usually in
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
APPPATH/config/kadldap.php and editing the values therein.
Use Auth as usual. e.g.:
Auth::instance()->logged_in('Security Group Name');
It's also possible to get a list of a user's Security Groups (roles, in Kohana parlance) with:
Please report all issues at https://github.com/Adldap2/Adldap2-Kohana/issues