From 745cfa377c674d9b0de1d336fe1c2de7173d0045 Mon Sep 17 00:00:00 2001 From: SelfDevTV <48333000+SelfDevTV@users.noreply.github.com> Date: Thu, 19 Nov 2020 16:47:57 +0100 Subject: [PATCH] Updated Readme.MD to fix a specific issue This readme change is a quickfix for people that might run into this nasty little bug #84 --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d27a45c..7265df1 100755 --- a/README.md +++ b/README.md @@ -46,7 +46,14 @@ var ActiveDirectory = require('activedirectory2'); var config = { url: 'ldap://dc.domain.com', baseDN: 'dc=domain,dc=com', username: 'username@domain.com', - password: 'password' } + password: 'password', + attributes: { + user: [ + // your preferred attributes, + "dn"], + group: [ + // your preferred attributes, + "dn"]} var ad = new ActiveDirectory(config); ```