Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AD Groups not displaying completely #53

Open
CrisIzag opened this issue Mar 27, 2018 · 2 comments
Open

AD Groups not displaying completely #53

CrisIzag opened this issue Mar 27, 2018 · 2 comments

Comments

@CrisIzag
Copy link

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?

@abbr
Copy link
Owner

abbr commented Mar 29, 2018

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.

@suckerp
Copy link

suckerp commented Feb 11, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants