Socket
Socket
Sign inDemoInstall

ldapauth-fork

Package Overview
Dependencies
19
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous12356Next

2.4.0

Diff

Changelog

Source

2.4.0

  • Update ldapjs to 1.0.0 (fixes #25)
vesse
published 2.3.3 •

Changelog

Source

2.3.3

  • [issue #20] Sanitize user input
vesse
published 2.3.2 •

Changelog

Source

2.3.2

  • [issue #19] Added messages to options asserts
vesse
published 2.3.1 •

Changelog

Source

2.3.1

  • [issue #14] Use bcryptjs instead of the C++ version.
vesse
published 2.3.0 •

Changelog

Source

2.3.0

  • [passport-ldapauth issue #10] Added support for fetching user groups. If groupSearchBase and groupSearchFilter are defined, a group search is conducted after the user has succesfully authenticated. The found groups are stored to user._groups:
new LdapAuth({
  url: 'ldaps://ldap.example.com:636',
  adminDn: 'cn=LdapAdmin,dc=local',
  adminPassword: 'LdapAdminPassword',
  searchBase: 'dc=users,dc=local',
  searchFilter: '(&(objectClass=person)(sAMAccountName={{username}}))',
  searchAttributes: ['dn', 'cn', 'givenName', 'name', 'memberOf', 'sAMAccountName'],
  groupSearchBase: 'dc=groups,dc=local',
  groupSearchFilter: '(member={{dn}})',
  groupSearchAttributes: ['dn', 'cn', 'sAMAccountName'],
});
vesse
published 2.2.19 •

Changelog

Source

2.2.19

  • [issue #9] Configurable bind parameter. Thanks to @oanuna
vesse
published 2.2.18 •

Changelog

Source

2.2.18

  • [issue #8] Fix options to actually work as documented
vesse
published 2.2.17 •

Changelog

Source

2.2.17

  • Added bindCredentials option. Now defaulting to same names as ldapjs.
vesse
published 2.2.16 •

Changelog

Source

2.2.16

  • Added option includeRaw for including entry.raw to the returned object (relates to ldapjs issue #238)
vesse
published 2.2.15 •

Changelog

Source

2.2.15

  • [issue #5] Handle missing bcrypt and throw a explanatory exception instead
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