blob: aa2c825741998b33a1a1875f78046811a4e14384 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
class ConfigModule_LdapAuth extends ConfigModuleBaseLdap
{
const MODID = 'LdapAuth';
protected function preTaskmanagerHook(array &$config)
{
// Just set the flag so the taskmanager job knows we're dealing with a normal ldap server,
// not AD scheme
$config['plainldap'] = true;
}
}
ConfigModule::registerModule(
ConfigModule_LdapAuth::MODID, // ID
Dictionary::translateFile('config-module', 'ldapAuth_title'), // Title
Dictionary::translateFile('config-module', 'ldapAuth_description'), // Description
Dictionary::translateFile('config-module', 'group_authentication'), // Group
false, // Only one per config?
300
);
|