This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
lnldap/config/database.php

48 lines
1.2 KiB
PHP
Raw Normal View History

<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* LDAP Configuration - LDAP Server Definitions
*
* @package Kohana/LDAP
* @category Configuration
* @author Deon George
2013-07-12 00:35:54 +00:00
* @copyright (c) 2013 phpLDAPadmin Development Team
* @license http://dev.phpldapadmin.org/license.html
*/
return array (
'default' => array (
2013-07-12 00:35:54 +00:00
'type' => 'LDAP',
'connection' => array(
/**
* The following options are available for MySQL:
*
* string hostname server hostname, or socket
* string database our basedn
* string username database username
* string password database password
* boolean persistent use persistent connections?
*
* Ports and sockets may be appended to the hostname.
*/
'hostname' => 'localhost',
'database' => NULL,
'port' => 389,
'username' => FALSE,
'password' => FALSE,
'persistent' => NULL,
),
'table_prefix' => NULL,
'charset' => 'utf8',
2013-07-12 00:35:54 +00:00
'caching' => FALSE, // If this LDAP server is enabled for cache TRUE|FALSE
'profiling' => TRUE,
'login_attr'=>'uid',
2014-02-11 05:53:37 +00:00
'schema'=>array(
'dn' => FALSE,
'password' => FALSE,
),
),
);
?>