GithubHelp home page GithubHelp logo

Comments (7)

mcavage avatar mcavage commented on May 23, 2024

Thanks for the report Carsten. Last week there was a rewrite of the filter parsing code, so I'm pretty sure this is an aftershock :. I'll get it fixed up today.

from node-ldapjs.

cwoelk avatar cwoelk commented on May 23, 2024

Hi Mark,

I can confirm that your patch (SHA: 0e30dc5) does fix this issue in my setup. Thanks for fixing it that quickly!

Cheers,
Carsten

from node-ldapjs.

mcavage avatar mcavage commented on May 23, 2024

Great, thanks for verifying - I just published 0.4.7 to npm, which has this fix. The NotFilters were the only ones that got missed in the rewrite logic, as they are subtly different than Or/And filters.

m

from node-ldapjs.

cwoelk avatar cwoelk commented on May 23, 2024

Great. Thanks. The npm module works fine too.
There is one more thing. I observed that the 'connect' callback for the Client is called twice now, once with the established connection and afterwards with 'undefined'. What is the second one for or is it an 'aftershock' too? ;)
I adjusted my code so it doesn't matter for me, but I am still curious and thought I might let you know. ;)
Cheers,
Carsten

from node-ldapjs.

mcavage avatar mcavage commented on May 23, 2024

Hmm. No that's something else. Its probably been like that for a
while. I'll take a look at it tomorrow.

Sent from my iPhone

On Jan 25, 2012, at 1:41 AM, Carsten Woelk
[email protected]
wrote:

Great. Thanks. The npm module works fine too.
There is one more thing. I observed that the 'connect' callback for the Client is called twice now, once with the established connection and afterwards with 'undefined'. What is the second one for or is it an 'aftershock' too? ;)
I adjusted my code so it doesn't matter for me, but I am still curious and thought I might let you know. ;)
Cheers,
Carsten


Reply to this email directly or view it on GitHub:
#53 (comment)

from node-ldapjs.

cwoelk avatar cwoelk commented on May 23, 2024

I should mention that before the upgrade I was using the npm version 0.2.6. So unfortunately there are a few changes in between. :S

Test code is:

var ldap = require('ldapjs');
var client = ldap.createClient({
  url: 'ldap://127.0.0.1:1389'
});
client.on('connect', function(connection) {
  console.log(connection);
})

from node-ldapjs.

mcavage avatar mcavage commented on May 23, 2024

K - I opened up #55 to track this new issue. I'll take a look at it.

from node-ldapjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.