PHP Classes

File: web/SSO/config-templates/ldapmulti.php

Recommend this page to a friend!
  Classes of william amed   Raptor 2   web/SSO/config-templates/ldapmulti.php   Download  
File: web/SSO/config-templates/ldapmulti.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 759 bytes
 

Contents

Class file image Download
<?php

/*
 * Configuration for the multi-DN LDAP authentication module.
 *
 */

$ldapmulti = array (

   
'feide.no' => array(
       
'description' => 'Feide',
       
/* for a description of options see equivalent options in ldap.php starting with auth.ldap. */
       
'dnpattern' => 'uid=%username%,dc=feide,dc=no,ou=feide,dc=uninett,dc=no',
       
'hostname' => 'ldap.uninett.no',
       
'attributes' => NULL,
       
'enable_tls' => TRUE,
       
'search.enable' => FALSE,
       
'search.base' => NULL,
       
'search.attributes' => NULL,
       
'search.username' => NULL,
       
'search.password' => NULL,
    ),

   
'uninett.no' => array(
       
'description' => 'UNINETT',
       
'dnpattern' => 'uid=%username%,ou=people,dc=uninett,dc=no',
       
'hostname' => 'ldap.uninett.no',
       
'attributes' => NULL,
    )
   
);

?>