diff --git a/lib/client/pool.js b/lib/client/pool.js index 3866473..e6e947c 100644 --- a/lib/client/pool.js +++ b/lib/client/pool.js @@ -37,7 +37,7 @@ function createPool(options) { return pooling.createPool({ checkInterval: options.checkInterval, log: options.log, - name: 'ldapjs_' + (options.url || options.socketPath), + name: 'ldapjs_' + (options.url || options.socketPath).replace(/[:/]/g, '_'), max: options.maxConnections, maxIdleTime: options.maxIdleTime,