ldaplooksee

1.0.7 • Public • Published

LDAP Look-See

NPM Version

Command Line LDAP Search

Search LDAP from command-line

Installation

$ npm install -g ldaplooksee

Usage

Interactive Lookups

ldaplooksee will prompt you for your ldap configuration.

$ ldaplooksee

[?] LDAP url?
> ldaps://ldap.example.org

[?] Base?
> dc=users,dc=localhost

[?] Username or DN?
> root

[?] Password?
> ******

[?] ldap search (e.g. `uid=artvandelay`)
> uid=artvandelay

[1/1]
dn: 'uid=artvandelay, dc=users, dc=localhost'
idNumber: 1234567
uid: 'artvandelay'
givenName: 'Art'
sn: 'Vandelay'
telephoneNumber: '555-123-4567'

Quick search

Quick lookup, pass in uid as a command line argument

$ ldaplooksee artvandelay

[1/1]
dn: 'uid=artvandelay, dc=users, dc=localhost'
idNumber: 1234567
uid: 'artvandelay'
givenName: 'Art'
sn: 'Vandelay'
telephoneNumber: '555-123-4567'

Reset Config

$ ldaplooksee --reset

Related

License

MIT © James Johnson

Package Sidebar

Install

npm i ldaplooksee

Weekly Downloads

0

Version

1.0.7

License

MIT

Unpacked Size

5.4 kB

Total Files

5

Last publish

Collaborators

  • jxjj