This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
spip-saml/inc/simplesamlphp/config-templates/ldapmulti.php

34 lines
759 B
PHP

<?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,
)
);
?>