-
Notifications
You must be signed in to change notification settings - Fork 701
Expand file tree
/
Copy pathldap.php
More file actions
46 lines (37 loc) · 1.24 KB
/
ldap.php
File metadata and controls
46 lines (37 loc) · 1.24 KB
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
40
41
42
43
44
45
46
<?php
/*
* Configuration for the LDAP authentication module.
*
* $Id: $
*/
$config = array (
/**
* LDAP configuration. This is only relevant if you use the LDAP authentication plugin.
*
* The attributes parameter is a list of attributes that should be retrieved.
* If the attributes parameter is set to null, all attributes will be retrieved.
*/
'auth.ldap.dnpattern' => 'uid=%username%,dc=feide,dc=no,ou=feide,dc=uninett,dc=no',
'auth.ldap.hostname' => 'ldap.uninett.no',
'auth.ldap.attributes' => null,
'auth.ldap.enable_tls' => false,
/*
* Searching the DN of the user.
*/
/* Set this to TRUE to enable searching. */
'auth.ldap.search.enable' => FALSE,
/* The base DN for the search. */
'auth.ldap.search.base' => NULL,
/* The attribute(s) to search for.
*
* This may be a single string, or an array of string. If this is an array, then any of the attributes
* in the array may match the value the user supplied as the username.
*/
'auth.ldap.search.attributes' => NULL,
/* The username & password the simpleSAMLphp should bind as before searching. If this is left
* as NULL, no bind will be performed before searching.
*/
'auth.ldap.search.username' => NULL,
'auth.ldap.search.password' => NULL,
);
?>