Comments (10)
It sounds like you are asking about support for the controls described in https://datatracker.ietf.org/doc/html/draft-behera-ldap-password-policy-10#anchor52 (ยง6,6.1,6.2). That doc is a draft doc and I cannot find an accepted "RFC" version of it. However, servers, including OpenLDAP, have implemented the proposed spec regardless of the draft status. Thus, we are not opposed to it being added here.
The controls we currently support are plainly listed at https://github.com/ldapjs/controls/tree/9718b85dc8eae4522e5d879a603a13422d6e245a/lib/controls. The controls in question are not in that list. If you would like support for them, you are welcome to work on the feature. At a minimum, such work is likely to require:
- An update to the
@ldapjs/controls
module linked above. - An update to the
ldapjs
module to recognize the new response controls. - An update to https://github.com/ldapjs/docker-test-openldap to include the overlay.
- Tests to prove the functionality and guard against regression.
Would you like to work on this?
from node-ldapjs.
For example, when I enter the following command as a shell command, the rejection reason is displayed through the Additional Info message:
ldappasswd -H ldapi:/// -x -D <user DN> -W -S Result: Constraint violation (19) Additional info: Password is too young to change
However, when I use ldapjs to call the modify operation for the userPassword value, only the following error is generated:
{ "lde_message":"Constraint Violation", "lde_dn":null }
would like to obtain additional information like "Password is too young to change." Is it currently not supported by ldapjs?
from node-ldapjs.
Did you read my previous reply?
from node-ldapjs.
@jsumners
Of course, I have read your message. However, since English is not my native language, I have a little confusion.
- Do I need to update the controls module myself?
- Or is it a matter that requires future updates because it is currently not supported by ldapjs?
- Is it already supported in version 3?
Based on your previous answer, it looks like the second case is correct.
If so, is the closure of issues 186 or 770 unrelated to the support of password policy related controls in version 3?
from node-ldapjs.
The requested feature is not implemented. I outlined the minimum of what would need to be done to implement the feature.
from node-ldapjs.
I understand. :)
Thank you for your response, and may I ask if you have any implementation plans?
from node-ldapjs.
No. You are welcome to work on it.
from node-ldapjs.
Try and if it works well, I'll share it.
from node-ldapjs.
Being worked on in #949.
from node-ldapjs.
Solved by #949.
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.