2016-04-29 18:08:30 +02:00
|
|
|
use rocketchat
|
|
|
|
|
|
|
|
|
|
|
|
db.rocketchat_settings.update(
|
|
|
|
{ "_id" : "LDAP_Enable" },
|
|
|
|
{
|
|
|
|
$set: { "value": true }
|
|
|
|
}
|
|
|
|
)
|
|
|
|
db.rocketchat_settings.update(
|
|
|
|
{ "_id" : "LDAP_Domain_Base" },
|
|
|
|
{
|
|
|
|
$set: { "value": "dc=yunohost,dc=org" }
|
|
|
|
}
|
|
|
|
)
|
|
|
|
db.rocketchat_settings.update(
|
|
|
|
{ "_id" : "LDAP_Domain_Search_User_ID" },
|
|
|
|
{
|
|
|
|
$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(
|
|
|
|
{ "_id" : "LDAP_Host" },
|
|
|
|
{
|
|
|
|
$set: { "value": "localhost" }
|
|
|
|
}
|
|
|
|
)
|
|
|
|
db.rocketchat_settings.update(
|
|
|
|
{ "_id" : "LDAP_Domain_Search_Object_Category" },
|
|
|
|
{
|
|
|
|
$set: { "value": "" }
|
|
|
|
}
|
|
|
|
)
|
|
|
|
db.rocketchat_settings.update(
|
|
|
|
{ "_id" : "LDAP_Username_Field" },
|
|
|
|
{
|
|
|
|
$set: { "value": "" }
|
|
|
|
}
|
|
|
|
)
|
2016-04-29 18:08:30 +02:00
|
|
|
|
|
|
|
|