Initial release
First working version after being forked from node-ldapauth-fork
Added
- New, required, configuration property
domainDn, which points to the
distinguished name of the domain root (e.g.dc=corp,dc=example,dc=com) searchFilterByDNconfiguration property, which defaults to
(&(objectCategory=user)(objectClass=user)(distinguishedName={{dn}}))searchFilterByUPNconfiguration property, which defaults to
(&(objectCategory=user)(objectClass=user)(userPrincipalName={{upn}}))searchFilterBySANconfiguration property, which defaults to
(&(objectCategory=user)(objectClass=user)(samAccountName={{username}}))- Users can now be authenticated both by their user principal name, or UPN,
(user@example.com) and down-level logon name (EXAMPLE\user) - A user's
primaryGroupIDis now used to resolve the primary group object and
prepend it tomemberOfand_groups - Group membership is now fetched recursively and represents all the groups a
user is an effective member of
Removed
searchFilterconfiguration property, which has has been split into
searchFilterByDN,searchFilterByUPN, andsearchFilterBySANcutarelease.pybuild step, in favour of a manual release workflow. This may
be reconsidered at a later time.
Changed
- The authentication process now attempts to bind the user's credentials first.
Subsequent LDAP queries use the client bound to the user's credentials - Groups are now fetched by default instead of on-demand
searchBasenow defaults to the value ofdomainDnand isn't required to be
explicitly setgroupSearchFilternow defaults to
(&(objectCategory=group)(objectClass=group)(member={{dn}}))- Dependency versions now use caret (
^), except forldapjs, which refers to
master, pending a future release