ldap-authentication 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +7 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -89,7 +89,12 @@ async function _searchUser(
|
|
|
89
89
|
user = entry.object
|
|
90
90
|
})
|
|
91
91
|
res.on('searchReference', function (referral) {
|
|
92
|
-
|
|
92
|
+
// TODO: we don't support reference yet
|
|
93
|
+
// If the server was able to locate the entry referred to by the baseObject
|
|
94
|
+
// but could not search one or more non-local entries,
|
|
95
|
+
// the server may return one or more SearchResultReference messages,
|
|
96
|
+
// each containing a reference to another set of servers for continuing the operation.
|
|
97
|
+
// referral.uris
|
|
93
98
|
})
|
|
94
99
|
res.on('error', function (err) {
|
|
95
100
|
reject(err)
|
|
@@ -133,9 +138,7 @@ async function _searchUserGroups(
|
|
|
133
138
|
res.on('searchEntry', function (entry) {
|
|
134
139
|
groups.push(entry.object)
|
|
135
140
|
})
|
|
136
|
-
res.on('searchReference', function (referral) {
|
|
137
|
-
console.log('referral: ' + referral.uris.join())
|
|
138
|
-
})
|
|
141
|
+
res.on('searchReference', function (referral) {})
|
|
139
142
|
res.on('error', function (err) {
|
|
140
143
|
reject(err)
|
|
141
144
|
ldapClient.unbind()
|