1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00
This commit is contained in:
ericgaspar 2022-01-04 10:50:11 +01:00
parent 48bcc865ba
commit a2371ae2c0
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 30 deletions

View file

@ -429,34 +429,6 @@ module.exports = {
// When unset, the LDAP auth logic with use `searchDN` instead to locate users. // When unset, the LDAP auth logic with use `searchDN` instead to locate users.
baseDN: "ou=users,dc=yunohost,dc=org", baseDN: "ou=users,dc=yunohost,dc=org",
// - `searchDN`: LDAP search DN settings. This defines the procedure by
// which The Lounge first looks for the user DN before authenticating them.
// It is ignored if `baseDN` is specified. It is an object with the
// following keys:
searchDN: {
// - `rootDN`: This bind DN is used to query the server for the DN of
// the user. This is supposed to be a system user that has access in
// read-only to the DNs of the people that are allowed to log in.
// It is set to `"cn=thelounge,ou=system-users,dc=example,dc=com"` by
// default.
rootDN: "cn=thelounge,ou=system-users,dc=example,dc=com",
// - `rootPassword`: Password of The Lounge LDAP system user.
rootPassword: "1234",
// - `ldapFilter`: it is set to `"(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com)"`
// by default.
filter: "(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com)",
// - `base`: LDAP search base (search only within this node). It is set
// to `"dc=example,dc=com"` by default.
base: "dc=example,dc=com",
// - `scope`: LDAP search scope. It is set to `"sub"` by default.
scope: "sub",
},
},
// ## Debugging settings // ## Debugging settings
// The `debug` object contains several settings to enable debugging in The // The `debug` object contains several settings to enable debugging in The

View file

@ -10,7 +10,7 @@ WorkingDirectory=__FINALPATH__/
Environment="__YNH_NODE_LOAD_PATH__" Environment="__YNH_NODE_LOAD_PATH__"
Environment="THELOUNGE_HOME=/home/yunohost.app/__APP__/" Environment="THELOUNGE_HOME=/home/yunohost.app/__APP__/"
Environment="NODE_ENV=production" Environment="NODE_ENV=production"
ExecStart=thelounge start ExecStart=__YNH_NPM__ start
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
StartLimitInterval=60s StartLimitInterval=60s