summaryrefslogtreecommitdiffstats
path: root/modules-available/sysconfig/inc/configmodule/ldapauth.inc.php
blob: 64af4c0e443c4003301b439bcde29dd32a34f3b5 (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::translateFileModule('sysconfig', 'config-module', 'ldapAuth_title'), // Title
	Dictionary::translateFileModule('sysconfig', 'config-module', 'ldapAuth_description'), // Description
	Dictionary::translateFileModule('sysconfig', 'config-module', 'group_authentication'), // Group
	false, // Only one per config?
	300
);