Socket
Socket
Sign inDemoInstall

@nikitajs/ldap

Package Overview
Dependencies
95
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nikitajs/ldap

Provides Nikita actions for various OpenLDAP operations.


Version published
Weekly downloads
1
decreased by-75%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Nikita "ldap" package

The "ldap" package provides Nikita actions for various OpenLDAP operations.

Usage

import "@nikitajs/ldap/register";
import nikita from "@nikitajs/core";

const {$status} = await nikita.ldap.add({
  // Connection
  uri: "ldap://openldap:389",
  binddn: "cn=admin,dc=domain,dc=com",
  passwd: "admin",
  // User information
  entry: {
    dn: "cn=nikita,dc=domain,dc=com",
    userPassword: "test",
    uid: "nikita",
    objectClass: [ "top", "account", "posixAccount", "shadowAccount" ],
    shadowLastChange: "15140",
    shadowMin: "0",
    shadowMax: "99999",
    shadowWarning: "7",
    loginShell: "/bin/bash",
    uidNumber: "9610",
    gidNumber: "9610",
    homeDirectory: "/home/nikita",
  },
});
console.info("Entry was modified:", $status);

Keywords

FAQs

Last updated on 22 Dec 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc