Giter Site home page Giter Site logo

node-ldapjs-riak's People

Contributors

mcavage avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

node-ldapjs-riak's Issues

Large LDAP Database

Hi,

I have just loaded in my ldap db to ldapjs-riak however it stopped loading halfway through. Then when i tried even a basic search it failed.

When I repeated the search on the command line using curl I noticed the error appears to be that when you have keys set to true, you hit a max buffer in riak, but if you change it to streams then it works ok.
curl -v http://127.0.0.1:8098/riak/ufds?keys=true&props=false -H "Accept: text/plain"
curl: (27) Avoided giant realloc for header (max is 102400)!

curl -v http://127.0.0.1:8098/riak/ufds?keys=stream&props=false -H "Accept: text/plain"

I looked to just change this in the nodejs under line 184 of riak.js, this however blew up with the following reply to an ldapsearch call:
text: riak failure: Unexpected token {

I am guessing what ever calls the search does not handle a stream and is looking for a single reply ? but I am not sure where to look to help update this to handle streams and a larger payload.

Regards

Mark

How to use ldapjs-riak?

Hi,can I use ldapjs-riak on node.js-0.6.17? And before using ldapjs-riak,I need to prepare to do sth?do I install the ldap?

npm install ldapjs-riak: node-waf missing

Hello,

I'm trying to install ldapjs-riak, but I get following error:

sh: 1: node-waf: not found
npm ERR! [email protected] preinstall: ./build-wrapper
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is most likely a problem with the buffertools package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./build-wrapper
npm ERR! You can get their info via:
npm ERR! npm owner ls buffertools

npm ERR! There is likely additional logging output above.

As far as I know node-waf was replaced by node-gyp since version 0.8. I'm really new with node.js and I don't know how to fix this problem.

How to populate riak

This is not actually an issue, it's just for someone coming here like me and thinking about using your module. The question is:

How does one populate the riak database?

I'm supposing you configure a bucket and use some sort of meta key to define the DN. Is this true? Something in the README could answer this :)

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.