Comments (6)
Also, make sure that the path of the entry is to the new entity and not the parent OU.
const ou= 'OU=Users, OU=earth, DC=adname, DC=orgname, DC=org'
^ is the path to the parent OU, not the entry being added.
See
node-ldapjs/test/client.test.js
Lines 510 to 521 in f289008
from node-ldapjs.
Thank you. Your contribution means a lot to me right now ❤️
from node-ldapjs.
The error comes from the server, so it's not an issue with this library. I would suggest investigating the permissions of the user your using to perform the ADD
operation. It is possible that the error message is misleading and that the actual error is a permissions error.
Also, make sure that the path of the entry is to the new entity and not the parent OU.
from node-ldapjs.
Hello @jsumners, thank you for your quick response!
Just checked the permissions of the user I'm using to perform the ADD
operation. The user has administrator permission:
For troubleshooting purposes, I tried adding a new user directly by remote connecting to the AD server, and was able to add the user object without issues.
Are there any other recommendations as to what could be the caused?
Thank you for your assistance :)
from node-ldapjs.
@jsumners AHHHH! You just brought so much happiness to this person!!!! It worked! Ah!!!! I am so happy! It's times like this I love developing software! It's always small details like this that get you!
Thank you, thank you, thank YOU!!!! I am very grateful for your existence, for being so helpful, and for taking the time to read through this problem I was facing and providing a solution that was able to resolve the issue!
Thank you friend! If you are ever passing through Atlanta, let me know and I would love to get you a beer or two
from node-ldapjs.
Technically, I live in the metro area. But I'd be much more comfortable with a contribution https://github.com/sponsors/jsumners
from node-ldapjs.
Related Issues (20)
- 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`
- 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
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.