• Hello,

    I’ve been using wordpress for a couple years but have never been asked to implement a single sign-on between Active Directory users and WordPress in an intranet and need help or direction.

    So here’s what I’ve been asked to achieve….rather than having users manually login to their new wordpress intranet site with their AD credentials after already login into Windows succesfully, they would like the website to recognize they’ve successfully logged in via AD and therefore authenticate them into the website automatically. This way users won’t have to login twice with the same credentials.

    Our environment is listed below:

    1. User credentials are in a Windows Server 2003 Active Directory
    2. Instranet site resides on an Ubuntu Server from the same network

    I am currently using Simple LDAP Login plugin to have users login with their AD credentials and it’s working fine but they’d rather have the website automatically detect the user already logged in.

    I’ve also done a lot of research online regarding this subject but they’re so many ways to do it that I’m not sure which way to go. I’d appreciate any help or direction, please.

    Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello, Did you find an answer to your question? I’m looking for the same solution for the intranet at my company.

    I also need this exact thing, could you tell me what you did?

    Thanks

    I also need this exact thing, could you tell me what you did?

    Thanks

    Thread Starter pixelerium

    (@pixelerium)

    Hey guys. Sorry for the late response. Unfortunately I did not find an answer. The organization decided to keep a seperate password so I stopped searching.

    However, while I was searching I found a plug-in that allowed WP users to signin using their AD credentials, but did not work as a single sign-on tho. If you’d be interested let me know and I’ll give you the name of the plug-in.

    woleium

    (@woleium)

    Hi pixelerium.

    I’d be really interested in finding a solution. Which plugin did you use?

    I’ve been looking for the same. Some real complicated solutions are avaialble, but no such thing as a simple plugin.

    I assume it’s quite significant what server WP is running on. Mine is internally running on Windows Server 2008 (SP2). I actually think it might even be possible to take of it on the server, but hell do I know.

    This did it for me…

    https://css.dzone.com/news/wordpress-auto-sign-iis7-and

    Hope it helps…

    Thank you, Johlin! That’s good idea to use autologin except of manual, I’d like to test it, but will your code work wis IIS-6 ?

    Am-a-zing! It does work! What I did:

    0. enable windows authentication on IIS7 (don’t know about 6)
    1. download the plugin code from the link above
    2. create a folder in your plugins folder in your wordpress installation
    3. paste the plugin in that folder
    4. now login to your wordpress and activate the plugin

    That’s it!!

    I’m assuming WP Super Cache needs to switched off to make this happen immediately (or empty cache). Also assuming that Active Directory Plugin(s) can be removed, since no-one needs to physically login anymore. I’ll test these assumptions some more. And it only works in IE (8+9 tested, you can’t log out anymore! :-)), not in Chrome.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Single Sign-on between AD and WP’ is closed to new replies.