GithubHelp home page GithubHelp logo

Comments (6)

mcavage avatar mcavage commented on May 23, 2024

Hi Julien,

Sounds good, but can you give me the offending ldapjs stack trace?

from node-ldapjs.

mcavage avatar mcavage commented on May 23, 2024

Oh, and what version are you using? There was a big controls refactoring a few weeks ago, and I put in a couple fixes last week; suspect this may already be fixe.d

from node-ldapjs.

jgagnet avatar jgagnet commented on May 23, 2024

Hi Mark,

Reading my comment I realised I missed a few details.

The stacktrace is:
2012-01-09 17:37:53Z ERROR - Server: Exception happened parsing for 127.0.0.1:57981: TypeError: Cannot call method 'toString' of undefined
at getControl (/Users/julien/ldapcouch/node_modules/ldapjs/lib/controls/index.js:51:22)
at SearchRequest.parse (/Users/julien/ldapcouch/node_modules/ldapjs/lib/messages/message.js:83:15)
at Parser.write (/Users/julien/ldapcouch/node_modules/ldapjs/lib/messages/parser.js:105:13)
at Socket. (/Users/julien/ldapcouch/node_modules/ldapjs/lib/server.js:425:16)
at Socket.emit (events.js:64:17)
at Socket._onReadable (net.js:678:14)
at IOWatcher.onReadable as callback

This is when calling:
value: value.toString('utf8')

I am running version 0.3.6 of ldapjs.

Thanks for your feedback,

Julien

from node-ldapjs.

mcavage avatar mcavage commented on May 23, 2024

Oh, yikes, that's ancient in node.js terms :) - Try it on 0.4.3 (that's the latest).

from node-ldapjs.

jgagnet avatar jgagnet commented on May 23, 2024

Hi Mark,

Try with 0.4.3 and it's all good. Thanks and apologies about raising this bug.

from node-ldapjs.

mcavage avatar mcavage commented on May 23, 2024

Hi Julien, no worries - glad you're up and running now.

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.