Add testing for LDAP with memcache

This commit is contained in:
Andrew Ruthven committed 2024-02-17 02:25:25 +00:00
1 parent 7898efdfda
commit 353a2d1b13
30 files changed
+770 -2

No files matched your search

+22
View File
@@ -23,4 +23,26 @@
// if testing memcache
//memcache $c->memcache_servers[] = '127.0.0.1,11211';
//memcache $c->auth_cache = true;
// if testing LDAP
//ldap $c->authenticate_hook['call'] = 'LDAP_check';
//ldap $c->authenticate_hook['config'] = array(
//ldap 'host' => 'localhost',
//ldap 'port' => '21394',
//ldap 'baseDNUsers' => 'dc=example,dc=com',
//ldap 'mapping_field' => array("username" => "uid",
//ldap "modified" => "modifyTimestamp",
//ldap "fullname" => "cn" ,
//ldap "email" =>"mail"
//ldap ),
//ldap 'group_mapping_field' => array("username" => "cn",
//ldap "modified" => "modifyTimestamp",
//ldap "fullname" => "cn" ,
//ldap "members" =>"memberUid"
//ldap ),
//ldap 'format_updated' => array('Y' => array(0,4), 'm' => array(4,2), 'd' => array(6,2), 'H' => array(8,2), 'M' => array(10,2), 'S' => array(12,2))
//ldap );
//ldap include('drivers_ldap.php');
?>