Open arvindsinghtomar opened 8 years ago
Hi arvin, i have the same tiemout error but not in connection, i have this timeout error in the search method. My connection object is this and i don't have any problem:
ldap = new LDAP({ uri: config.ldap.server, validatecert: false, connecttimeout: -1, });
FYI: You can override timeout and ntimeout properties (you can see this properties in index.js) try to override in your object:
ldap = new LDAP({ .... timeout: 5000, ntimeout: 5000 });
I'm trying to connect LDAP server using this code
and this gives me error :
{ [LDAPError: Timeout] name: 'LDAPError', message: 'Timeout' }
can you help?