Need assistance with the Active Directory module

Topics: Administration
Mar 13, 2013 at 6:14 PM
Hi all,

I'm trying to implement an intranet site using Orchard and need a little assistance with the AD module.

The new site is running in Windows 7 using IIS 7.5. AD module is installed and turned on. The only authentication mode enabled is "Windows Authentication".

When I visit the site I see my domain\networkID at the bottom. That's great but I can't access the admin area. When I attempt to, I'm challenged by a typical windows authentication pop-up but it won't accept my credentials.

When I change the authentication mode back to anonymous and forms, I gain access as "admin". I added my domain\networkID as a user and even created a role to match. Additionally, I created a role to match an AD group that I'm part of but still no admin access.

It seems that I'm close to getting this working but need help granting my network account access to the admin/dashboard. What can I do to make this happen?

Thanks!

Mark
Coordinator
Mar 13, 2013 at 11:04 PM
Did you try to contact the author of that module?
Developer
Mar 14, 2013 at 9:27 AM
Do you use this one : https://github.com/moov2/Orchard.ActiveDirectoryAuthorization ?

You need to switch back to formsAuthentication (disable module and change web.config), then log with your admin user and grant the Administrator role to the AD user that has been created.
Then reactivate the module and the windows authentication in web.config and your user will be an admin.

You can follow the steps of an other Windows Authentication module : http://orchardwinauth.codeplex.com/documentation