Comments (12)
Is this a known issue, or am I missing something?
https://github.com/ldapjs/node-ldapjs/releases/tag/v3.0.4
from node-ldapjs.
Sorry I forgot to mention. I am on 3.0.4
from node-ldapjs.
The only way I've been able to fix this is by returning input
instead of DN.fromString(input)
.
The DN.isDn()
function seems to return false, even for the example DN used in the docs: cn=foo,dc=example,dc=com
from node-ldapjs.
I have created an integration test based upon this issue #926
I am not seeing the issue described.
from node-ldapjs.
Closing as cannot reproduce. If you are able to provide a reproduction, or show how the integration test I added is insufficient, please reopen with that information.
from node-ldapjs.
https://github.com/audn/ldapjs-reproduction
Let me know if it works on your end @jsumners
from node-ldapjs.
Have you reviewed the integration test I added? Can you point out how it does not cover the issue?
Regarding your repo:
- https://github.com/audn/ldapjs-reproduction/blob/06453eb1342cf8fd371c3a3a700e648fd4ae29b5/package.json#L6 is not v3.0.4. The v3.0.4 release directly addresses the code block you are asserting is the issue.
- It is not a minimal reproduction. Please review https://stackoverflow.com/help/minimal-reproducible-example. Note: the integration test I provided is a good example of what a minimal reproduction looks like for this project.
from node-ldapjs.
I tried moving the user, and that fixed it. Do you have any limitations as of how deep we can drill?
Doesn't work: CN=user1,OU=Portal,OU=Users,OU=Tier,OU=Norge,DC=example,DC=com
Works: CN=user1,DC=example,DC=com
from node-ldapjs.
You have removed your code, so I cannot see what you are doing. I'm going to guess that you are searching for the entry to modify, setting a base DN at dc=example,dc=com
, and not specifying scope=subtree
.
This library does not impose any limits on DNs that are not present in the RFCs.
from node-ldapjs.
Can you add scope
on modify
?
https://github.com/audn/ldapjs-reproduction
from node-ldapjs.
It seems like it's returning "No Such Object" when using "ΓΈ" in the DN @jsumners
from node-ldapjs.
Please see #860.
from node-ldapjs.
Related Issues (20)
- Whitespace in (old) parseFilter causes `Uncaught Error: missing paren`
- Module build failed: UnhandledSchemeError: Reading from "node:util" is not handled by plugins (Unhandled scheme). HOT 4
- SASL / GSSAPI support HOT 3
- Open ssl issue with node 18 HOT 1
- Compatibility Issue Between ldapjs Library and FreeRADIUS HOT 1
- Edited: Ldapjs doesn't work after next.js build HOT 5
- Sharing unescape DN code for helper method
- (node:536) [LDAP_MESSAGE_DEP_001] LdapjsMessageWarning: messageID is deprecated. Use messageId instead. HOT 1
- Missing LDAP Result Codes in errors.js HOT 1
- AttributeFilter not implemented on Server? HOT 3
- What is Naming Violation Error HOT 1
- LDAPJS Server: when searching, I need to request in lowercase attributes in order to get mixed-case attributes HOT 1
- Assistance Needed with LDAPS Connection to Windows Server 2012 R2 AD HOT 2
- TLS 1.3 not supported
- Why does the bind method call fail without throwing exception information? HOT 1
- Parse Error
- Get IP of a request
- problems changing passwords HOT 2
- Problem binding to active directory special characters HOT 1
- res.on("searchEntry") in next.js after build does not return data. HOT 1
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.