moov2 / Orchard.ActiveDirectoryAuthorization

Module for Orchard CMS that handles authorization for active directory users.
19 stars 15 forks source link

Question - Issue when following installation steps #8

Closed Tayvius closed 11 years ago

Tayvius commented 11 years ago

I have followed the steps needed for this module and setup a role in orchard (DOMAIN\Group_SuperUser) and installed/enabled the plugin with relevant IIS settings. I seem to keep getting the below error on the server.

Intranet-Error

I do have a few questions,

[1] Does the internal Orchard user have to be added to the role?

[2] Does this work fine with Orchard 1.6?

DannyT commented 11 years ago

Is this from the version on the Orchard Market? If so can you try the version from this repository (clone or download the source from: https://github.com/moov2/Orchard.ActiveDirectoryAuthorization/archive/master.zip). I believe this is an issue which has been fixed but not yet updated in the market as we were waiting to see if any other issues came out before sending out a new release.

Tayvius commented 11 years ago

Yeah that seems to be working fine, is there a way to strip out the "domain\" part of the generated user? Also does this disable the sign in/out change password links on the page or would i have to change that in the layout.cshtml?

DannyT commented 11 years ago

This will disable the sign in/out links but it wont strip the "domain\" part out (so it can be used in a multi-domain environment). You could do this in your theme though for presentation purposes. Alternatively submit a feature request or even implement it and submit a pull request ;)