This is version 1.1 which includes a couple bug fixes.
This script creates users and OUs in Windows AD for the purpose of using Dynamic NT option in MDaemon. Run the script with no parameters to get the syntax and functions. MDaemon must be running as an account with object creation privileges.
This script is to be used in conjunction with WebAdmin. WebAdmin now allows script execution after account events. To enable this, read the release notes and edit your webadmin.ini file. The entry is located in the [Special] section and might look something like:
There are constants and comments in this script that must be edited prior to use. Please read through it!