1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00
This commit is contained in:
Éric Gaspar 2023-03-10 08:38:41 +01:00
parent 40bec9eba3
commit 99e679ff16
2 changed files with 0 additions and 88 deletions

View file

@ -1,81 +0,0 @@
use rocketchat
db.rocketchat_settings.update(
{ "_id" : "LDAP_Enable" },
{
$set: { "value": true }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_Login_Fallback" },
{
$set: { "value": false }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_Host" },
{
$set: { "value": "localhost" }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_Port" },
{
$set: { "value": "389" }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_Reconnect" },
{
$set: { "value": true }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_BaseDN" },
{
$set: { "value": "dc=yunohost,dc=org" }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_Username_Field" },
{
$set: { "value": "uid" }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_Unique_Identifier_Field" },
{
$set: { "value": "uid" }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_Domain_Search_Object_Class" },
{
$set: { "value": "inetOrgPerson" }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_Sync_User_Data" },
{
$set: { "value": true }
}
)
db.rocketchat_settings.update(
{ "_id" : "Accounts_RegistrationForm" },
{
$set: { "value": "Enabled" }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_User_Search_Filter" },
{
$set: { "value": "(objectclass=inetOrgPerson)" }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_User_Search_Field" },
{
$set: { "value": "uid" }
}
)

View file

@ -10,13 +10,6 @@
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
#=================================================
# LOAD SETTINGS
#=================================================
ynh_print_info --message="Loading installation settings..."
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
#=================================================
# DECLARE DATA AND CONF FILES TO BACKUP
#=================================================