Hi Mike,
performing a check on my DNN 4.7 and 4.8 hosts, where I installed the beta provider, I find a couple of DLL in the bin directory I'm not sure of: is it correct to have DotNetNuke.Authentication.ADSI.dll and DotNetNuke.Authentication.ADSIProvider.dll in the bin, and DotNetNuke.Authentication.ActiveDirectory.dll and Interop.ActiveDs.dll under bin\Providers ?
I'm trying to add some eventlog write in the DLL, so to "see" what's happening (cannot debug with Visual Studio Express), but never see any of my modifications running, so that I'm wondering whether some other DLL is getting loaded instead!
For example I put the following code in function WindowsAuthorization (login.ascx.vb) or AuthenticationLogon (authenticationcontroller.vb):
Dim _portalSettings As PortalSettings = Common.GetPortalSettings
Dim log As New DotNetNuke.Services.Log.EventLog.EventLogController
log.AddLog("WindowsAuthorization", loginStatus.ToString, _portalSettings, -1, Services.Log.EventLog.EventLogController.EventLogType.ADMIN)
but I never can see any eventlog entry with my data.
Also, in my web.config, I have:
under httpmodules:
<add name="Authentication" type="DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule, DotNetNuke.Authentication.ActiveDirectory" />
then:
<authentication defaultProvider="ADSIAuthenticationProvider">
<providers>
<clear />
<add name="ADSIAuthenticationProvider" type="DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider, DotNetNuke.Authentication.ActiveDirectory" providerPath="~\Providers\AuthenticationProviders\ADSIProvider\" />
</providers>
</authentication>
but Providers\AuthenticationProviders directory does not exist - is this the old path?