Open waglik opened 6 years ago
I've just pushed an update that ignores the LDAP settings. This isn't a fix that allows logging in with LDAP, but it at least prevents throwing due to the missing method call.
Here's what need to happen to resolve this.
ROCKETCHAT_AUTH=ldap
Would love to do more but my afternoon got chewed up by other bugs thrown from core changes.
@joserenan - can you consider this in your DDP updates. Does your replacement do anything to allow logging in with LDAP?
Update on this issue. The "TypeError" is resolved because the LDAP login logic has been removed for now (it never would have worked anyway).
I tried setting up a local LDAP server with ldapjs, to be used by unit tests attempting to pass whatever attributes are required in the ddp login method for ldap.
Unfortunately I don't know enough about the LDAP login requirements to either A) setup the LDAP server appropriately, B) configure Rocket.Chat to work with it, or C) define the methods to use it in the SDK.
If anyone actually implementing LDAP can find out some or all of those answers, please comment.
Hi. Is there an update on this? Any chance it will work in the future?
Hi
When I try to log in with ldap flag set to true app crashes :
fails with error message :
(node:7576) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: exports.asteroid.loginWithLDAP is not a function