Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Nov 16, 2011 @ 23:26
    Kevin Jump
    0

    Easy or way to hard

    I am very consious that this isn't an easy to install package .... sorry the problem is both the need to change the web.config (including having an account to logon to Active Directory) and then having to change IIS authentication. 

    i don't think i can do anything about the second one, and I am concerned that writing the settings into the web.config at install is the quickest way to bork the umbraco installation.

    If anyone has any views on how to do this better, or indeed if this whole thing could be done better please comment. 

  • Evan Jardine 108 posts 168 karma points
    Nov 21, 2011 @ 00:01
    Evan Jardine
    0

    Hi Kevin

    The only problem I've struck is getting the "domainPath" in the role provider config correct.  I've tried every combination I've used in the past but just can't nail it.

    I usually setup a connection string in my web.config with the LDAP path similar to; LDAP://domaincontroler/OU=xxx,DC=mydomain,DC=gov,DC=au

    What format should I use for the domainPath in your package?

    Apart from this problem I found your instructions pretty easy to follow and preffered to do it manually rather than have it automated.

    Regards

    Evan

  • Evan Jardine 108 posts 168 karma points
    Nov 21, 2011 @ 05:22
    Evan Jardine
    0

    Hi Kevin

    After a bit of fiddling around and looking at the source code I've sorted out my problem.

    In the ADRoleProvider class (line 99) it is looking for "domain" configuration option and the example in the documentation has "domainPath".  So I changed the role provider config and it all started to work.

    Cheers

    Evan

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Nov 21, 2011 @ 10:45
    Kevin Jump
    0

    yeah, someone else spotted that, I've updated the documentation. and I'm going to look at the Post Installer Actions so that the provider is added to the web config, but not set as default.

    Glad you got it working, would be intrested to know how it goes. 

     

  • Mike Royle 38 posts 99 karma points
    Jan 16, 2013 @ 16:57
    Mike Royle
    0

    Kevin (or anyone else), can you confirm what the correct format was for the "domain" config setting?

    Thanks!

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Feb 06, 2013 @ 20:25
    Kevin Jump
    0

    Mike, on our setup the domain is the netbios name (so domain not domain.dns.name.com) 

Please Sign in or register to post replies

Write your reply to:

Draft