Skip to content

whitwhoa/simple-ad-ldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

simple-ad-ldap

Simple php library for authenticating active directory users via ldap (currently supports proxy bind only)

Usage

$ldap = new Ldap;
$ad_info = $ldap->authenticate($username, $password);

/* $ad_info will be an object with the following format that can be used to authenticate the user however one wishes
{
"groups": [
"4",
"AD-GROUP-1",
"AD-GROUP-2",
"AD-GROUP-3",
"AD-GROUP-4",
],
"name": "Person, Some",
"email": "Some.Person@place.com"
}
*/

About

Simple php library for authenticating active directory users via ldap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages