/etc/simplesamlphp/ldap.php is in simplesamlphp 1.13.1-2+deb8u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <?php
/*
* Configuration for the LDAP authentication module.
*/
$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' => true,
/*
* 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,
);
?>
|