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
I have an application running using Node.js and I'm using sspi for authentication. I use the following code:
app.use(function (req, res, next) {
var nodeSSPI = require('node-sspi')
var nodeSSPIObj = new nodeSSPI({
retrieveGroups: true
})
nodeSSPIObj.authenticate(req, res, function(err){
res.finished || next()
})
})
the problem I am having is that the program recognizes the user and the domain, but it does not bring back all of the AD groups that the user is part of. When I first began using the above code, about 2-3 weeks ago, req.connection.userGroups would bring back a complete list of AD groups, but now it seems that it is not picking all of them up. Any ideas or suggestions?
The text was updated successfully, but these errors were encountered:
Large number of AD groups may cause performance issue but I am not aware of incomplete group list issue. If your AD is large, check out suggestions in #23 for more efficient way to filter groups.
I know for a fact that the user I use is part of a certain group but it's not shown in the 203 entries I get back from retrieveGroups which is especially bad since it's one of the two groups I need to certify a user.
Node-activedirectory has been dormant for 3 years now so i'm not sure how well it will work with Windows Server 2016 and it has a lot of open issues.
I have an application running using Node.js and I'm using sspi for authentication. I use the following code:
app.use(function (req, res, next) {
var nodeSSPI = require('node-sspi')
var nodeSSPIObj = new nodeSSPI({
retrieveGroups: true
})
nodeSSPIObj.authenticate(req, res, function(err){
res.finished || next()
})
})
the problem I am having is that the program recognizes the user and the domain, but it does not bring back all of the AD groups that the user is part of. When I first began using the above code, about 2-3 weeks ago, req.connection.userGroups would bring back a complete list of AD groups, but now it seems that it is not picking all of them up. Any ideas or suggestions?
The text was updated successfully, but these errors were encountered: