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=', + ), +);