Lightweight Directory Access Protocol (LDAP), for The Open University.
Lightweight Directory Access Protocol (LDAP), for The Open University.
Based on Zend LDAP. Used in Applaud.
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
use IET_OU\LdapOu\LdapOu;
# LdapOu::loadDotenv() OR equivalent
LdapOu::connect();
LdapOu::searchByOucu('xyzz123');
$email = LdapOu::getEmailAddress();
../LdapOu.php
../ou_people.module
../EventRssSimplePieParser.php
© 2012-2019 The Open University (Institute of Educational Technology).