Skip to content

Commit 5f8b7b1

Browse files
authored
Merge pull request #109 from RedShift1/patch-1
Update CHANGES.md for version 6
2 parents 26233ee + 210efe1 commit 5f8b7b1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

CHANGES.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
# node-ldapauth-fork Changelog
2+
## 6.0.0
3+
4+
- ldapjs library upgraded to version 3
5+
- `includeRaw` has been removed from `clientOptions`. Append `;binary` to the `searchAttributes` option if you need the binary data, for example with objectGUID:
6+
```javascript
7+
new LdapAuth({
8+
searchAttributes: ['dn', 'cn', 'givenName', 'name', 'memberOf', 'sAMAccountName', 'objectGUID;binary'],
9+
});
10+
```
11+
The resulting user object will then have a property `objectGUID;binary` with the base64 encoded value of the `objectGUID` LDAP attribute.
12+
13+
This change was made as a consequence of changes in the underlying ldapjs library, see https://github.com/ldapjs/node-ldapjs/releases/tag/v3.0.0 section Known Breaking Changes.
214

315
## 5.0.3
416

0 commit comments

Comments
 (0)