WP as intranet – need to authenticate users
-
Hi,
I’ve been playing with WP on a test machine (windows xp) with a view to building an intranet. I’m running WP 2.7.1 on Apache 2.0, PHP 5 and MySQL 5.1. So far so good and I’ve been building the site content slowly.
One area we need to investigate is how we authenticate our users. Ideally, this would be done automatically in the background when they visit the intranet site, rather than typing a username/password. The idea is to have the homepage say “Welcome John” or whoever it is that visits the page. Also we would like a page where they can view reports and document relevant only to them.
As we have Active Directory it makes sense to use LDAP to authenticate the users. My question is how is this done?
I’ve found the plugin called http-authentication but this relies on the mod_auth_ldap Apache module being loaded. When I look at the httpd.conf file I don’t see it listed in the “LoadModule” section (with or without a “#”), but the modeule does appear in the program folder, under \Apache Group\Apache2\Modules. In fact “mod_auth.ldap.so” and “util_ldap.so” both appear in this folder.
If this module needs to be loaded then what line do I need to add to my httpd.conf file?
Once I’ve got this loaded I guess my next step is to test and make sure I get a authentication prompt when I visit the site. Provided I can authenticate successfully I would then like WP to create user accounts automatically if a new user visits the site. I presume this is possible with either the “Simple LDAP Login” or “wpDirAuth” plugins?
With unique user names in WP we can use another plugin to secure access to the various reports we want made available to individual users. (Or is there a better way of doing it?)
Has anyone accomplished this already for their intranet? Any tips, experience, help is greatly appreciated. I’m a complete novice, and started using WP, php and Apache for the first time 3 days ago!
Many thanks
Mike.
- The topic ‘WP as intranet – need to authenticate users’ is closed to new replies.