1.0.12 • Published 1 month ago

w-ldap v1.0.12

Weekly downloads
3
License
MIT
Repository
github
Last release
1 month ago

w-ldap

A LDAP tool for windows.

language npm version license gzip file size npm download npm download jsdelivr download

Documentation

To view documentation or get support, visit docs.

Core

w-ldap is basing on the Microsoft .Net Framework.

Installation

Using npm(ES6 module):

Note: w-ldap is mainly dependent on lodash-es and wsemi, and should run in Windows.

npm i w-ldap

Example:

Link: [dev source code]

import WLdap from 'w-ldap'

async function test() { let inp let r let account = '{account}' let password = '{password}' let ldappath = 'LDAP://{PATH}'

inp = {
    mode: 'logIn',
    account,
    password,
    ldappath,
}
r = await WLdap(inp)
console.log('logIn', r)
w.fsWriteText('logIn.txt', w.o2j(r, true))

inp = {
    mode: 'listUsers',
    account,
    password,
    ldappath,
}
r = await WLdap(inp)
w.fsWriteText('listUsers.txt', w.o2j(r, true))

} test() .catch((err) => { console.log('catch', err) })

// => logIn { // //LDAP user information // } // see logIn.txt and listUsers.txt for details

1.0.12

1 month ago

1.0.11

2 months ago

1.0.10

6 months ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago