diff --git a/conf/config.php b/conf/config.php index be0fefb..5cc9ed3 100644 --- a/conf/config.php +++ b/conf/config.php @@ -4,7 +4,7 @@ return [ 'base_url' => 'https://__DOMAIN____PATH__', // no trailing slash 'storage' => [ 'driver' => 'local', - 'path' => '__INSTALL_DIR__/storage', + 'path' => '__DATA_DIR__/storage', ], 'db' => [ 'connection' => 'sqlite', diff --git a/conf/config_old.php b/conf/config_old.php index 296bd9d..1eb12c5 100644 --- a/conf/config_old.php +++ b/conf/config_old.php @@ -16,11 +16,12 @@ return array( 'ldap' => array( 'enabled' => true, + 'schema' => 'ldap', 'host' => 'ldap://127.0.0.1', 'port' => 389, - 'base_domain' => 'dc=yunohost,dc=org', + '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=', - ) + ), ); -