Git Product home page Git Product logo

Comments (9)

vesse avatar vesse commented on July 18, 2024 2

I believe this should now be fixed with 1.0.0 of passport-ldapauth since ldapauth-fork now re-emits ldapjs errors.

from passport-ldapauth.

vesse avatar vesse commented on July 18, 2024

I need to check this when I have time. The ldapjs clients are in vesse/node-ldapauth-fork which this passport wrapper uses, and they do not have the listener attached. It's easy to add the listeners, but I don't know yet at which point this error really happens and thus what could be done when it happens.

from passport-ldapauth.

csulok avatar csulok commented on July 18, 2024

The stacktrace provided by Node is awful from this point of view, no way to easily find out where the request is initiated in any of 3-4 modules. Anyhow your comment is helpful, I will investigate further in the other modules and open issues there as appropriate.

from passport-ldapauth.

vesse avatar vesse commented on July 18, 2024

Oh shoot, looks like still problems with ldapjs 1.0.0

from passport-ldapauth.

 avatar commented on July 18, 2024

I'm facing this issue as well if the LDAP server is unreachable. Any ETA for a fix? :)

from passport-ldapauth.

chriswininger avatar chriswininger commented on July 18, 2024

also bumping up against this

from passport-ldapauth.

chriswininger avatar chriswininger commented on July 18, 2024

Seems like the heart of this is with ldapauth-fork, vesse/node-ldapauth-fork#41, if they accept that pull request then it should be trivial to fix the problem in passport-lpapauth

from passport-ldapauth.

chriswininger avatar chriswininger commented on July 18, 2024

Here's a version of passport-ldapauth which illustrates how by pulling in the the fix for node-ldapauth-fork we could patch passport-ldapauth. I didn't make this an official pull request because the pull request for node-ldapauth-fork#41 hasn't been accepted yet, but if/when that gets accepted and merged into the main ldapauth repo you should be able to do something like this

chriswininger@9064385

It works as a temporary work around for us anyways

from passport-ldapauth.

chriswininger avatar chriswininger commented on July 18, 2024

That's great! Thanks

from passport-ldapauth.

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.