I am creating a WordPress Network multisite blog in a university environment. It's set up in subdirectory mode, so that each new blog appears as a subdirectory off a common domain name.
The Network authenticates against our corporate Active Directory using LDAP. Only Active Directory users may sign in.
The first time a user signs in, our Active Directory plugin creates a WordPress account that corresponds to that user's Active Directory account. Each subsequent sign in, that account's properties are updated with the Active Directory account information.
We expect to have hundreds, possibly thousands of blogs in the system. In the interest of reducing administrator time, I want this to be automated, either:
- From time to time, we run a script that checks the WordPress network against our Active Directory and automatically creates or deletes blogs depending on whether the blog's name corresponds to an account in the Active Directory.
- Users may self-register for their own blog, and the blog's URL is based off an attribute of their account that will be imported from the Active Directory.
So far, my searches are not revealing canned ways of doing this.
Are there existing modules that can help? Or am I looking at something custom?