From 55d31c6518320527347d1d2ccdd00d78f94c6886 Mon Sep 17 00:00:00 2001 From: Hayden Date: Sun, 11 Feb 2024 13:07:55 -0800 Subject: [PATCH] split config templates into 2 files --- conf/config-subdomain.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 conf/config-subdomain.php diff --git a/conf/config-subdomain.php b/conf/config-subdomain.php new file mode 100644 index 0000000..923fdd4 --- /dev/null +++ b/conf/config-subdomain.php @@ -0,0 +1,27 @@ + 'https://__DOMAIN__', + 'db' => array ( + 'connection' => 'mysql', + 'dsn' => 'host=localhost;port=3306;dbname=__DB_NAME__', + 'username' => '__DB_NAME__', + 'password' => '__DB_PWD__', + ), + + 'storage' => array( + 'driver' => 'local', + 'path' => '__DATA_DIR__', + ), + + 'ldap' => array( + 'enabled' => true, + 'schema' => 'ldap', + 'host' => 'ldap://127.0.0.1', + 'port' => 389, + 'base_domain' => 'dc=yunohost,dc=org', + 'search_filter' => '(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))', + 'user_domain' => 'ou=Users', + 'rdn_attribute' => 'uid=', + ), +);