This commit is contained in:
Girish Ramakrishnan
2026-03-12 23:23:23 +05:30
parent ff49759f42
commit f12b4faf34
99 changed files with 109 additions and 108 deletions
+3 -3
View File
@@ -16,7 +16,7 @@ import shellModule from './shell.js';
import users from './users.js';
import util from 'node:util';
const { log, trace } = logger('directoryserver');
const { log } = logger('directoryserver');
const shell = shellModule('directoryserver');
@@ -289,7 +289,7 @@ async function groupSearch(req, res, next) {
async function start() {
assert(gServer === null, 'Already running');
const logger = {
const ldapLogger = {
trace: NOOP,
debug: NOOP,
info: log,
@@ -303,7 +303,7 @@ async function start() {
gServer = ldap.createServer({
certificate: gCertificate.cert,
key: gCertificate.key,
log: logger
log: ldapLogger
});
gServer.on('error', function (error) {