All Projects → ymyang → node-ldap

ymyang / node-ldap

Licence: other
node ldap client

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to node-ldap

ldap3
A pure-Rust LDAP library using the Tokio stack
Stars: ✭ 161 (+570.83%)
Mutual labels:  ldap
bk-user
蓝鲸用户管理是蓝鲸智云提供的企业组织架构和用户管理解决方案,为企业统一登录提供认证源服务。
Stars: ✭ 31 (+29.17%)
Mutual labels:  ldap
ldap write support
👥🖎 create, edit and delete LDAP users and groups from Nextcloud
Stars: ✭ 15 (-37.5%)
Mutual labels:  ldap
adam
Addon which enhances all user profiles of confluence. It also adds an advanced people directory. The whole addon is configurable by means of an XML, can be localized, supports Velocity templates and supports view and edit restrictions.
Stars: ✭ 12 (-50%)
Mutual labels:  ldap
k8s-ldap
Kubernetes - LDAP authentication with Dex
Stars: ✭ 59 (+145.83%)
Mutual labels:  ldap
Active-Directory-Search
👤 This Active Directory Search tool was written in C# and VB.NET Windows Forms and exports the results from LDAP to csv format.
Stars: ✭ 19 (-20.83%)
Mutual labels:  ldap
django-windowsauth
Easy integration and deployment of Django projects into Windows Environments
Stars: ✭ 23 (-4.17%)
Mutual labels:  ldap
ldapscripts
Simple shell scripts to handle POSIX entries in an LDAP directory
Stars: ✭ 20 (-16.67%)
Mutual labels:  ldap
PHP
PHP Related Projects: Like simple PHP Genetic algorithm, LDAP login , Websockets and more
Stars: ✭ 22 (-8.33%)
Mutual labels:  ldap
dockerfiles
Dockerfile文件集合
Stars: ✭ 34 (+41.67%)
Mutual labels:  ldap
ActiveDirectory
Active Directory Object Model Lib
Stars: ✭ 20 (-16.67%)
Mutual labels:  ldap
sonar-ldap
🏬 LDAP Plugin for SonarQube
Stars: ✭ 31 (+29.17%)
Mutual labels:  ldap
multiOTPCredentialProvider
multiOTP Credential Provider is a V2 Credential Provider for Windows 7/8/8.1/10/2012(R2)/2016 with options like RDP only and UPN name support
Stars: ✭ 121 (+404.17%)
Mutual labels:  ldap
authelia
Instructions and configuration files to deploy Authelia in Unraid OS using Docker + FreeIPA LDAP.
Stars: ✭ 116 (+383.33%)
Mutual labels:  ldap
AD-webmanager
A web interface for administration of Active Directory Domains, made in Python, with focus on easy of use and simplicity.
Stars: ✭ 26 (+8.33%)
Mutual labels:  ldap
goalie-url-shortener
An implementation of go/ vanity-urls with LDAP support that makes it simple to access internal web assets on a coorporate network.
Stars: ✭ 16 (-33.33%)
Mutual labels:  ldap
schema2ldif
Schema 2 ldif : tool to convert .schema to .ldif files and mange them live into an openldap server
Stars: ✭ 14 (-41.67%)
Mutual labels:  ldap
lldap
Light LDAP implementation
Stars: ✭ 1,402 (+5741.67%)
Mutual labels:  ldap
vmam
VLAN Mac-address Authentication Manager
Stars: ✭ 19 (-20.83%)
Mutual labels:  ldap
adalanche
Active Directory ACL Visualizer and Explorer - who's really Domain Admin?
Stars: ✭ 862 (+3491.67%)
Mutual labels:  ldap

node-ldap

node ldap client

安装

npm install node-ldap

使用

已通过Windows Server 2008测试

var LdapClient = RedisClient('node-ldap');

var client = new LdapClient({
    ldapUrl: 'ldap://192.168.1.81:389',
    userDn: '[email protected]',
    password: 'yliyun@123'
});


 // 用户认证
client.auth('[email protected]', 'yliyun@123').then(function() {
    console.log('success');
}).catch(function(err) {
    console.error(err);    
});

// 搜索部门
client.searchOU('cn=Users,dc=yliyun,dc=com').then(function(ous) {
    console.log(ous);
}).catch(function(err) {
    console.error(err);    
});

// 搜索群组
client.searchGroup('cn=Users,dc=yliyun,dc=com').then(function(groups) {
    console.log(groups);
}).catch(function(err) {
    console.error(err);    
});

// 搜索用户
client.searchUser('cn=Users,dc=yliyun,dc=com').then(function(users) {
    console.log(users);
}).catch(function(err) {
    console.error(err);    
});

// 搜索
client.search({
    base: 'dc=yliyun,dc=com',
    scope: 'sub', // 默认为'one'
    paged: 'true', // 默认为true
    filter: '(objectclass=organizationalUnit)'
}).then(function(rows) {
    console.log(rows);
}).catch(function(err) {
    console.error(err);    
});

// 断开连接
client.disconnect();
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].