We make a web application for managing windows domain - creating accounts in Active directory, Exchange, managing AD groups, etc. I pursue two goals:

  1. Make the application itself, to simplify the creation of uchetok in all used systems (domain, mail, vpn, erp)
  2. Learn Javascript / Node.js in practice.

Under the MS infrastructure, it is probably more correct to write in C #, but this conflicts with clause 2

Is it possible to use JS for these purposes? What modules to use? What is the topic to read?

  • Ilya hello. Follow the same goal as you. I wanted to look at your developments in this matter, as well as find out which tool for solving this problem you stopped at! Thank you very much in advance. - user221597
  • Hi, this project has not gone beyond the idea and general reflection. - Ilya

1 answer 1

Working with a domain from nodejs is more than real. just yesterday there was such a task using the node-activedirectory library

javascript is just a programming language and you can implement almost anything like other languages. just something will be made easier, but something more difficult.

For nodejs, there are a number of npmjs.com libraries.

  • Saw this module, but as far as I understood it and one more ldapjs are intended for authentication and reading from AD. - Ilya
  • I agree in the node-activedirectory module there are no built-in methods for CRUD not immediately noticed. It was not necessary and how you correctly noticed the ldapjs module exists and the documentation just has a description how to add the ldapjs client . Tried user added :-) - Nikolay Sadomovskiy