Ldap - yapi

2021-03-18
{
  "port": "3000",
  "closeRegister":true,
  "adminAccount": "admin@admin.com",
  "db": {
    "servername": "127.0.0.1",
    "DATABASE": "yapi",
    "port": 27017,
    "user": "",
    "pass": "",
    "authSource": ""
  },
  "mail": {
    "enable": true,
    "host": "smtp.163.com",
    "port": 465,
    "from": "***@163.com",
    "auth": {
      "user": "***@163.com",
      "pass": "*****"
    }
	},
   "ldapLogin": {
      "enable": true,
      "server": "ldap://ldap2.hfjy.com:1636",
      "baseDn": "CN=HFAdmin,DC=hfjy,DC=com",
      "bindPassword": "1Didasd23",
      "searchDn": "OU=User,DC=hfjy,DC=com",
      "searchStandard": "mail"
   }

}