Comments (7)
Hey-hey! Sorry to bother you with such problems, but couldn't find a solution, so to contact you - the only way I have.
This is the appropriate place to ask questions.
- Used npm to instal the package, installed version of package was 2.2.5. I actually didn't find it on your updates website. Trying to update it by npm didn't change nothing.
The latest package available is 3.0.2. We no longer support v2.
❯ npm view ldapjs
[email protected] | MIT | deps: 14 | versions: 74
LDAP client and server APIs
http://ldapjs.org
dist
.tarball: https://registry.npmjs.org/ldapjs/-/ldapjs-3.0.2.tgz
.shasum: 1f21fd4ae6e77b78ef3b56d0643a656553761f13
.integrity: sha512-EBxQaBmgXk1DEaYYJWkp5i5PtSLRI2CWtm1gzxG5buOt40Q7j3zY6MbpRDkach/Cnxr3qSyLHiyXvvkLCOXw+Q==
.unpackedSize: 318.8 kB
dependencies:
@ldapjs/asn1: 2.0.0 @ldapjs/controls: 2.0.0 @ldapjs/messages: 1.0.2 assert-plus: ^1.0.0 vasync: ^2.2.1
@ldapjs/attribute: 1.0.0 @ldapjs/dn: 1.0.0 @ldapjs/protocol: ^1.2.1 backoff: ^2.5.0 verror: ^1.10.1
@ldapjs/change: 1.0.0 @ldapjs/filter: 2.0.0 abstract-logging: ^2.0.1 once: ^1.4.0
maintainers:
- melloc <[email protected]>
- jsumners <[email protected]>
- jgeurts <[email protected]>
- tonybrix <[email protected]>
- pfmooney <[email protected]>
- mcavage <[email protected]>
dist-tags:
latest: 3.0.2
3. I'm using Vite and TypeScript to code and to run my packages.
Okay.
4. The main mistake. After running the script, on my site should appear the login-window form, when I just created it and have been setting it up - I used the default object with static parameters to login, after that, I created the ldap request source code below. And everytime when I was running the project, I had the same mistake in a package:
I don't understand. ldapjs
does not provide any "login-window form". ldapjs
is a library usable by application written against the Node.js runtime to provide an API for accessing LDAP servers, or to provide an API for writing and LDAP server.
from node-ldapjs.
- Used npm to instal the package, installed version of package was 2.2.5. I actually didn't find it on your updates website. Trying to update it by npm didn't change nothing.
Thank you for the answer, yeah, I know that v2.0 is no longer supported. Lets leave this problem now.
The latest package available is 3.0.2. We no longer support v2.
- The main mistake. After running the script, on my site should appear the login-window form, when I just created it and have been setting it up - I used the default object with static parameters to login, after that, I created the ldap request source code below. And everytime when I was running the project, I had the same mistake in a package:
I don't understand.
ldapjs
does not provide any "login-window form".ldapjs
is a library usable by application written against the Node.js runtime to provide an API for accessing LDAP servers, or to provide an API for writing and LDAP server.
About the login-window. It is default-vanila javascript, with integrated in ldap library to access Active Directory server. That's what I meant. Sorry for missunderstanding
from node-ldapjs.
Is your application being run in the Node.js runtime environment?
from node-ldapjs.
Is your application being run in the Node.js runtime environment?
Ofc it is, to apply using npm packages I'm using Vite. But running this all with npm, or in node.js env.
from node-ldapjs.
Please provide a minimal reproduction that I can run with node index.js
.
from node-ldapjs.
Please provide a minimal reproduction that I can run with
node index.js
.
mostly - it's not possible. Its a huge project as site, so sent only one file from it, does not make any sense.
I could give you an acces to my private repo, so you could clone the project. But still the problem is that you need to configure your Active Directory and your mysql DataBase to run the site. It's too complicated.
Is there any how you could avoid it, and how could I help you with avoiding it?
from node-ldapjs.
A minimal reproduction is not a full project. See https://stackoverflow.com/help/minimal-reproducible-example.
I think that if you attempt to create one, you will find that you are not running your code within the Node.js runtime. Your screenshots show web browser consoles, and your provided code snippet is using web browser DOM APIs.
If you can provide a reproduction that solely uses Node.js, you are welcome to reopen the issue. Otherwise, all evidence provided points to an unsupported environment.
from node-ldapjs.
Related Issues (20)
- Tyring to implement cn=Subschema HOT 2
- Add/Delete group member not working on Windows Active Directory if groupname includes non ascii HOT 3
- No Such Object on modify with latin characters HOT 2
- Operations error with ldap_add in LDAP guide HOT 13
- req.dn is a string in Server.bind HOT 3
- Client event routing issue HOT 4
- How can I obtain detailed information about the password policy? HOT 10
- Unable to match DN in [email protected] version HOT 4
- replace operation --> modification must be an Attribute HOT 1
- ldapmodify works, but ldapjs client.modify() does't work as expected and return No Such Object HOT 5
- Unable to use attributes: 'member;range=0-1499' in ldapjs search HOT 3
- Support for SyncRequestControl HOT 1
- Not able to set password after user created HOT 3
- LDAP search return empty array for every subsequent search after the first search. HOT 1
- VError: Parser error for undefined:undefined: options.value must be a Buffer or Object HOT 18
- Support unicode DN HOT 8
- How can I obtain information indicating "Password Expired"? HOT 1
- Obtaining search entry attribute value by key HOT 1
- Invalidate Error
- Whitespace in (old) parseFilter causes `Uncaught Error: missing paren`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-ldapjs.