CoreID/config/ldap/server.config.js

18 lines
439 B
JavaScript
Raw Normal View History

2020-04-17 00:59:48 +00:00
// LDAP Server Configuration
const ldap_server = {
2020-04-18 00:25:33 +00:00
2020-04-17 00:59:48 +00:00
port: env('LDAP_SERVER_PORT', 389),
max_connections: env('LDAP_MAX_CONNECTIONS'),
interface: env('LDAP_LISTEN_INTERFACE', '0.0.0.0'),
2020-04-18 00:25:33 +00:00
schema: {
base_dc: env('LDAP_BASE_DC', 'dc=example,dc=com'),
authentication_base: env('LDAP_AUTH_BASE', 'ou=people'),
auth: {
user_id: 'uid',
}
}
2020-04-17 00:59:48 +00:00
}
module.exports = exports = ldap_server