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

Support "follow-referral" mode #88

Open
zabhi opened this issue Jul 30, 2020 · 1 comment
Open

Support "follow-referral" mode #88

zabhi opened this issue Jul 30, 2020 · 1 comment

Comments

@zabhi
Copy link

zabhi commented Jul 30, 2020

I am using this module via passport-ldap. The directory I am working with is setup with referrals to a second LDAP server.
The library is unable to chase the referrals to the target server.

Is this the expected? Can I do something to make it follow the referrals?

@vesse
Copy link
Owner

vesse commented Jul 30, 2020

Yes, expected in a sense that it is not implemented. The underlying ldapjs library handles all LDAP related things really, and it does not follow referrals automatically. Quick search revealed that it should return the referrals so implementing chasing should be possible. node-activedirectory has this implemented in this commit which should give some insight how it could be implemented.

Unfortunately I find it unlikely that I'd have time to do this any time soon, especially when I don't have access to a setup like yours. PR would of course be very welcome.

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

2 participants