• kristianjohansen

    (@kristianjohansen)


    Hi

    What is the best way to set up a multisite WordPress installation that would:
    – Authenticate user from active directory (I have tried plugins that will do this)
    – Automatically create one account and one blog, the first time they log in
    – Not add all users to the top level blog
    I’m sure this is a common setup but for some reason I can’t find any documentation for this…

    Tnx.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    I see no responses here on this topic — have you found anything out elsewhere. I’m interested in this functionality as well (although our authentication is via soap and our LMS.)

    Cheers,
    Dave

    Thread Starter kristianjohansen

    (@kristianjohansen)

    I have done several things to make it work as we wanted.

    The AD-authentication plugin creates the user, but not a site. Thus registered users are allowed to create new sites. As we wanted to control the URL and only allow users to create 1 site I had to change the code in wp-signup.php and wp-admin/includes/ms.php.

    If you are interested in the details I can post them, but basically my code forces the URL to be host/username. Since the users cannot change this they will get an error message if they try to create another blog. The change in the ms.php is just commenting out the line printing the “create another site”-link.

    Still searching for some documentation related to my setup….

    Cheers,
    Kristian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Authenticate users from AD and create one blog automatically’ is closed to new replies.