mcavage / node-ldapjs-riak Goto Github PK
View Code? Open in Web Editor NEWRiak backend for node-ldapjs
Home Page: http://mcavage.github.com/node-ldapjs-riak
License: MIT License
Riak backend for node-ldapjs
Home Page: http://mcavage.github.com/node-ldapjs-riak
License: MIT License
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
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?
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
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.
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 :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.