I would like users my meteor’s application to use username and psaaport of my company trough LDAP.
Do someone knows how to do please?
I would like users my meteor’s application to use username and psaaport of my company trough LDAP.
Do someone knows how to do please?
Use a pre-made npm package like http://ldapjs.org/
Then create a login form where, upon submit, the server makes an LDAP request and then either create a new user or login an existing user through the existing Meteor methods.
Thank you for your answer. I am working on windows and DOS doesn’t know the command ldapsearch. So how to do please?
No, sorry, you’ll have to use the client API (http://ldapjs.org/client.html) and either use an existing server or create one yourself.
Where to create the client please? I mean in which file i will insert the code:
var ldap = require(‘ldapjs’);
var client = ldap.createClient({
url: ‘ldap://127.0.0.1:1389’
});
Thank you