File: config-login-feide.php

package info (click to toggle)
simplesamlphp 1.13.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 11,092 kB
  • sloc: php: 65,106; xml: 629; python: 376; sh: 193; perl: 185; makefile: 43
file content (39 lines) | stat: -rw-r--r-- 1,002 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/* 
 * Configuration for the auth/login-feide.php login module.
 *
 * The configuration file is an array with multiple organizations. The user
 * can select which organization he/she wants to log in with, with a drop-down
 * menu in the user interface.
 * 
 */

$config = array (

	'orgldapconfig' => array(

		'example1.com' => array(
			'description' => 'Example Org 1',
			'searchbase'  => 'cn=people,dc=example1,dc=com',
			'hostname'    => 'ldaps://ldap.example1.com',
			'attributes'  => null,
			
			'contactMail' => 'admin@example1.com',
			'contactURL'  => 'http://admin.example1.com',
			
			// System user to bind() before we do a search for eduPersonPrincipalName
			'adminUser'     => 'uid=admin,dc=example1,dc=com',
			'adminPassword' => 'xxx',
	
		),
		'example1.com' => array(
			'description' => 'Example Org 1',
			'searchbase'  => 'cn=people,dc=example1,dc=com',
			'hostname'    => 'ldaps://ldap.example1.com',
			
			'attributes'  => array('mail', 'street'),
		),
	),
);

?>