Après avoir installé ttrss je rencontre 2 problèmes.
Le premier concerne ttrss en tant que service. Lorsque j’arrête le service avec la commande yunohost service stop ttrss le logiciel reste accessible via son url malgré que le status soit bien “dead” et je ne comprend pas la raison à cela
putenv('TTRSS_PLUGINS=auth_ldap, auth_internal, note');
// Comma-separated list of plugins to load automatically for all users.
// System plugins have to be specified here. Please enable at least one
// authentication plugin here (auth_*).
// Users may enable other user plugins from Preferences/Plugins but may not
// disable plugins specified in this list.
// Disabling auth_internal in this list would automatically disable
// reset password link on the login form.
// Required parameters:
define('LDAP_AUTH_SERVER_URI', 'ldap://127.0.0.1:389/');
define('LDAP_AUTH_USETLS', FALSE); // Enable StartTLS Support for ldap://
define('LDAP_AUTH_ALLOW_UNTRUSTED_CERT', TRUE); // Allows untrusted certificate
define('LDAP_AUTH_BASEDN', 'ou=users,dc=yunohost,dc=org');
define('LDAP_AUTH_ANONYMOUSBEFOREBIND', FALSE);
define('LDAP_AUTH_SEARCHFILTER', '(&(|(objectclass=posixAccount))(uid={{username}}))');
// Optional configuration
define('LDAP_AUTH_BINDDN', 'cn=admin,dc=yunohost,dc=org');
define('LDAP_AUTH_BINDPW', 'monmotdepasse');
define('LDAP_AUTH_LOGIN_ATTRIB', 'uid');
define('LDAP_AUTH_LOG_ATTEMPTS', FALSE);
// Enable Debug Logging
define('LDAP_AUTH_DEBUG', TRUE);
Quelqu’un à une idée ?
EDIT : Après moulte recherches, j’ai laissé tomber par manque de compétence. Je n’ai pas eu d’autre choix que d’activer le plugin auth_remote pour l’authentification http et rendre l’application accessible uniquement aux utilisateurs enregistrés.