<?php

$config = array(
    // This is a authentication source which handles admin authentication.
    'admin' => array(
        // The default is to use core:AdminPassword, but it can be replaced with
        // any authentication source.

        'lifestyle:AdminPassword',
    ),
    'user-webservice-select' => array(
        'lifestyle:WebserviceSelect',
        'authsources' => array(
            'user-webservice',
            'LDAP-net-lifestyle-eu',
        ),
    ),
    'user-webservice' => array(
        'lifestyle:Webservice',
    ),
    'LDAP-net-lifestyle-eu' => array(
        'lifestyle:LDAP',
        'hostname' => '1.2.3.4',
        'enable_tls' => false,
        'debug' => false,
        'timeout' => 30,
        'referrals' => false,
        'attributes' => null,
        'dnpattern' => 'uid=%username%,ou=people,dc=example,dc=org',
        'search.enable' => true,
        'search.base' => 'dc=net,dc=Lifestyle,dc=eu',
        'search.attributes' => array('employeeNumber'),
        'search.username' => 'asdASDasd123',
        'search.password' => 'asdASDasd123',
        'priv.read' => false,
        'priv.username' => null,
        'priv.password' => null,
    ),
);
