1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00
rocketchat_ynh/conf/rocketchat_ldap.js

82 lines
1.5 KiB
JavaScript
Raw Normal View History

2021-07-10 19:40:17 +02:00
use __DB_NAME__
2016-04-29 18:08:30 +02:00
db.rocketchat_settings.update(
{ "_id" : "LDAP_Enable" },
{
$set: { "value": true }
}
)
db.rocketchat_settings.update(
2018-04-30 12:58:57 +02:00
{ "_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" },
2016-04-29 18:08:30 +02:00
{
$set: { "value": "dc=yunohost,dc=org" }
}
)
db.rocketchat_settings.update(
2018-04-30 12:58:57 +02:00
{ "_id" : "LDAP_Username_Field" },
{
$set: { "value": "uid" }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_Unique_Identifier_Field" },
2016-04-29 18:08:30 +02:00
{
$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 }
}
)
2016-04-29 21:50:20 +02:00
db.rocketchat_settings.update(
{ "_id" : "Accounts_RegistrationForm" },
{
$set: { "value": "Enabled" }
}
)
db.rocketchat_settings.update(
2018-04-30 12:58:57 +02:00
{ "_id" : "LDAP_User_Search_Filter" },
2016-04-29 21:50:20 +02:00
{
2018-04-30 12:58:57 +02:00
$set: { "value": "(objectclass=inetOrgPerson)" }
2016-04-29 21:50:20 +02:00
}
)
db.rocketchat_settings.update(
2018-04-30 12:58:57 +02:00
{ "_id" : "LDAP_User_Search_Field" },
2016-04-29 21:50:20 +02:00
{
2018-04-30 12:58:57 +02:00
$set: { "value": "uid" }
2016-04-29 21:50:20 +02:00
}
)