This commit is contained in:
XD 2022-10-17 23:21:47 +08:00
parent be6654cdc4
commit 7a56fba049
2 changed files with 3 additions and 2 deletions

View File

@ -15,6 +15,7 @@ const DataModule = TypeOrmModule.forRootAsync({
username: configService.get('DB_USER'),
password: configService.get('DB_PASSWD'),
database: configService.get('DB_NAME'),
connectTimeout: 20000,
entities: [],
synchronize: false,
autoLoadEntities: true,

View File

@ -4,13 +4,13 @@ export const ldapConfig = {
// Base DN will be o=Example,dc=example,dc=com
// Groups base DN will be ou=Groups,o=Example,dc=example,dc=com
// Users base DN will be ou=People,o=Example,dc=example,dc=com
rootDN: 'dc=example,dc=com',
rootDN: 'dc=ccis,dc=group',
organization: 'Example',
// Admins who can search or modify directory
admins: [
{
commonName: 'admin',
password: '123456',
password: 'Myzjvtit123',
canModifyEntry: false,
},
]