Skip to content

TrexlerLibrary/DapperDan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DapperDan

Build Status

a reconfiguration of our single-purpose LDAP authentication script

usage

$dan = new \DapperDan\server('ldap.example.com');
$results = $dan->search(array("sn" => "Lincoln", "fn" => "Abbey"));
// returns an array of DapperDan\People objects

// -- or -- //

$logged_in = $dan->login(array("dn" => "a=AbbeyLincoln,b=Chicago,c=Vocalist"), "password");

// ~~~~~~ //

$email = $results[0]->get('email');
// returns abbey@bluenote.com

license

MIT

About

small tool for searching / logging in against LDAP server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages