
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@3kles/3kles-ldap
Advanced tools
This package contains API and controller to manage LDAP and ActiveDirectory
LDAPApi implements IGenericAPI (3kles-corebe):
LDAPController is a class based on GenericController (3kles-corebe)
ADController is a class inherit LDAPController to manage ActiveDirectory
Use .env file to fill ldap parameter (See example in root folder) The app.js is currently configurate only for ActiveDirectory to add, delete and list the entities User, Group and Computer
The routes for each entity is composed like follows:
To add an entity:
{
"dn": "CN=TESTLDAP,CN=Users,OU=INTERNAL,O=3KC,DC=3KLES,DC=local",
"entry":{
"objectClass": [
"top",
"person",
"organizationalPerson",
"user"
],
"givenName": "FirstName",
"sn": "Name",
"mail":"f.name@3kles-consulting.com",
"sAMAccountName": "TESTLDAP",
"userPrincipalName":"TESTLDAP@3KLES.local",
"userAccountControl":"544", //Activate user
"userPassword":"3Kles2018!"
}
}
To del an entity:
{
"dn": "CN=TESTLDAP,CN=Users,OU=INTERNAL,O=3KC,DC=3KLES,DC=local"
}
To update an entity: if ldap attribute exist you can use only replace even if attribute is empty One change:
{
"dn": "CN=TESTLDAP,CN=Users,OU=INTERNAL,O=3KC,DC=3KLES,DC=local",
"change":{
"operation":"replace",
"modification":{
"type":"co",
"values":["France"]
}
}
}
Mutli change change:
{
"dn": "CN=TESTLDAP,CN=Users,OU=INTERNAL,O=3KC,DC=3KLES,DC=local",
"change":[
{
"operation":"replace",
"modification":{
"type":"co",
"values":["France"]
}
},
{
"operation":"replace",
"modification":{
"type":"co",
"values":["France"]
}
}
]
}
Error response:
{
"code": 32,
"message":"0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of:'CN=Users,OU=INTERNAL,O=3KC,DC=3KLES,DC=local'"
}
FAQs
3KLES LDAP
We found that @3kles/3kles-ldap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.