I really appreciate the effort put in to a library like this, fantastic work.<p>However I would strongly warn anyone considering using it to do massive amounts of testing in their real production network. Implementing against the current version is easy, but lets remember: this is a protocol old enough to buy cigarettes. It not only changes in behavior between versions, it also has edge cases where things behave differently when the version you are running is an upgrade. Or an upgrade in progress. Or part of a forest that also has... etc.
I'm pretty sure Microsoft had this 15 years ago. AD is accessible through COM. Anything that's accessible through COM is scriptable in JS and VBScript (if it still exists, it's been a while).
<a href="https://gist.github.com/Summertime/95cc7bec49d3948ce2f76ded0233dde4" rel="nofollow">https://gist.github.com/Summertime/95cc7bec49d3948ce2f76ded0...</a> An attempt to transcribe the examples to powershell cmdlets, in case anyone was wondering how much it differs to the tools pre-existing for the task<p>- - -<p>I have to say, other than setup and lack of permission handling the js lib has, I would find myself preferring it
I am not very proficient in javascript so excuse my idiotic questions but how does this work ? Does this need to talk to some low level api or nodejs supports this or ?
Let me get this straight. Passwords, including the password of a domain admin, are hardcoded as plain text in client side JavaScript files. Surely, I must be reading this wrong?