/LDAP-Auth

LDAP Authentication library for CodeIgniter Applications.

Primary LanguagePHPApache License 2.0Apache-2.0

#LDAP Auth for the CodeIgniter Framework for PHP This is a simple two file library for CodeIgniter so that application users can authenticate against a Microsoft LDAP server (or OpenLDAP). While this library does provide the ability to query user information from the LDAP server, it is very limited. I wouldn't expect this software to be bug free.

##What you'll need: -ldap_auth.php

-ldap_auth_config.php

I'll assume that you'll be using this with a application you wrote in the CodeIgniter Framework for PHP

You will need to rename ldap_auth_config.php to ldap_auth.php once placed in the config directory.

##Usage In order to use this plugin you must first initalize it in your controller:

$this->load->library('ldap_auth');

Then you can call:

$this->ldap_auth->auth($username,$password);

or

$this->ldap_auth->info($username);

If you find an issue/bug with this repository, feel free to open a issue. I'll get to it when I can.

endorse