Skip to content
/ ldap-ou Public

Lightweight Directory Access Protocol (LDAP), for The Open University.

Notifications You must be signed in to change notification settings

IET-OU/ldap-ou

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IET-OU / ldap-ou

Lightweight Directory Access Protocol (LDAP), for The Open University.

Based on Zend LDAP. Used in Applaud.

Install .. test

Add IET's satis repository to your composer.json:

{
  "repositories": [
    {
      "type": "composer",
      "url": "https://embed.open.ac.uk/iet-satis/"
    }
  ]
}

Then at a terminal, type:

composer require iet-ou/ldap-ou

Standalone test:

cp -n .env.example .env
vi .env  # Edit!
composer install
composer test

composer ldap -v -- --oucu=xyzz123

API

use IET_OU\LdapOu\LdapOu;

# LdapOu::loadDotenv() OR equivalent
LdapOu::connect();
LdapOu::searchByOucu('xyzz123');

$email = LdapOu::getEmailAddress();

Sources


© 2012-2019 The Open University (Institute of Educational Technology).

About

Lightweight Directory Access Protocol (LDAP), for The Open University.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages