I just installed Revolution 2.02-pl on Windows 2008 R2/MySQL 5.0.50/PHP 5.2.14. Things look great so far. I installed the modActiveDirectory using Package Management. I manually added a group into MODx that exists in our Active Directory. I also manually added an Active Directory user into MODx that belongs to this group. Based on the standard default settings for modActiveDirectory, I am expecting this MODx user to be linked to the MODx group as they are linked in AD. This funtionality is described in the modActiveDirectory documentation as follows:
"modActiveDirectory will automatically grab all the ActiveDirectory groups a user belongs to, and then search for any MODx UserGroups with matching names. If found, the user will be added to those groups."
How do I trigger this event? Or does it happen automatically at specified intervals? Is there a way to validate that MODx can see the Active Directory?
Thanks.
The package appears to install correctly with the following console output:
Console running...
Attempting to install package with signature: activedirectory-1.0.0-rc1
Package found...now preparing to install.
Grabbing package workspace...
Workspace environment initiated, now installing package...
Successfully installed package activedirectory-1.0.0-rc1
However, when uninstalling I get the following console output. notice the missing objects in blue.
Console running...
Finding package with signature: activedirectory-1.0.0-rc1
Package found. Preparing to uninstall.
Removed modPluginEvent instance with primary key Array ( [0] => 8 [1] => OnManagerAuthentication )
Removed modPluginEvent instance with primary key Array ( [0] => 8 [1] => OnUserNotFound )
Removed modPluginEvent instance with primary key Array ( [0] => 8 [1] => OnWebAuthentication )
Removed modPlugin instance with primary key 8
Skipping modPluginEvent object (data object does not exist and cannot be removed): Array ( [pluginid] => 0 [event] => OnManagerAuthentication )
Skipping modPluginEvent object (data object does not exist and cannot be removed): Array ( [pluginid] => 0 [event] => OnWebAuthentication )
Skipping modPluginEvent object (data object does not exist and cannot be removed): Array ( [pluginid] => 0 [event] => OnUserNotFound )
Removing files in file resolver: C:/inetpub/wwwroot/assets/components/activedirectory
Removing files in file resolver: C:\inetpub\wwwroot/core/components/activedirectory
Removed modSystemSetting instance with primary key activedirectory.use_tls
Removed modSystemSetting instance with primary key activedirectory.account_suffix
Removed modSystemSetting instance with primary key activedirectory.autoadd_adgroups
Removed modSystemSetting instance with primary key activedirectory.autoadd_usergroups
Removed modSystemSetting instance with primary key activedirectory.base_dn
Removed modSystemSetting instance with primary key activedirectory.domain_controllers
Removed modSystemSetting instance with primary key activedirectory.real_primarygroup
Removed modSystemSetting instance with primary key activedirectory.recursive_groups
Removed modSystemSetting instance with primary key activedirectory.use_ssl
Removed modNamespace instance with primary key activedirectory
Package successfully uninstalled with signature: activedirectory-1.0.0-rc1