1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dolibarr_ynh.git synced 2024-09-03 18:35:53 +02:00
dolibarr_ynh/conf/conf.php

33 lines
1,007 B
PHP
Raw Normal View History

2023-10-02 14:42:33 +02:00
$dolibarr_main_document_root="/home/www/dolibarr/htdocs";
$dolibarr_main_url_root="http://__DOMAIN____PATH__";
$dolibarr_main_db_type="mysql";
$dolibarr_main_db_host="localhost";
$dolibarr_main_db_port="3306";
$dolibarr_main_db_name="__DB_NAME__";
$dolibarr_main_db_user="__DB_USER__";
$dolibarr_main_db_pass="__DB_PWD__";
// Authentication settings
//$dolibarr_main_authentication='dolibarr';
$dolibarr_main_authentication='ldap,dolibarr';
$dolibarr_main_auth_ldap_host='ldap:localhost';
$dolibarr_main_auth_ldap_port='389';
$dolibarr_main_auth_ldap_version='3';
$dolibarr_main_auth_ldap_servertype='openldap';
$dolibarr_main_auth_ldap_login_attribute='uid'; // Ex: uid or samaccountname for active directory
$dolibarr_main_auth_ldap_dn='ou=users,dc=yunohost,dc=org';
$dolibarr_main_auth_ldap_filter = '&(objectClass=posixAccount)';
//$dolibarr_main_auth_ldap_admin_login='uid=admin,dc=yunohost,dc=org';
//$dolibarr_main_auth_ldap_admin_pass='secret';
//$dolibarr_main_auth_ldap_debug='false';