CoreID/config/ldap/server.config.js
garrettmills 20e723f39f
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
LDAP - cast modifications to support posix logins
2021-03-10 15:48:27 -06:00

24 lines
594 B
JavaScript

// LDAP Server Configuration
const ldap_server = {
port: env('LDAP_SERVER_PORT', 389),
max_connections: env('LDAP_MAX_CONNECTIONS'),
interface: env('LDAP_LISTEN_INTERFACE', '0.0.0.0'),
schema: {
base_dc: env('LDAP_BASE_DC', 'dc=example,dc=com'),
authentication_base: env('LDAP_AUTH_BASE', 'ou=people'),
group_base: env('LDAP_GROUP_BASE', 'ou=groups'),
auth: {
user_id: 'uid',
},
start_uid: env('LDAP_START_UID', 80000),
},
format: {
skipSpace: true,
},
}
module.exports = exports = ldap_server