You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try it, it only allows login by the first critera, in this case, sAMAccountName. I narrowed the bug down to ldapauth.js line 118 - just needs to be a global search and replace:
var searchFilter = self.opts.searchFilter.replace(/{{username}}/g, username);
The text was updated successfully, but these errors were encountered:
vesse
added a commit
to vesse/node-ldapauth-fork
that referenced
this issue
Aug 21, 2013
I want to do a login search filter by multiple fields, like this:
'(|(sAMAccountName={{username}})(mail={{username}}))'
When I try it, it only allows login by the first critera, in this case, sAMAccountName. I narrowed the bug down to ldapauth.js line 118 - just needs to be a global search and replace:
var searchFilter = self.opts.searchFilter.replace(/{{username}}/g, username);
The text was updated successfully, but these errors were encountered: